srs icon indicating copy to clipboard operation
srs copied to clipboard

HTTP-FLV:播放无流的流,没有超时或404

Open yanyongshan opened this issue 3 years ago • 1 comments
trafficstars

HTTP-FLV: 播放无流的流,没有超时或404

1.如果origin找不到流时,直接404处理 2.如果origin可以找到流,但消费者15秒没有消费到数据时,http-flv返回流结束 3.对于edge,由于找不到流后会回源到origin,这里添加回源重试次数限制(默认不限制),由于origin支持多个备份源站,因此重试次数限制是指将所有源站都重试一轮的次数 4.修改了备份源间重试的等待时间改为0,每一轮重试间隔用原来的3s,保证备份源快速查找

yanyongshan avatar Apr 24 '22 03:04 yanyongshan

Codecov Report

Merging #3017 (ad7481f) into develop (e8240d6) will decrease coverage by 0.04%. The diff coverage is 0.00%.

@@             Coverage Diff             @@
##           develop    #3017      +/-   ##
===========================================
- Coverage    56.10%   56.05%   -0.05%     
===========================================
  Files          153      153              
  Lines        57561    57611      +50     
===========================================
  Hits         32294    32294              
- Misses       25267    25317      +50     

| Impacted Files | Coverage Δ | |'

Translated to English while maintaining the markdown structure:

'| Impacted Files | Coverage Δ | | |---|---|---| | trunk/src/app/srs_app_config.cpp | 65.07% <0.00%> (-0.48%) | :arrow_down: | | trunk/src/app/srs_app_config.hpp | 100.00% <ø> (ø) | | | trunk/src/app/srs_app_edge.cpp | 0.00% <0.00%> (ø) | | | trunk/src/app/srs_app_http_stream.cpp | 0.00% <0.00%> (ø) | |

'

Translated to English while maintaining the markdown structure:

'| trunk/src/app/srs_app_config.hpp | 100.00% <ø> (ø) | | | trunk/src/app/srs_app_edge.cpp | 0.00% <0.00%> (ø) | | | trunk/src/app/srs_app_http_stream.cpp | 0.00% <0.00%> (ø) | |


Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data'

Translated to English while maintaining the markdown structure:

'> Δ = absolute <relative> (impact), ø = not affected, ? = missing data

Powered by Codecov. Last update e8240d6...ad7481f. Read the comment docs.

TRANS_BY_GPT3

codecov-commenter avatar Apr 24 '22 04:04 codecov-commenter