Is there any way to dynamically change the playback position for the RTSP endpoints on the NX server?
AnsweredIs there any way to dynamically change the playback position for the RTSP endpoints on the NX server?
I am currently developing software to receive video from the Nx server via RTSP and am trying to improve performance when changing the playback position of the incoming video.
Currently, when changing the playback position, I change a parameter on the URL of the RTSP path and request it again, but I am looking for a better way from a performance standpoint.
-
Hi Makoto Ogata
I'll ask dev team, but in the meantime we open sourced our Desktop client. If you want (and can), you can always refer to its code to examine how it works: https://github.com/networkoptix/nx_openI know it might not be easy, as there are a lot of code, but maybe it can shed some light on your questions
0 -
Answer to your initial question — it is possible this way:
You can just send a new RTSP PLAY command in the current TCP connection with the new position. Our desktop Client uses it.
It needs to check whether your RTSP library supports sending RTSP commands (PLAY/PAUSE/SET_PARAMETER e.t.c) without reconnection.0
Please sign in to leave a comment.
Comments
2 comments