mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +00:00
srtp: Allow getting ssrc of more package types than RR and SR
This allows decrypting reduce size packages. See RFC 5506 https://bugzilla.gnome.org/show_bug.cgi?id=750326
This commit is contained in:
parent
b4c9aa1c30
commit
adcf3f48a5
1 changed files with 6 additions and 0 deletions
|
@ -162,6 +162,12 @@ rtcp_buffer_get_ssrc (GstBuffer * buf, guint32 * ssrc)
|
||||||
NULL);
|
NULL);
|
||||||
ret = TRUE;
|
ret = TRUE;
|
||||||
break;
|
break;
|
||||||
|
case GST_RTCP_TYPE_APP:
|
||||||
|
case GST_RTCP_TYPE_RTPFB:
|
||||||
|
case GST_RTCP_TYPE_PSFB:
|
||||||
|
*ssrc = gst_rtcp_packet_fb_get_sender_ssrc (&packet);
|
||||||
|
ret = TRUE;
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue