You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please ensure that the markdown structure is maintained.
Please describe the issue you encountered here.
'
Make sure to maintain the markdown structure.
SRS version: 4.0.84
The SRS log is as follows:
This part did not exit due to timeout.
if ((err = io->read(body, 4096, NULL)) != srs_success) {
// Because we use timeout to check trd state, so we should ignore any timeout.
if (srs_error_code(err) == ERROR_SOCKET_TIMEOUT) {
srs_freep(err);
continue;
}
return srs_error_wrap(err, "read response");
}
The SRS configuration is as follows:
(Config)
srs.conf
Replay
1. Do not start streaming and click to play http://127.0.0.1:8080/live/livestream.flv
2. Click 10 times continuously.
3. Many pending http-flv will appear.
4. Start streaming.
5. The first 5 pending ones will change to streaming status, while the remaining 5 will remain pending.
6. The player keeps spinning.
Expected Behavior (Expect)
Continuous clicking should cancel the previous multiple pending http-flv or timeout.
Cancel the previous 9 pending http-flv and only stream to the last http-flv.
TRANS_BY_GPT3
The text was updated successfully, but these errors were encountered:
winlinvip
changed the title
http-flv 如果没推流,播放器会一直等待,播放器连续启达多个播放,会多个等待
http-flv If there is no streaming, the player will keep waiting. If the player starts multiple plays continuously, there will be multiple waits.
Jul 28, 2023
Description'
Please ensure that the markdown structure is maintained.
SRS version:
4.0.84
The SRS log is as follows:
This part did not exit due to timeout.
if ((err = io->read(body, 4096, NULL)) != srs_success) {
// Because we use timeout to check trd state, so we should ignore any timeout.
if (srs_error_code(err) == ERROR_SOCKET_TIMEOUT) {
srs_freep(err);
continue;
}
The SRS configuration is as follows:
(Config)
srs.conf
Replay
1. Do not start streaming and click to play http://127.0.0.1:8080/live/livestream.flv
2. Click 10 times continuously.
3. Many pending http-flv will appear.
4. Start streaming.
5. The first 5 pending ones will change to streaming status, while the remaining 5 will remain pending.
6. The player keeps spinning.
Expected Behavior (Expect)
TRANS_BY_GPT3
The text was updated successfully, but these errors were encountered: