sachinkosare / apple-http-osmf

Automatically exported from code.google.com/p/apple-http-osmf
0 stars 0 forks source link

Playlist - Line end by "\r\n" #22

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Generate live stream HLS with AMS 5
2. Parse m3u8

What is the expected output? What do you see instead?
Below this line (HTTPStreamingM3U8IndexHandler),

var lines:Array = String(data).split("\n");

we see every line end by "\r\n";

What version of the product are you using? On what operating system?
OSMF 2.0 , AMS 5

Please provide any additional information below.
its bug AMS 5 ?)

Original issue reported on code.google.com by o...@denivip.ru on 10 Aug 2012 at 9:24

GoogleCodeExporter commented 9 years ago
Hi it should be this var lines:Array = String(data).split(/\r\n|\n|\r/);

Original comment by electrot...@gmail.com on 28 Oct 2012 at 6:13

GoogleCodeExporter commented 9 years ago
Fixed here http://code.google.com/p/apple-http-osmf/issues/detail?id=24

Original comment by electrot...@gmail.com on 5 Nov 2012 at 10:42