I’m trying to implement dynamic streaming to my current live streams and I’ve followed this tutorial but can’t seem to get the video to play.
I want to publish a live stream and play it with RTMP using the standard video object in Flash using the DynamicStream class as mentioned in the Adobe tutorials linked in the above Wowza tutorial. I’ve seen examples on how to manually add streams for recorded video, but can’t figure out how to do it with a SMIL.
They want you to do something like this:
var ds:DynamicStream = new DynamicStream( myNetConnection );
var dsi:DynamicStreamItem = new DynamicStreamItem();
dsi.addStream( "MP4:sample1_500kbps.f4v", 500 );
dsi.addStream( "MP4:sample1_700kbps.f4v", 700 );
dsi.addStream( "MP4:sample1_1000kbps.f4v", 1000 );
ds.startPlay( dsi );
I haven’t been able to figure out:
A) How to use the SMIL in the DynamicStream workflow
B) What URL to the Wowza server would I use to serve the SMIL when I’m using it for RTMP?
Thanks!