ossrs / srs

SRS is a simple, high-efficiency, real-time video server supporting RTMP, WebRTC, HLS, HTTP-FLV, SRT, MPEG-DASH, and GB28181.
https://ossrs.io
MIT License
24.75k stars 5.28k forks source link

Fix opus delay options, use ffmpeg-opus in docker test. v6.0.102 #3883

Closed xiaozhihong closed 7 months ago

xiaozhihong commented 7 months ago

The ffmpeg-opus tool allows you to control the delay using the opus_delay option. The minimum delay can be set to 2.5ms. However, in practice, you cannot set it this low. You need to set at least 10 frames to allow the audio encoder to lookahead. Otherwise, the sound will be distorted.

TRANS_BY_GPT4


Co-authored-by: chundonglinlin chundonglinlin@163.com