streaming video, flash media server, SMIL files
Hi,
I have a video player working just fine with one video, steaming and using dynamic stream switching on a flash media server.
Now I want to have more videos.
I want to start using SMIL files for the dynamic switching list for each video.
If you do not know what a SMIL file is you probably can not help.
Anyway how do I point to a SMIl file instead of just listing the streams.
here is how I do my list at the moment
var dsi:DynamicStreamItem = new DynamicStreamItem();
dsi.addStream( "mp4:GeneralReel_512x375_BR300_CBR_A96_Prog_1KFPS.f4v", 300 );
dsi.addStream( "mp4:GeneralReel_512x375_BR600_CBR_A96_Prog_1KFPS.f4v", 600 );
dsi.addStream( "mp4:GeneralReel_512x375_BR1000_CBR_A96_Prog_1KFPS.f4v", 1000 );
dsi.addStream( "mp4:GeneralReel_512x375_BR1500_CBR_A96_Prog_1KFPS.f4v", 1500 );
dsi.startRate = 300;
can I just say
var dsi:DynamicStreamItem = new DynamicStreamItem();
dsi.addStream(GeneralReel_512x375.SMIL);
I am not using the flash video component. The only info I could find about using a SMIL file was for the component and did not help.
thanks Mark