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?
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?