diff options
author | Pascal Buhler <pascal.buhler@tandberg.com> | 2009-08-31 18:42:25 +0200 |
---|---|---|
committer | Wim Taymans <wim@metal.(none)> | 2009-12-22 21:43:25 +0100 |
commit | c3448f978e16e29cc92133edcaea2c9285d35277 (patch) | |
tree | aeab9d123ae0c7715dd74601557a65ced46230e6 /gst/rtpmanager/rtpsource.h | |
parent | 251401aef1a38965e16bac04428aa19ef1810a2b (diff) |
rtpmanager: improve SDES handling
Store SDES internally as a struct to support multiple PRIV values.
Include all values set in SDES struct when sending RTCP SDES.
Diffstat (limited to 'gst/rtpmanager/rtpsource.h')
-rw-r--r-- | gst/rtpmanager/rtpsource.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/gst/rtpmanager/rtpsource.h b/gst/rtpmanager/rtpsource.h index 8355bc0c3..5271d541c 100644 --- a/gst/rtpmanager/rtpsource.h +++ b/gst/rtpmanager/rtpsource.h @@ -117,8 +117,7 @@ struct _RTPSource { gboolean is_csrc; gboolean is_sender; - guint8 *sdes[9]; - guint sdes_len[9]; + GstStructure *sdes; gboolean received_bye; gchar *bye_reason; @@ -179,16 +178,11 @@ gchar * rtp_source_get_bye_reason (RTPSource *src); void rtp_source_update_caps (RTPSource *src, GstCaps *caps); /* SDES info */ -gboolean rtp_source_set_sdes (RTPSource *src, GstRTCPSDESType type, - const guint8 *data, guint len); gboolean rtp_source_set_sdes_string (RTPSource *src, GstRTCPSDESType type, const gchar *data); -gboolean rtp_source_get_sdes (RTPSource *src, GstRTCPSDESType type, - guint8 **data, guint *len); gchar* rtp_source_get_sdes_string (RTPSource *src, GstRTCPSDESType type); - GstStructure * rtp_source_get_sdes_struct (RTPSource * src); -void rtp_source_set_sdes_struct (RTPSource * src, const GstStructure *sdes); +gboolean rtp_source_set_sdes_struct (RTPSource * src, const GstStructure *sdes); /* handling network address */ void rtp_source_set_rtp_from (RTPSource *src, GstNetAddress *address); |