Add ssrc to application/x-rtp-source-sdes structure

This commit is contained in:
Olivier Crête 2009-05-28 17:33:10 -04:00 committed by Wim Taymans
parent 53eeb90c21
commit 71fe0d7bd3

View file

@ -322,7 +322,8 @@ rtp_source_create_sdes (RTPSource * src)
GstStructure *s;
gchar *str;
s = gst_structure_new ("application/x-rtp-source-sdes", NULL);
s = gst_structure_new ("application/x-rtp-source-sdes",
"ssrc", G_TYPE_UINT, (guint) src->ssrc, NULL);
if ((str = rtp_source_get_sdes_string (src, GST_RTCP_SDES_CNAME))) {
gst_structure_set (s, "cname", G_TYPE_STRING, str, NULL);