Permalink
Browse files

Moved auth string to fix limelight

  • Loading branch information...
1 parent 6dad820 commit be6f9246b4f13621195c5edafc4883fca8980135 James Laver committed May 21, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 get_iplayer
View
@@ -5674,12 +5674,12 @@ sub get_stream_data_cdn {
# Limelight CDN
} elsif ( $cattribs->{kind} eq 'limelight' ) {
decode_entities( $cattribs->{authString} );
- $conn->{playpath} = "$cattribs->{identifier}?$cattribs->{authString}";
+ $conn->{playpath} = "$cattribs->{identifier}";
# Remove offending mp3/mp4: at the start of the identifier (don't remove in stream url)
### Not entirely sure if this is even required for video modes either??? - not reqd for aac and low
# $conn->{playpath} =~ s/^mp[34]://g;
$conn->{streamurl} = "rtmp://$cattribs->{server}:1935/ondemand?_fcs_vhost=$cattribs->{server}&auth=$cattribs->{authString}&aifp=v001&slist=$cattribs->{identifier}";
- $conn->{application} = $cattribs->{application};
+ $conn->{application} = "$cattribs->{application}?$cattribs->{authString}";
$conn->{tcurl} = "rtmp://$cattribs->{server}:1935/$conn->{application}";
# Level3 CDN

0 comments on commit be6f924

Please sign in to comment.