Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
http_api [2019/10/10 19:41] – neds | http_api [2022/09/23 04:25] (current) – neds | ||
---|---|---|---|
Line 5: | Line 5: | ||
The list of available channels can be queried using the following URLs: | The list of available channels can be queried using the following URLs: | ||
- | | + | |
- | | + | |
+ | | ||
+ | \\ | ||
+ | //**Note:** " | ||
+ | \\ | ||
\\ | \\ | ||
- | |||
The following information is returned for each program: | The following information is returned for each program: | ||
* " | * " | ||
Line 18: | Line 21: | ||
</ | </ | ||
+ | |||
=====Streaming Video===== | =====Streaming Video===== | ||
<WRAP indent> | <WRAP indent> | ||
Line 35: | Line 39: | ||
* duration=< | * duration=< | ||
- | * transcode=< | + | * transcode=< |
</ | </ | ||
====Transcode Profiles==== | ====Transcode Profiles==== | ||
<WRAP indent> | <WRAP indent> | ||
+ | ([[EXTEND]] models only) | ||
+ | |||
* heavy: transcode to AVC with the same resolution, frame-rate, and interlacing as the original stream. For example 1080i60 → AVC 1080i60, 720p60 → AVC 720p60. | * heavy: transcode to AVC with the same resolution, frame-rate, and interlacing as the original stream. For example 1080i60 → AVC 1080i60, 720p60 → AVC 720p60. | ||
* mobile: trancode to AVC progressive not exceeding 1280x720 30fps. | * mobile: trancode to AVC progressive not exceeding 1280x720 30fps. | ||
- | * | + | * |
* internet480: | * internet480: | ||
* internet360: | * internet360: | ||
Line 51: | Line 57: | ||
<WRAP indent> | <WRAP indent> | ||
For the URL " | For the URL " | ||
- | http:// | + | * http:// |
- | http:// | + | |
- | http:// | + | |
+ | |||
+ | </ | ||
+ | ====Channel frequency instead of vchannel==== | ||
+ | <WRAP indent> | ||
+ | |||
+ | URLs can also use the channel frequency instead of the virtual channel. Use " | ||
+ | * Example channel 5 is RF 14, which is 473MHz and would be written as < | ||
+ | |||
+ | * If the channel has sub-channels, | ||
+ | |||
+ | </ | ||
+ | ====Specifying a tuner==== | ||
+ | <WRAP indent> | ||
+ | |||
+ | The "/ | ||
+ | * tuner0 - the first tuner | ||
+ | * tuner1 - the second tuner | ||
+ | * tuner2 - the third tuner (if you have a 3 or 4 tuner model) | ||
+ | * tuner3 - the fourth tuner (if you have a 4 tuner model) | ||
+ | |||
+ | The URL for using the second tuner might look like this: | ||
+ | |||
+ | < | ||
</ | </ | ||
Line 65: | Line 94: | ||
If the program requires content-protection not requested by the client the tuner will return "503 Service Unavailable" | If the program requires content-protection not requested by the client the tuner will return "503 Service Unavailable" | ||
+ | |||
+ | There' | ||
+ | |||
+ | | 801 | Unknown Channel | | ||
+ | | 802 | Unknown Transcode Profile (EXTEND only) | | ||
+ | | 803 | System Busy (normally means the device is in the middle of a channel scan) | | ||
+ | | 804 | Tuner In Use (when a specific tuner is used instead of auto) | | ||
+ | | 805 | All Tuners In Use | | ||
+ | | 806 | Tune Failed (TA reported an error (PRIME only), or hardware error) | | ||
+ | | 807 | No Video Data (bad reception/ | ||
+ | | 808 | DVR Failure (DVR can't write to the recording location) | | ||
+ | | 809 | Playback Connection Limit (DVR has hit the limit of playback streams) | | ||
+ | | 810 | DVR Full | | ||
+ | | 811 | Content Protection Required (PRIME only, channel is copy protected) | | ||
</ | </ |