Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the test fail when enable ffmpeg-opus. v6.0.100 #3868

Merged
merged 143 commits into from Nov 16, 2023

Conversation

xiaozhihong
Copy link
Collaborator

@xiaozhihong xiaozhihong commented Nov 8, 2023

  1. After enabling FFmpeg opus, the transcoding time for each opus packet is around 4ms.
  2. To speed up case execution, our test publisher sends 400 opus packets at intervals of 1ms.
  3. After the publisher starts, wait for 30ms, then the player starts.
  4. Due to the lengthy processing time for each opus packet, SRS continuously receives packets from the publisher, so it doesn't switch coroutines and can't accept the player's connection.
  5. Only after all opus packets are processed will it accept the player connection. Therefore, the player doesn't receive any data, leading to the failure of the case.

@winlinvip winlinvip added the EnglishNative This issue is conveyed exclusively in English. label Nov 8, 2023
@winlinvip winlinvip changed the title Default enable ffmpeg opus, disable build cache Fix the test fail when enable ffmpeg-opus. Nov 16, 2023
@winlinvip winlinvip changed the title Fix the test fail when enable ffmpeg-opus. Fix the test fail when enable ffmpeg-opus. v6.0.100 Nov 16, 2023
@winlinvip winlinvip added the RefinedByAI Refined by AI/GPT. label Nov 16, 2023
@winlinvip winlinvip merged commit 24235d8 into ossrs:develop Nov 16, 2023
17 checks passed
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants