Skip to content

Live TV

nickkelsey edited this page Sep 29, 2016 · 10 revisions

Introduction:

The record engine supports buffering live TV with automatic tuner sharing.

API URL:

<storage engine BaseURL>/auto/v<channel number>?<parameters>

Example: http://10.20.20.162:4999/auto/v2.1?<parameters>

Parameters:

Parameter Type Description
ClientID string xxx.
SessionID string xxx.

Returns: Video stream from the requested channel.

Seeking:

  1. Close the existing HTTP connection that is streaming video.

  2. 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 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 position in the HTTP Content-Range response header.

Changing channel:

  1. Close the existing HTTP connection that is streaming video.
  2. Issue a new HTTP connection to request the new channel. Use the same ClientID but a new SessionID.

Using the same ClientID tells the record engine that the previous channel is not longer of interest to this client.

History:

20160318:

  • Add TeamOnly rules.
  • Expand delete command. 20160218:
  • Add command will update an existing rule if a collision occurs.
  • The OriginalAirdate associated with the series no longer reported in the recording rule results.
  • Results include all matching rules if a SeriesID is specified.

Copyright © 2016 Silicondust USA Inc. <www.silicondust.com>.

Clone this wiki locally