ossrs / srs

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

When a timestamp issue occurs in the data stream, it causes a stall. Can this be addressed? #3984

Open yeshulin opened 3 months ago

yeshulin commented 3 months ago

image image When encountering issues with timestamp ordering or overflow, the stream may become stuck. Does SRS have the capability to remove the problematic stream in such cases to facilitate the establishment of new connections? This issue is present in both SRS version 4 and version 6.

TRANS_BY_GPT4

yeshulin commented 3 months ago

The current situation is that the device cannot handle it unless an external flow detection plugin is added. If there is a jam, then deleting the stream on the SRS cluster should be a viable solution. However, is it possible to accommodate this scenario within SRS itself?

TRANS_BY_GPT4

winlinvip commented 3 months ago

Patch welcome.