2.11 Configure Online Content

This section resides under import and defines options for various supported online services. Currently there is none supported.

Example of online content XML configuration

<import>
    <online-content>
    </online-content>
</import>

2.11.1 Online Content

online-content
Type: Section
Required: False
<online-content fetch-buffer-size="262144" fetch-buffer-fill-size="0">

This tag defines the online content section.

2.11.1.1 Attributes

online fetch-buffer-size
Type: Integer
Required: False
Default: 1048576
fetch-buffer-size="524288"

Often, online content can be directly accessed by the player - we will just give it the URL. However, sometimes it may be necessary to proxy the content through Gerbera. This setting defines the buffer size in bytes, that will be used when fetching content from the web. The value must not be less than allowed by the curl library (usually 16384 bytes).

online fetch-buffer-fill-size
Type: Integer
Required: False
Default: 0 (disabled)
fetch-buffer-fill-size="262144"

This setting allows to prebuffer a certain amount of data, given in bytes, before sending it to the player, this should ensure a constant data flow in case of slow connections. Usually this setting is not needed, because most players will anyway have some kind of buffering, however if the connection is particularly slow you may want to try enable this setting.

online connect-timeout
Type: Time Seconds
Required: False
Default: 20

Added in version 3.2.0.

connect-timeout="50"

This setting allows to set the timeout to connect to the URL. Increase it for slow servers.

timeout
Type: Time Seconds
Required: False
Default: 0

Added in version 3.2.0.

timeout="50"

This setting allows to set the total timeout to load data from the URL. Increase it for slow servers.