-
Notifications
You must be signed in to change notification settings - Fork 0
Live TV
The record engine supports buffering live TV with automatic tuner sharing.
<storage engine BaseURL>/auto/v<channel number>?<parameters>
Example: http://10.20.20.162:4999/auto/v2.1?<parameters>
Parameter | Type | Description |
---|---|---|
ClientID | string | xxx. |
SessionID | string | xxx. |
Returns: Video stream from the requested channel.
-
Close the existing HTTP connection that is streaming video.
-
Issue a new HTTP request specifying the desired starting byte offset in the RANGE header. The ClientID and SessionID parameters of the URL must be the same as the original HTTP request.
When attempting to seek beyond the current live point the record engine will return success and will indicate the actual (lower) byte position in the HTTP Content-Range response header.
The record engine automatically limits the amount of back history that is available for a channel to avoid running the DVR out of disk space if a client is left playing a channel for an extended period of time. When attempting to seek back to a byte position that before the oldest available data the record engine will return success and will indicate the actual (higher) byte position in the HTTP Content-Range response header.
-
Close the existing HTTP connection that is streaming video.
-
Issue a new HTTP connection to request the new channel. Use the same ClientID but a new SessionID.
The same ClientID tells the record engine that the previous channel is not longer of interest.
The new SessionID tells the record engine that this is a new request rather than a seek request. For example if the user leaves live TV mode, then goes back into live TV mode.
To stream multiple live streams to the same client use a different ClientID to identify each stream.
20160929: Initial documentation.
Copyright © 2016 Silicondust USA Inc. <www.silicondust.com>.