rtspsrc: Only do RTX when using a feedback profile

This commit is contained in:
Sebastian Dröge 2015-05-04 16:46:02 +02:00
parent 9d22ad421b
commit d08f488598

View file

@ -3204,6 +3204,9 @@ add_retransmission (GstRTSPSrc * src, GstRTSPTransport * transport)
if (transport->trans != GST_RTSP_TRANS_RTP) if (transport->trans != GST_RTSP_TRANS_RTP)
return; return;
if (transport->profile != GST_RTSP_PROFILE_AVP &&
transport->profile != GST_RTSP_PROFILE_AVPF)
return;
signal_id = g_signal_lookup ("request-aux-receiver", signal_id = g_signal_lookup ("request-aux-receiver",
G_OBJECT_TYPE (src->manager)); G_OBJECT_TYPE (src->manager));