ossrs / srs

SRS is a simple, high-efficiency, real-time media server supporting RTMP, WebRTC, HLS, HTTP-FLV, HTTP-TS, SRT, MPEG-DASH, and GB28181.
https://ossrs.io
MIT License
25.43k stars 5.35k forks source link

Fix hevc test failures #4087

Closed suzp1984 closed 3 months ago

suzp1984 commented 3 months ago

Try to fix two blackbox test:

  1. TestSlow_SrtPublish_HttpTsPlay_HEVC_Basic: fixed by enlarge the wait time from 3 seconds to 4 before run ffprobe task, which will record the stream by ffmpeg first. 2 TestSlow_SrtPublish_HlsPlay_HEVC_Basic: fixed by wait 16 seconds before run ffprobe task. About the 2 case: it seems ridiculous to add 16 seconds delay before run ffprobe task.

So, I start #4088 to check the github action workflow process, I start this branch from a very earlier version 6.0.113 (srs/core/srs_core_version6.hpp), what I found it that, inside SRS blackbox-test, the srs version 6.0.128, the latest version, was printed. That's really wired.

I confirmed this is not the SRS source code's problem, check https://github.com/suzp1984/srs/actions/runs/9511600525/job/26218025559 the srs code 6.0.113 was checkout and running actions based on them, still met same problem.