Hi, I have created a new element for rtspsrc and set the protocols to tcp. From the rtsp server logs, it is still using UDP protocol to fetch the video stream. Is the rtspsrc element supported? How can we set its protocols?
Codes:
src, err := gst.NewElement("rtspsrc")
if err != nil {
return nil, err
}
src.Set("protocols", "tcp")
RTSP logs:
rtsp-simple-server_1 | 2022/06/10 06:35:35 INF [RTSP] [session 896969789] is reading from path 'final_new.h264', 1 track with UDP
rtsp-simple-server_1 | 2022/06/10 06:35:43 INF [RTSP] [session 896969789] destroyed (teared down by 10.72.4.66:47506)
rtsp-simple-server_1 | 2022/06/10 06:35:43 INF [RTSP] [conn 10.72.4.66:47506] closed (EOF)
Hi, I have created a new element for rtspsrc and set the protocols to tcp. From the rtsp server logs, it is still using UDP protocol to fetch the video stream. Is the rtspsrc element supported? How can we set its protocols?
Codes:
RTSP logs: