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
Labels
TransByAI
Translated by AI/GPT.
!!! 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
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 thesrs_app_source.cpp
file to return failure whenstream_die_at_ == 0
, the aforementioned anomaly was not reproduced.TRANS_BY_GPT4
The text was updated successfully, but these errors were encountered: