GNOME Bugzilla – Bug 774799
Enable curl plugin
Last modified: 2018-11-03 10:21:35 UTC
The curl plugin in gst-plugins-bad is normally shipped disabled. We have an application for it, so we enabled it and got it running. Adding patches here.
These patches are only of interest to those using the curlhttpsink plugin.
Created attachment 340454 [details] [review] Add curl library to support curlhttpsink build Not of interest unless enabling curlhttpsink.
Created attachment 340455 [details] [review] Enable the curlhttpsink plugin Enable curlhttpsink plugin, which depends on libcurl.
Created attachment 340460 [details] [review] Fix TLS and prepend chunk length This patch disables a lot of the other plugins, to focus on just using curlhttpsink. It also disables a few settings in the curlhttpsink support that get in the way of using TLS. Another addition is a prepended chunk length to the buffer being sent. We needed to do this since HTTPS with chunked encoding was not giving us the length of the block being sent, which we needed to deal with a blocking read interface. This patch is probably only of interest to those who are enabling curlhttpsink, and who are looking for fixes to some of the problems we encountered.
Review of attachment 340460 [details] [review]: Cerbero is definatly not the place to patch GStreamer Code. Propose patches against the right component if you encounter bugs or are missing features.
*** Bug 789109 has been marked as a duplicate of this bug. ***
Comment on attachment 340460 [details] [review] Fix TLS and prepend chunk length Yes, please put the changes to the code into a separate Bugzilla bug report and also split it up into individual, functional changes.
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/cerbero/issues/39.