Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
dvr_api [2019/10/10 19:52] – neds | dvr_api [2020/10/25 01:37] – neds | ||
---|---|---|---|
Line 1: | Line 1: | ||
======HDHomeRun DVR development guide====== | ======HDHomeRun DVR development guide====== | ||
- | =====Live TV===== | + | < |
- | < | + | This is a mirror of the documentation from: https://github.com/Silicondust/documentation/wiki |
- | The record engine supports buffering live TV with automatic tuner sharing. | + | |
- | + | ||
- | ====API URL==== | + | |
- | <WRAP indent> | + | |
- | < | + | |
- | + | ||
- | Example: < | + | |
</ | </ | ||
- | ====Parameters==== | ||
- | <WRAP indent> | ||
- | ^ Parameter ^ Type ^ Description ^ | ||
- | | ClientID | GUID | Unique ID to identify the player. | | ||
- | | SessionID | hex32 | Unique ID to identify the channel request. | | ||
- | Returns: Video stream from the requested channel. | + | * [[:DVR API:Live TV]] |
- | + | | |
- | If the app supports multiple running instances on the same computer each instance must have a unique ClientID. The ClientID does not need to be persistent across app launches. A valid implementation is to choose a ClientID when an instance of the app is launched. | + | |
- | + | | |
- | If the app supports picture-in-picture then each " | + | |
- | + | ||
- | The SessionID must be unique for each new request of a channel. This allows the record engine to differentiate between a new request vs a seek within the existing session. | + | |
- | </ | + | |
- | ====Seeking==== | + | |
- | <WRAP indent> | + | |
- | | + | |
- | | + | |
- | + | ||
- | When attempting to seek beyond the current live point the record engine | + | |
- | + | ||
- | The record engine | + | |
- | </ | + | |
- | ====Changing channel==== | + | |
- | <WRAP indent> | + | |
- | | + | |
- | | + | |
- | + | ||
- | The same ClientID tells the record | + | |
- | + | ||
- | The new SessionID tells the record engine that this is a new request rather than a seek request. Required to handle the situation where the user leaves live TV mode, then a short while later goes back into live TV mode. | + | |
- | </ | + | |
- | </ | + |