[Bug 745880] sdp: SDP <-> GstCaps helper functions

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Jul 20 01:46:30 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=745880

--- Comment #2 from Hyunjun <zzoon.ko at samsung.com> ---
I've been thinking of this for a while.
IMHO, base apis for this are something like below.

GstCaps*                gst_sdp_media_get_caps_from_media   (const GstSDPMedia
*media, gint pt);
GstSDPResult            gst_sdp_media_set_media_from_caps   (const GstCaps*
caps, GstSDPMedia *media);
const gchar *           gst_sdp_make_keymgmt                (const GstCaps
*caps, guint32 ssrc);
GstSDPResult            gst_sdp_message_attributes_to_caps  (GstSDPMessage
*msg, GstCaps *caps);
GstSDPResult            gst_sdp_media_attributes_to_caps    (GstSDPMedia
*media, GstCaps *caps);

There's a couple of things making me confusing.
1. These kind of apis should be included to gstsdpmessage.h or gstsdp.h?
2. There's logic to use gstrtp lib to get clock-rate. Can I use this in this
base library?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list