phawind111 / google-cast-sdk

Automatically exported from code.google.com/p/google-cast-sdk
0 stars 0 forks source link

MPL decodes the sub/bitrate m3u8 url for the m3u8 http requests #685

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a custom receiver.
2. Cast a master m3u8 which contains multiple bitrate m3u8. And the bitrate 
m3u8 should contain encoded http query.
    Here's the test m3u8 url.
    http://54.224.123.59/nlds/wsl/test2/as/live/test2_hd_ced.m3u8?cpId=WSL&nldsid=59
    Take a look at the m3u8 content, it contains a parameter named "x-as3", and the value is "Gv4gT1nmPTK4UyjPPN%2F%2Bjx6qcb%2BorgwmcVvpkBWdrik%3D"
3. The media server receives the decoded "x-as3" value, "Gv4gT1nmPTK4UyjPPN/ 
jx6qcb orgwmcVvpkBWdrik="

What is the expected output? What do you see instead?
The MPL should leave the http query untouched.

What version of the product are you using? On what operating system?
MPL 1.0.0.22

Please provide any additional information below.

Original issue reported on code.google.com by nicevinc...@gmail.com on 10 Nov 2015 at 7:43

GoogleCodeExporter commented 8 years ago
This is intended behavior, please use host.updateSegmentRequestInfo as 
suggested in Issue 440. 

Original comment by na...@google.com on 10 Nov 2015 at 8:40