RayGyoe/apple-http-osmf

HTTPS support

Closed this issue · 1 comments

I made a small change to make streaming over HTTPS work, perhaps this should be 
merged into the repo.
In HTTPStreamingM3U8IndexHandler.as:
70c70
<                       if(_indexString.toLowerCase().indexOf("http://") != 0)

---
>                       if((_indexString.toLowerCase().indexOf("http://") != 0)
&& (_indexString.toLowerCase().indexOf("https://") != 0))
139c139
<                                               if(String(lines[i]).toLowerCase(
).indexOf("http://") == 0)

---
>                                               if((String(lines[i]).toLowerCase
().indexOf("http://") == 0) || (String(lines[i]).toLowerCase().indexOf("https://
") == 0))
164c164
<                                               if(String(lines[i]).toLowerCase(
).indexOf("http://") == 0)

---
>                                               if((String(lines[i]).toLowerCase
().indexOf("http://") == 0) || (String(lines[i]).toLowerCase().indexOf("https://
") == 0))


Original issue reported on code.google.com by bal...@medizza.com on 19 Sep 2011 at 1:27

Good idea. Change made.

Original comment by atmatthewat@gmail.com on 8 Jun 2012 at 6:14

  • Changed state: Fixed