mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 04:22:27 +00:00
srtp: Added support for BYE packet
SRTCP can't get SSRC from BYE packet, this will make srtpdec element to drop the package. Adding support to get the SSRC from BYE packets.
This commit is contained in:
parent
b4efdeba11
commit
663cd44ef0
1 changed files with 4 additions and 0 deletions
|
@ -196,6 +196,10 @@ rtcp_buffer_get_ssrc (GstBuffer * buf, guint32 * ssrc)
|
|||
*ssrc = gst_rtcp_packet_app_get_ssrc (&packet);
|
||||
ret = TRUE;
|
||||
break;
|
||||
case GST_RTCP_TYPE_BYE:
|
||||
*ssrc = gst_rtcp_packet_bye_get_nth_ssrc (&packet, 0);
|
||||
ret = TRUE;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue