mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-06 07:28:53 +00:00
srtp: get ssrc for Application-Defined RTCP Packet
Application-defined RTCP(204) packets also have a ssrc in their header. To find a valid stream from the packet, the ssrc should be used. https://bugzilla.gnome.org/show_bug.cgi?id=791955
This commit is contained in:
parent
ef557b5667
commit
17121ebc57
1 changed files with 4 additions and 0 deletions
|
@ -167,6 +167,10 @@ rtcp_buffer_get_ssrc (GstBuffer * buf, guint32 * ssrc)
|
||||||
*ssrc = gst_rtcp_packet_fb_get_sender_ssrc (&packet);
|
*ssrc = gst_rtcp_packet_fb_get_sender_ssrc (&packet);
|
||||||
ret = TRUE;
|
ret = TRUE;
|
||||||
break;
|
break;
|
||||||
|
case GST_RTCP_TYPE_APP:
|
||||||
|
*ssrc = gst_rtcp_packet_app_get_ssrc (&packet);
|
||||||
|
ret = TRUE;
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue