souphttpsrc

souphttpsrc — Receive data as a client over the network via HTTP using SOUP

Synopsis

struct              GstSoupHTTPSrc;

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----GstObject
               +----GstElement
                     +----GstBaseSrc
                           +----GstPushSrc
                                 +----GstSoupHTTPSrc

Implemented Interfaces

GstSoupHTTPSrc implements GstURIHandler.

Properties

  "automatic-redirect"       gboolean              : Read / Write
  "cookies"                  GStrv                 : Read / Write
  "iradio-genre"             gchar*                : Read
  "iradio-mode"              gboolean              : Read / Write
  "iradio-name"              gchar*                : Read
  "iradio-title"             gchar*                : Read
  "iradio-url"               gchar*                : Read
  "location"                 gchar*                : Read / Write
  "proxy"                    gchar*                : Read / Write
  "user-agent"               gchar*                : Read / Write
  "is-live"                  gboolean              : Read / Write
  "proxy-id"                 gchar*                : Read / Write
  "proxy-pw"                 gchar*                : Read / Write
  "user-id"                  gchar*                : Read / Write
  "user-pw"                  gchar*                : Read / Write
  "extra-headers"            GstStructure*         : Read / Write
  "timeout"                  guint                 : Read / Write
  "compress"                 gboolean              : Read / Write
  "http-log-level"           SoupLoggerLogLevel    : Read / Write
  "keep-alive"               gboolean              : Read / Write
  "retries"                  gint                  : Read / Write
  "ssl-ca-file"              gchar*                : Read / Write
  "ssl-strict"               gboolean              : Read / Write
  "ssl-use-system-ca-file"   gboolean              : Read / Write

Description

Synopsis

Element Information

plugin

soup

author

Wouter Cloetens <wouter@mind.be>

class

Source/Network

Element Pads

name

src

direction

source

presence

always

details

ANY

Details

struct GstSoupHTTPSrc

struct GstSoupHTTPSrc;

Property Details

The "automatic-redirect" property

  "automatic-redirect"       gboolean              : Read / Write

Automatically follow HTTP redirects (HTTP Status Code 3xx).

Default value: TRUE


The "cookies" property

  "cookies"                  GStrv                 : Read / Write

HTTP request cookies.


The "iradio-genre" property

  "iradio-genre"             gchar*                : Read

Genre of the stream.

Default value: NULL


The "iradio-mode" property

  "iradio-mode"              gboolean              : Read / Write

Enable internet radio mode (ask server to send shoutcast/icecast metadata interleaved with the actual stream data).

Default value: TRUE


The "iradio-name" property

  "iradio-name"              gchar*                : Read

Name of the stream.

Default value: NULL


The "iradio-title" property

  "iradio-title"             gchar*                : Read

Name of currently playing song.

Default value: NULL


The "iradio-url" property

  "iradio-url"               gchar*                : Read

Homepage URL for radio stream.

Default value: NULL


The "location" property

  "location"                 gchar*                : Read / Write

Location to read from.

Default value: ""


The "proxy" property

  "proxy"                    gchar*                : Read / Write

HTTP proxy server URI.

Default value: ""


The "user-agent" property

  "user-agent"               gchar*                : Read / Write

Value of the User-Agent HTTP request header field.

Default value: "GStreamer souphttpsrc "


The "is-live" property

  "is-live"                  gboolean              : Read / Write

Act like a live source.

Default value: FALSE


The "proxy-id" property

  "proxy-id"                 gchar*                : Read / Write

HTTP proxy URI user id for authentication.

Default value: ""


The "proxy-pw" property

  "proxy-pw"                 gchar*                : Read / Write

HTTP proxy URI user password for authentication.

Default value: ""


The "user-id" property

  "user-id"                  gchar*                : Read / Write

HTTP location URI user id for authentication.

Default value: ""


The "user-pw" property

  "user-pw"                  gchar*                : Read / Write

HTTP location URI user password for authentication.

Default value: ""


The "extra-headers" property

  "extra-headers"            GstStructure*         : Read / Write

Extra headers to append to the HTTP request.


The "timeout" property

  "timeout"                  guint                 : Read / Write

Value in seconds to timeout a blocking I/O (0 = No timeout).

Allowed values: <= 3600

Default value: 15


The "compress" property

  "compress"                 gboolean              : Read / Write

Allow compressed content encodings.

Default value: FALSE


The "http-log-level" property

  "http-log-level"           SoupLoggerLogLevel    : Read / Write

Set log level for soup's HTTP session log.

Default value: SOUP_LOGGER_LOG_HEADERS


The "keep-alive" property

  "keep-alive"               gboolean              : Read / Write

Use HTTP persistent connections.

Default value: FALSE


The "retries" property

  "retries"                  gint                  : Read / Write

Maximum number of retries until giving up (-1=infinite).

Allowed values: >= G_MAXULONG

Default value: 3


The "ssl-ca-file" property

  "ssl-ca-file"              gchar*                : Read / Write

Location of a SSL anchor CA file to use.

Default value: NULL


The "ssl-strict" property

  "ssl-strict"               gboolean              : Read / Write

Strict SSL certificate checking.

Default value: TRUE


The "ssl-use-system-ca-file" property

  "ssl-use-system-ca-file"   gboolean              : Read / Write

Use system CA file.

Default value: TRUE