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

Version 6.0-a1 frequently encounters an issue where, after successfully pushing video streams multiple times, the player experiences problems with SRS not pushing the video stream when playing HTTP-FLV content. #4268

Open
junfengwu0 opened this issue Dec 31, 2024 · 0 comments
Labels
TransByAI Translated by AI/GPT.

Comments

@junfengwu0
Copy link

junfengwu0 commented Dec 31, 2024

!!! Before submitting a new bug report, please ensure you have searched for any existing bugs. Duplicate issues or
questions that are overly simple or already addressed in the documentation will be removed without any
response.

Describe the bug
After frequently pushing videos successfully, it often happens that when the player plays the HTTP-FLV stream, SRS does not push the video stream.

Version
6.0-a1

To Reproduce
Frequent pushing of video streams, video publish successful, HLS video can be opened.

Expected behavior
However, the HTTP-FLV video cannot be opened.

Screenshots
image

Additional context
After examining the SRS logs, as shown in the image above, it was discovered that the stream was abnormally terminated before the publish hook callback succeeded. This resulted in the HTTP-FLV connection showing active=0. By modifying the SrsLiveSource::stream_is_dead function in the srs_app_source.cpp file to return failure when stream_die_at_ == 0, the aforementioned anomaly was not reproduced.

TRANS_BY_GPT4

@winlinvip winlinvip changed the title 6.0-a1版本 在频繁推送视频成功后,经常出现播放器播放http-flv的流时srs不推送视频流 Version 6.0-a1 frequently encounters an issue where, after successfully pushing video streams multiple times, the player experiences problems with SRS not pushing the video stream when playing HTTP-FLV content. Dec 31, 2024
@winlinvip winlinvip added the TransByAI Translated by AI/GPT. label Dec 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
TransByAI Translated by AI/GPT.
Projects
None yet
Development

No branches or pull requests

2 participants