Skip to content

Commit

Permalink
fix(lib): remove sample rate that are not supported by FLV
Browse files Browse the repository at this point in the history
  • Loading branch information
ThibaultBee committed Dec 21, 2023
1 parent 06f6fc9 commit c9837bb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/NativeApiVideoLiveStreamView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export interface NativeLiveStreamProps extends ViewProps {
isMuted: boolean;
audio: {
bitrate: Int32;
sampleRate?: WithDefault<8000 | 16000 | 32000 | 44100 | 48000, 44100>;
sampleRate?: WithDefault<5500 | 11025 | 22050 | 44100, 44100>;
isStereo: boolean;
};
zoomRatio: Float;
Expand Down
2 changes: 1 addition & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ type ApiVideoLiveStreamProps = {
isMuted?: boolean;
audio?: {
bitrate?: number;
sampleRate?: 8000 | 16000 | 32000 | 44100 | 48000;
sampleRate?: 5500 | 11025 | 22050 | 44100;
isStereo?: boolean;
};
zoomRatio?: number;
Expand Down

0 comments on commit c9837bb

Please sign in to comment.