[Bug 762884] rtspsrc: allow to control headers via properties

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Mar 21 11:46:00 UTC 2016


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

Sebastian Dröge (slomo) <slomo at coaxion.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #322686|none                        |reviewed
             status|                            |

--- Comment #6 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
Review of attachment 322686:
 --> (https://bugzilla.gnome.org/review?bug=762884&attachment=322686)

Maybe instead a signal would be useful that allows the application to do
whatever it wants with the GstRTSPMessage before it is sent?

::: gst/rtsp/gstrtspsrc.c
@@ +4253,3 @@
+  GST_DEBUG ("Appending extra header: \"%s: %s\"", field_name, field_content);
+  gst_rtsp_message_remove_header_by_name (msg, field_name, -1);
+  gst_rtsp_message_add_header_by_name (msg, field_name, field_content);

What if you want to add the same header multiple times with different content?

-- 
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