Skip to content

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

Merged
winlinvip merged 6 commits intoossrs:developfrom
xiaozhihong:bugfix/opus-otion
Nov 22, 2023
Merged

Fix opus delay options, use ffmpeg-opus in docker test. v6.0.102#3883
winlinvip merged 6 commits intoossrs:developfrom
xiaozhihong:bugfix/opus-otion

Conversation

@xiaozhihong
Copy link
Copy Markdown
Collaborator

@xiaozhihong xiaozhihong commented Nov 17, 2023

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

@winlinvip winlinvip added the EnglishNative This issue is conveyed exclusively in English. label Nov 17, 2023
@winlinvip winlinvip changed the title Fix opus delay options, use ffmpeg-opus in docker test Fix opus delay options, use ffmpeg-opus in docker test. v6.0.102 Nov 22, 2023
@winlinvip winlinvip added the RefinedByAI Refined by AI/GPT. label Nov 22, 2023
@winlinvip winlinvip merged commit 3e463a8 into ossrs:develop Nov 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

EnglishNative This issue is conveyed exclusively in English. RefinedByAI Refined by AI/GPT.

Development

Successfully merging this pull request may close these issues.

3 participants