[Bug 720219] rtsptransport: allow getting mime type by profile

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Dec 17 10:30:50 PST 2013


https://bugzilla.gnome.org/show_bug.cgi?id=720219
  GStreamer | gst-plugins-base | git

--- Comment #3 from Aleix Conchillo Flaqué <aleix at oblong.com> 2013-12-17 18:30:48 UTC ---
(In reply to comment #2)
> Review of attachment 263951 [details]:
> 
> Is this still necessary with the current plans for SRTP?
> 
> ::: gst-libs/gst/rtsp/gstrtsptransport.c
> @@ +92,3 @@
> +      "application/x-rdt", {"rdtmanager", NULL}},
> +  {"srtp", GST_RTSP_TRANS_RTP, GST_RTSP_PROFILE_SAVP, "application/x-rtp",
> +      "application/x-srtp", {"rtpbin", NULL}},
> 
> One time x-rtp, one time x-srtp? I think the difference between mime and
> profile_mime should be made clearer in the documentation of the two functions.

I made the distinction so, for example, in rtspsrc you have incoming packets
from the udpsrc and you need to use the "application/x-srtp" as the caps which
would be the profile mime type. But the output of rtspsrc will have the caps of
the transport "application/x-rtp".

I couldn't find another easy way to do this.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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