Skip to content

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
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.

2 participants