Skip to content
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

RTSP streams that are connected for more than 10 seconds cannot be played and will be pulled again #747

Closed
1910054472 opened this issue Dec 31, 2024 · 3 comments

Comments

@1910054472
Copy link

RTSP streams that are connected for more than 10 seconds cannot be played and will continue to be retried. How do I set the 10-second timeout period
20241231_202716

@mpromonet
Copy link
Owner

Hi @1910054472
You can add timeout=60 in the webrtc url.
Maybe you should increase the log level to understand why the connection is closed (server side, no data received, missing rtcp, ....)
Best Regards,
Michel.

@1910054472
Copy link
Author

Hi @mpromonet
This rtsp url can be played normally using VLC, but the buffer time is 15 seconds when it is opened, and the connection will be reconnected after 10 seconds when WebrTC-Streameris used.
add timeout=60 in the webrtc url,I haven't found where I can set it. Could you give me a hint
Best Regards,
fans

@mpromonet
Copy link
Owner

Hi @1910054472

The timeout could be passed as argument options in /api/call api. It depends how you open the connection...using whep...
An educated guess may be your rtsp server does not implement rtcp, and vlc implement a kind of keepalive, calling periodically rtsp getparameter... Hypothesis to verify ?

Best Regards
Michel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants