deepch / RTSPtoWSMP4f

RTSP Stream to WebBrowser MSE over WebSocket based MP4f segments
229 stars 64 forks source link

Camera intelligent stream, variable key frame #63

Open liuguoxin opened 1 year ago

liuguoxin commented 1 year ago

According to the code, currently judging whether to load the video is judged by the key frame. When the camera is set to smart streaming and the key frame interval of the RTSP video stream is uncontrollable, it can be loaded when the same client accesses for the first time, and the subsequent access to the websocket will be in the pending state until the RTSP stream has a new i frame. The waiting time for loading is very long. Is there a way to solve this?

image