-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SRS crash when we publish invalid streaming with dash stream setting #3770
Comments
We have tested with SRS 5.0.170 too. SRS is crashing when we encode to srs media server with invalid codec. Only issue is with Dash. When we disable Dash and enable HLS only then it's working without any issue. FFMPEG command to SRS:ffmpeg -i rtmp://51.210.214.151/arena1/main -c copy -f flv rtmp://206.75.162.204/live/test SRS Log[2023-08-21 17:27:26.241][INFO][30625][r77h4997] connect app, tcUrl=rtmp://206.75.162.204:1935/live, pageUrl=, swfUrl=, schema=rtmp, vhost=206.75.162.204, port=1935, app=live, args=null
|
Description
Please description your issue here
SRS Version: 6.0.65
SRS Log:
Replay
Please describe how to replay the bug?
Step 1: Below is ffprobe out for my source stream codec and information.
Step 2: when we publish this stream with ffmpeg to srs, then srs will crash
Expect
How can we prevent SRS from crashing? Is there a way to validate the source codec of a stream and disable stream publishing? We are currently publishing multiple streams and lack information about the source stream codec, which is causing crashes in SRS.
The text was updated successfully, but these errors were encountered: