1 person found this helpful
HDS is more complicated than simple RTMP DS and your approach will not work.
My recommendation is to use a top-level F4M to reference the individual stream F4Ms. If you prefer to create dynamically the resource, use the StreamingXMLResource and feed it a generated f4m manifest.
Thanks for your reply Silviu.
I'll try using a top-level F4M - would I load this into my media player using a URL resource then?
var f4mResource:URLResource = new URLResource("http://10.x.x.x/hds-vod/hds_sample.f4m");
var mediaFactory:MediaFactory = new DefaultMediaFactory();
video = mediaFactory.createMediaElement(f4mResource);
Can disregard my question about StreamingXMLResource - I pulled the source from SVN and compiled a .swc, I noticed that the StreamingXMLResource.as class had the [ExcludeClass] tag (I commented it out and re-built).
Any idea why this class is being hidden?
PS: I don't seee / cannot instantiate a StreamingXMLResource.
I'm using an OSMF 2.0 swc, pre-compiled from http://sourceforge.net/projects/osmf.adobe/files/.
I also don't see that class in the online documentation either at: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/org/osmf/net/package-de tail.html.
Oddly though, when I downloaded the OSMF source, the StreamingXMLResource.as file does show up in the org.osmf.net package.
My project is using Flex SDK 4.5.1, targetting Flash Player 10.1.
Thanks again for your input!
Message was edited by: Wrentech
StreamingXMLResource is experimental and can change in the future. You can still use it, but it's undocumented.