Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
http_api [2019/10/10 19:42]
neds
http_api [2019/10/14 04:40] (current)
neds
Line 18: Line 18:
  
 </​WRAP>​ </​WRAP>​
 +
 =====Streaming Video===== =====Streaming Video=====
 <WRAP indent> <WRAP indent>
Line 53: Line 54:
 <WRAP indent> <WRAP indent>
 For the URL "​http://​192.168.0.100:​5004/​auto/​v5.1"​ \\ For the URL "​http://​192.168.0.100:​5004/​auto/​v5.1"​ \\
-http://​192.168.0.100:​5004/​auto/​v5.1?​duration=120 ​\\ +  * http://​192.168.0.100:​5004/​auto/​v5.1?​duration=120 
-http://​192.168.0.100:​5004/​auto/​v5.1?​transcode=mobile ​\\ +  ​* ​http://​192.168.0.100:​5004/​auto/​v5.1?​transcode=mobile 
-http://​192.168.0.100:​5004/​auto/​v5.1?​transcode=mobile&​duration=120+  ​* ​http://​192.168.0.100:​5004/​auto/​v5.1?​transcode=mobile&​duration=120 
 + 
 +</​WRAP>​ 
 +====Channel frequency instead of vchannel==== 
 +<WRAP indent>​ 
 + 
 +URLs can also use the channel frequency instead of the virtual channel. Use "​ch"​ instead of "​v",​ and the RF channel number or frequency in Hz instead of the virtual channel number. PID filtering is not currently available. 
 +  * RF 14, which is 473MHz, would be http://​192.168.0.100:​5004/​auto/​ch473000000
  
 </​WRAP>​ </​WRAP>​
Line 67: Line 75:
  
 If the program requires content-protection not requested by the client the tuner will return "503 Service Unavailable"​ after 5 seconds. This error code may change in the future to return a more relevant error code. If the program requires content-protection not requested by the client the tuner will return "503 Service Unavailable"​ after 5 seconds. This error code may change in the future to return a more relevant error code.
 +
 +There'​s an X-HDHomeRun-Error header that will be returned with more specific reasons. The parts in parentheses are not included in the error, just an explanation of what the error is.
 +
 +| 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/​station off air/​particular service is not being transmitted at that time) |
 +| 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) |
  
 </​WRAP>​ </​WRAP>​
  • Last modified: 2019/10/10 19:42