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

DASH: Fix time unit error for disposing. v6.0.138 #4111

Merged
merged 2 commits into from
Jul 13, 2024

Conversation

suzp1984
Copy link
Contributor

@suzp1984 suzp1984 commented Jul 10, 2024

Cause

dash auto dispose is configured by seconds, but the code compare by usecond, 1 second = 1,000,000 useconds.

releated to #4097
Bug introduced after #4097 supported Dash auto dispose after a timeout without media data.

How to reproduce

  1. ./objs/srs -c conf/dash.conf
  2. publish a rtmp stream.
  3. play dash stream. -> no dash stream, always 404 error.

@winlinvip winlinvip added the EnglishNative This issue is conveyed exclusively in English. label Jul 10, 2024
@suzp1984 suzp1984 requested a review from winlinvip July 10, 2024 05:47
@suzp1984 suzp1984 changed the title fix dash publish error fix dash dispose error Jul 10, 2024
Cause: dash auto dispose is configured by seconds, but the code compare
by usecond, 1 second = 1,000,000 useconds
@winlinvip winlinvip changed the title fix dash dispose error DASH: Fix time unit error for disposing. Jul 13, 2024
@winlinvip winlinvip changed the title DASH: Fix time unit error for disposing. DASH: Fix time unit error for disposing. v6.0.138 Jul 13, 2024
@winlinvip winlinvip added the RefinedByAI Refined by AI/GPT. label Jul 13, 2024
@winlinvip winlinvip merged commit d220bf2 into ossrs:develop Jul 13, 2024
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