Skip to content

Commit

Permalink
Remove readAtNativeFps option
Browse files Browse the repository at this point in the history
  • Loading branch information
dank074 committed Oct 30, 2024
1 parent df9fcba commit 610af49
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
6 changes: 0 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,12 +132,6 @@ hardwareAcceleratedDecoding?: boolean;
* Output video codec. **Only** supports H264, H265, and VP8 currently
*/
videoCodec?: SupportedVideoCodec;
/**
* Ffmpeg will read frames at native framerate. Disabling this make ffmpeg read frames as
* fast as possible and `setTimeout` will be used to control output fps instead. Enabling this
* can result in certain streams having video/audio out of sync (see https://github.com/dank074/Discord-video-stream/issues/52)
*/
readAtNativeFps?: boolean;
/**
* Enables sending RTCP sender reports. Helps the receiver synchronize the audio/video frames, except in some weird
* cases which is why you can disable it
Expand Down
7 changes: 0 additions & 7 deletions src/client/voice/BaseMediaConnection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,6 @@ export interface StreamOptions {
* Output video codec. **Only** supports H264, H265, and VP8 currently
*/
videoCodec: SupportedVideoCodec;
/**
* Ffmpeg will read frames at native framerate. Disabling this make ffmpeg read frames as
* fast as possible and `setTimeout` will be used to control output fps instead. Enabling this
* can result in certain streams having video/audio out of sync (see https://github.com/dank074/Discord-video-stream/issues/52)
*/
readAtNativeFps: boolean;
/**
* Enables sending RTCP sender reports. Helps the receiver synchronize the audio/video frames, except in some weird
* cases which is why you can disable it
Expand Down Expand Up @@ -76,7 +70,6 @@ const defaultStreamOptions: StreamOptions = {
maxBitrateKbps: 2500,
hardwareAcceleratedDecoding: false,
videoCodec: 'H264',
readAtNativeFps: true,
rtcpSenderReportEnabled: true,
h26xPreset: 'ultrafast',
minimizeLatency: true,
Expand Down

0 comments on commit 610af49

Please sign in to comment.