diff --git a/src/stream/rtsp/rtsp_server.rs b/src/stream/rtsp/rtsp_server.rs index a51a1427..03301dbc 100644 --- a/src/stream/rtsp/rtsp_server.rs +++ b/src/stream/rtsp/rtsp_server.rs @@ -114,7 +114,8 @@ impl RTSPServer { factory.set_buffer_size(0); factory.set_latency(0u32); factory.set_transport_mode(RTSPTransportMode::PLAY); - factory.set_protocols(RTSPLowerTrans::UDP | RTSPLowerTrans::UDP_MCAST); + factory + .set_protocols(RTSPLowerTrans::UDP | RTSPLowerTrans::UDP_MCAST | RTSPLowerTrans::TCP); let Some(encode) = rtp_caps.iter().find_map(|structure| { structure.iter().find_map(|(key, sendvalue)| {