Skip to content

Commit

Permalink
[OnDemand] bbciplayer.py
Browse files Browse the repository at this point in the history
updated swfurl links for the BBCiplayer ( Thanks to Digidude for the
fix. )
  • Loading branch information
pheonix committed Jun 9, 2013
1 parent 23e5f47 commit b79bd4b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions OnDemand/src/bbciplayer.py
Original file line number Diff line number Diff line change
Expand Up @@ -524,11 +524,11 @@ def getHosts(self, conn, service):

# Build up the stream URL based on the supplier
if supplier == 'limelight': # SD streams that can be played by all users.
fileUrl = "rtmp://"+server+":1935/ app=a1414/e3?"+auth+" tcurl=rtmp://"+server+":1935/a1414/e3?"+auth+" playpath="+identifier+" swfurl=http://www.bbc.co.uk/emp/10player.swf swfvfy=true timeout=180"
fileUrl = "rtmp://"+server+":1935/ app=a1414/e3?"+auth+" tcurl=rtmp://"+server+":1935/a1414/e3?"+auth+" playpath="+identifier+" swfurl=http://www.bbc.co.uk/emp/releases/iplayer/revisions/617463_618125_4/617463_618125_4_emp.swf swfvfy=true timeout=180"
elif supplier == 'akamai': # SD & HD streams that only UK users can play.
fileUrl = "rtmp://"+server+":1935/ondemand?"+auth+" playpath="+identifier+" swfurl=http://www.bbc.co.uk/emp/10player.swf swfvfy=true timeout=180"
fileUrl = "rtmp://"+server+":1935/ondemand?"+auth+" playpath="+identifier+" swfurl=http://www.bbc.co.uk/emp/releases/iplayer/revisions/617463_618125_4/617463_618125_4_emp.swf swfvfy=true timeout=180"
elif supplier == 'level3': # HD Streams that can be played by all users.
fileUrl = "rtmp://"+server+":1935/iplayertok?"+auth+" playpath="+identifier+" swfurl=http://www.bbc.co.uk/emp/10player.swf swfvfy=true timeout=180"
fileUrl = "rtmp://"+server+":1935/iplayertok?"+auth+" playpath="+identifier+" swfurl=http://www.bbc.co.uk/emp/releases/iplayer/revisions/617463_618125_4/617463_618125_4_emp.swf swfvfy=true timeout=180"
else:
fileUrl = ""

Expand Down

0 comments on commit b79bd4b

Please sign in to comment.