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
@ -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…
x
Reference in New Issue
Block a user