rtpsession: Emit on-new-sender-ssrc for RTX ssrc also

This commit is contained in:
Olivier Crête 2019-02-12 18:26:21 -05:00 committed by Nicolas Dufresne
parent 6530fa53f2
commit b88a3abf46

View file

@ -3032,6 +3032,10 @@ rtp_session_update_send_caps (RTPSession * sess, GstCaps * caps)
obtain_internal_source (sess, ssrc, &created, GST_CLOCK_TIME_NONE); obtain_internal_source (sess, ssrc, &created, GST_CLOCK_TIME_NONE);
if (source) { if (source) {
rtp_source_update_caps (source, caps); rtp_source_update_caps (source, caps);
if (created)
on_new_sender_ssrc (sess, source);
g_object_unref (source); g_object_unref (source);
} }
} }