diff --git a/README.md b/README.md index 786ee7b..d11807f 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/src/client/voice/BaseMediaConnection.ts b/src/client/voice/BaseMediaConnection.ts index 3a8767a..fb1b963 100644 --- a/src/client/voice/BaseMediaConnection.ts +++ b/src/client/voice/BaseMediaConnection.ts @@ -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 @@ -76,7 +70,6 @@ const defaultStreamOptions: StreamOptions = { maxBitrateKbps: 2500, hardwareAcceleratedDecoding: false, videoCodec: 'H264', - readAtNativeFps: true, rtcpSenderReportEnabled: true, h26xPreset: 'ultrafast', minimizeLatency: true,