Closed lin557 closed 7 months ago
vhost __defaultVhost__ {
http_remux {
enabled on;
mount [vhost]/[app]/[stream].flv;
drop_if_not_match off;
has_audio on;
has_video on;
guess_has_av off;
}
}
Why was it shut down? Has the problem been resolved?
TRANS_BY_GPT4
Description
After updating from srsv4.0-r1 to srsv6.0-d0, there is occasionally a black screen issue when the web client requests to play http-flv first and then starts streaming. This issue occurs with both flv.js and mpegts.js. The mpegts.js log shows that the black screen occurs because the AVCDecoderConfigurationRecord is not received, only the audio stream. When the web client closes the player and requests http-flv again, it can play normally.
After testing, none of the following versions will have any issues.
v4.0-r1 v4.0.r4 v4.0-r5 v5.0.157 v5.0.89 v5.0.21
Replay
Please describe how to replay the bug?
Step 1: Request http-flv first.
Step 2: Start pushing the stream.
Occasional phenomenon, probability less than 2%.
When testing different versions using the above process, a black screen playback issue occurs.
注:如果先rtmp推流,后再请求http-flv,不会出现上面的问题
Expect
Please describe your expectation.
TRANS_BY_GPT3