We have to convert a camera RTSP TCP stream into RTP UDP using ffmpeg and try to load it into the Milestone management server. The stream is in H264 format. The RTP stream usually has SDP file that the client needs to read the stream. I see the Milestone server accepts RTP UDP in H264 format, but is there any possibility to include the SDP information? Also, does the server supports the ffmpeg decoder libraries such as libavcodecs? If not, is it possible to install/add it? Thanks.
Hello Yousef,
The Universal driver does support RTSP/TCP streaming for H264 out of the box, so could you please share why you need to convert the camera stream to RTP/UDP using ffmpeg in the first place?
Would you please include some more details about your use case, to get a better understanding of your issue and what you would like to achieve?
BR,
Gabriela
Hi Gabriela
We have a camera inside an isolated network (to be cyber-safe). The isolated network is only allowing UDP (one-way) signal passes. Therefore, there is no possibility of streaming RTSP/TCP out. This is why we have converted the stream to RTP/UDP by ffmpeg from inside the isolated network and sent it out to the Milestone port.
I can see there is RTP/UDP option in the Milestone management client. Do you mean it is not really RTP/UDP? If yes, is there any other option to feed in a pure UDP stream?
Thanks
Hi Yousef,
Even with RTP/UDP mode selected, the driver uses RTSP to negotiate the stream parameters with the device (via the DESCRIBE response SDP) and during RTSP SETUP, UDP unicast RTP transfer is requested from the device.
So unless you have some additional layer to handle the RTSP requests from the driver and return a valid SDP, this will not work with Universal driver.
BR,
Gabriela
Is there any other option? Can I use MIP SDK with Gstreamer?
Hi Yousef,
If you can find a way to wrap the RTP stream into RTSP with a correct SDP via GStreamer, I believe you might then be able to directly configure the Universal driver with the resulting RTSP URI and port.
You could also look into creating your own driver with the MIP SDK Driver Framework and implementing the pure RTP/UDP stream handling in the driver.
BR,
Gabriela
Information on the Driver framework - https://doc.developer.milestonesys.com/html/index.html?base=gettingstarted/intro_driverframework.html&tree=tree_1.html
Good morning,
Has anybody created a solution for this or followed-up on it? Importing RTP with SDP?
Thank you,
Justin