curlhttpsink
This is a network sink that uses libcurl as a client to upload data to an HTTP server.
Example launch line
Upload a JPEG file to an HTTP server.
gst-launch-1.0 filesrc location=image.jpg ! jpegparse ! curlhttpsink \
file-name=image.jpg \
location=http://192.168.0.1:8080/cgi-bin/patupload.cgi/ \
user=test passwd=test \
content-type=image/jpeg \
use-content-length=false
Hierarchy
GObject ╰──GInitiallyUnowned ╰──GstObject ╰──GstElement ╰──GstBaseSink ╰──GstCurlBaseSink ╰──GstCurlTlsSink ╰──curlhttpsink
Factory details
Authors: – Patricia Muscalu
Classification: – Sink/Network
Rank – none
Plugin – curl
Package – GStreamer Bad Plug-ins
Pad Templates
Properties
content-type
“content-type” gchararray
Content Type to use for the Content-Type header. If not set, detected mime type will be used
Flags : Read / Write
Default value : NULL
proxy-passwd
“proxy-passwd” gchararray
Proxy user password to use for proxy authentication
Flags : Read / Write
Default value : NULL
proxy-user
“proxy-user” gchararray
Proxy user name to use for proxy authentication
Flags : Read / Write
Default value : NULL
use-content-length
“use-content-length” gboolean
Use the Content-Length HTTP header instead of Transfer-Encoding header
Flags : Read / Write
Default value : false
The results of the search are