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

After a period of time, frames are dropped and reconnection is impossible #690

Open
zhou1591 opened this issue Apr 24, 2024 · 3 comments
Open

Comments

@zhou1591
Copy link

Hello everyone, please ask a few questions, I hope you can help me

I am now using the win10 above the official website example, my camera push rtsp video stream, the code is H264, the size of the video is 1280*720, the wifi bandwidth is about 20M, after I use the example to start sometimes there will be frame loss

iwEcAqNwbmcDAQTRB4AF0QNGBrDXq1NMFAHoWQYDb3NaowIAB9Itg102CAAJomltCgAL0gAF3Us png_720x720q90

Can he disconnect the rtsp video stream himself and reconnect it when he appears the same message as in the above figure, so it seems that he will keep dropping as long as there is a dropped frame error

Then there is another problem, after I close the exe inside the official sample program, I open it again, sometimes the backend service api will report an error directly in the js

WebRtcStreamer.prototype.onError
@mpromonet
Copy link
Owner

mpromonet commented Apr 25, 2024

Hi,

It is usually a good practice to ask only one question in a thread. Otherwise it becomes quickly messy.
Reading quickly I don't know what is rtsp_demo.c, it doesnot seems to come from this project.
However when there is some frame drops, it may be possible to take some decisions.
Nowdays connection is closed (and then restarted) when no data is received for an amount of time.

Best Regards
Michel

@zhou1591
Copy link
Author

zhou1591 commented May 8, 2024

Is there any way I can catch a dropped frame error in the exe and re-establish the link without closing the exe?

@zhou1591
Copy link
Author

zhou1591 commented May 20, 2024

image

Sometimes the program itself shows this up

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

No branches or pull requests

2 participants