~jamesh/+junk/rygel-iview

« back to all changes in this revision

Viewing changes to API.txt

  • Committer: James Henstridge
  • Date: 2009-06-25 05:16:07 UTC
  • Revision ID: james@jamesh.id.au-20090625051607-2h12z3nv4j93u2va
First go at channel guide parser.  Not yet hooked up to D-Bus code.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Reverse Engineered iView API:
 
2
 
 
3
Start with config file:
 
4
 
 
5
    http://www.abc.net.au/iview/iview_config.xml
 
6
 
 
7
Can find channel guide and series info from here.
 
8
 
 
9
 
 
10
Grabbing a stream with flvstreamer/rtmpdump:
 
11
 
 
12
* Load the iView handshaker URL, which is listed as config/auth_path
 
13
  in the config XML.
 
14
   - The RTMP server is iview/server: rtmp://$HOST/ondemand
 
15
   - The auth token is iview/token: $TOKEN
 
16
 
 
17
* Look up the filename in the channel guide.
 
18
 
 
19
* Execute flvstreamer or rtmpdump as follows:
 
20
 
 
21
flvstreamer_x86 \
 
22
 --host=203.18.195.10 \
 
23
 --playpath=catch_up/goodgame_09_05_20 \
 
24
 --pageUrl=http://www.abc.net.au/iview/ \
 
25
 --tcUrl='rtmp://cp53909.edgefcs.net/ondemand?auth=2BAD095BCF122B1FD76C' \
 
26
 --app 'ondemand?auth=2BAD095BCF122B1FD76C' \
 
27
 -o goodgame_09_05_20.flv
 
28
 
 
29
The --host argument uses the server from the handshaker URL
 
30
The --playpath is the filename from the channel guide, minus .flv
 
31
The --app bit uses the token from the handshaker URL
 
32
The --tcUrl uses the rtmp URL from the config/server_streaming URL