Open GoogleCodeExporter opened 9 years ago
Just tried it with the pre-built osmf.swc file from the 2.0 release with the
same results.
Original comment by theturtl...@gmail.com
on 22 Jun 2012 at 9:59
Hi the example isn't working for me at all, im using a pure as3 prototype
loading the files directly. There is problems still, the mbr stream needs to be
referenced to play instead of the master file. Also an event needed to be
switched around here is a diff.
Original comment by dani...@electroteque.org
on 22 Jun 2012 at 1:04
Attachments:
The complete direct example
netResource = new StreamingURLResource(filename);
var httpNetStream:HTTPNetStream = new HTTPNetStream(connection, new
HTTPStreamingM3U8Factory(), netResource);
httpNetStream.addEventListener(NetStatusEvent.NET_STATUS, netStatus);
video.attachNetStream(httpNetStream);
httpNetStream.client = this;
httpNetStream.play("http://devimages.apple.com/iphone/samples/bipbop/gear1/prog_
index.m3u8");
I think the playlist parsing has to be done externally as with f4m so it
generates a UrlResource object out of it with the mbr information in that. Its
currently done internally and no possible way to get access to that
information.
Original comment by dani...@electroteque.org
on 22 Jun 2012 at 1:06
run the diff and point directly to a bitrate, the mbr list is generated
internally not externally at the moment therefore not useful with dynamic
switch streaming etc
"http://devimages.apple.com/iphone/samples/bipbop/gear1/prog_index.m3u8"
Original comment by dani...@electroteque.org
on 22 Jun 2012 at 1:59
I just realised osmf 2.0 is broken if your compiler is set to strict mode
inside HTTPStreamingEvent
set the constructor arg to this, the constant doesnt work ????
reason:String = "normal",
Original comment by dani...@electroteque.org
on 22 Jun 2012 at 2:47
There is now a cross domain issue that needs to be resolved.
Original comment by dani...@electroteque.org
on 22 Jun 2012 at 3:08
ok, I need to find a demo online with a crossdomain policy on its domain thats
open :)
Original comment by dani...@electroteque.org
on 22 Jun 2012 at 3:22
Have a look here, i used the wowza demo as they have a crossdomain policy ! .
This is directly integrated as a streaming plugin into flowplayer.
http://flowplayer.electroteque.org/httpstreaminghls
I guess mbr will come once the parser is fixed up and then attach it to dynamic
switch streaming.
Original comment by dani...@electroteque.org
on 22 Jun 2012 at 3:40
Daniel, your patch fixes the "Quality level cannot be set at this time"
exception, thank you! I'm still not getting any video playback. Looking at
your AS3 playback example, I'm not sure where you got the HTTPNetStream class?
It's not provided by either Flex 4.6 or OSMF 2.0?
Original comment by theturtl...@gmail.com
on 23 Jun 2012 at 8:52
hi its in org/osmf/net/httpstreaming
Original comment by dani...@electroteque.org
on 11 Jul 2012 at 4:44
Hi is it possible to checkout this diff if possible to make the sources work ?
Original comment by dani...@electroteque.org
on 17 Jul 2012 at 12:44
Hi is it possible to check in that patch to make this code actually work ? Im
currently looking at externalising the parser so it can generate an mbr
resource properly exactly like how httpsreaming is working, this makes it
possibly to actually obtain the bitrates model correctly.
Original comment by dani...@electroteque.org
on 27 Sep 2012 at 5:13
http://code.google.com/p/apple-http-osmf/issues/detail?id=23
i updated the patch here however, there is still a problem with MBR streams
because you have to specifically tell to play one of the streams because the
top level feed is the stream name, no levels match therefore will throw this
error still and fail playback.
Original comment by dani...@electroteque.org
on 4 Oct 2012 at 2:58
Hi all problems are fixed here, the patch is redundant now as I refactored
quite a bit of stuff.
http://code.google.com/p/apple-http-osmf/issues/detail?id=24
A mbr feed can be configured and it will parse correctly. Ive tested stream
switching and works perfectly.
Original comment by electrot...@gmail.com
on 5 Nov 2012 at 10:44
note, the problem with the audio playing while the video is nowhere to be found
is unrelated to the exception, it's because of osmf 2.0.
to fix the example, put this line in the onApplicationComplete() handler:
OSMFSettings.enableStageVideo = false;
Original comment by jon.mars...@englishcentral.com
on 9 May 2013 at 8:52
Original issue reported on code.google.com by
theturtl...@gmail.com
on 22 Jun 2012 at 9:37