FMS and Dynamic Streaming
I grabbed the code snippet that FMS provides for Dynamic streaming video and If I leave my calling code on the FMS it works fine, but ...
I moved my calling page to another server and I am getting "Connection Error. Please press Play to try again".
I instantiated the paths, but I am still getting the error.
Can someone see what I am doing wrong when I instantiate my paths?
Here is my dynamicStream2.smil code that is sitting in folder (Flash Media Server 3.5\webroot):
<smil>
<head>
<meta base="rtmp://MyFMServer/vod/" />
</head>
<body>
<switch>
<video src="mp4:sample1_1500kbps.f4v" system-bitrate="1500000"/>
<video src="mp4:sample1_1000kbps.f4v" system-bitrate="1000000"/>
<video src="mp4:sample1_700kbps.f4v" system-bitrate="700000"/>
<video src="mp4:sample1_500kbps.f4v" system-bitrate="500000"/>
<video src="mp4:sample1_150kbps.f4v" system-bitrate="150000"/>
</switch>
</body>
</smil>
Here is my calling code from http://MyOtherServer/test.html :
<object width='640' height='377' id='videoPlayer' name='videoPlayer' type='application/x-shockwave-flash'
classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' >
<param name='movie' value='http://MyFMServer/swfs/videoPlayer.swf' />
<param name='quality' value='high' /> <param name='bgcolor' value='#000000' />
<param name='allowfullscreen' value='true' />
<param name='flashvars' value= '&videoWidth=0&videoHeight=0&dsControl=manual&dsSensitivity=100&serverURL=http://MyFMServer/dynamicStream2.smil&DS_Status=true&streamType=vod&autoStart=true&videoWidth=0&videoHeight=0&dsControl=manual&dsSensitivity=100&serverURL=rtmp://MyFMServer/vod/mp4:sample2_1000kbps.f4v&DS_Status=true&streamType=vod&autoStart=true&videoWidth=0&videoHeight=0&dsControl=manual&dsSensitivity=100&serverURL=http://MyFMServer/dynamicStream2.smil&DS_Status=true&streamType=vod&autoStart=true&videoWidth=0&videoHeight=0&dsControl=manual&dsSensitivity=100&serverURL=rtmp://MyFMServer/vod/mp4:sample2_1000kbps.f4v&DS_Status=true&streamType=vod&autoStart=true&videoWidth=0&videoHeight=0&dsControl=manual&dsSensitivity=100&serverURL=http://MyFMServer/dynamicStream2.smil&DS_Status=true&streamType=vod&autoStart=true&videoWidth=0&videoHeight=0&dsControl=manual&dsSensitivity=100&serverURL=rtmp://MyFMServer/vod/mp4:sample2_1000kbps.f4v&DS_Status=true&streamType=vod&autoStart=true&videoWidth=0&videoHeight=0&dsControl=manual&dsSensitivity=100&serverURL=http://MyFMServer/dynamicStream2.smil&DS_Status=true&streamType=vod&autoStart=true'/>
<embed src='http://MyFMServer/swfs/videoPlayer.swf' width='640' height='377' id='videoPlayer' quality='high' bgcolor='#000000' name='videoPlayer' allowfullscreen='true' pluginspage='http://www.adobe.com/go/getflashplayer'
flashvars='&videoWidth=0&videoHeight=0&dsControl=manual&dsSensitivity=100&serverURL=http://MyFMServer/dynamicStream2.smil&DS_Status=true&streamType=vod&autoStart=true&videoWidth=0&videoHeight=0&dsControl=manual&dsSensitivity=100&serverURL=rtmp://MyFMServer/vod/mp4:sample2_1000kbps.f4v&DS_Status=true&streamType=vod&autoStart=true&videoWidth=0&videoHeight=0&dsControl=manual&dsSensitivity=100&serverURL=http://MyFMServer/dynamicStream2.smil&DS_Status=true&streamType=vod&autoStart=true&videoWidth=0&videoHeight=0&dsControl=manual&dsSensitivity=100&serverURL=rtmp://MyFMServer/vod/mp4:sample2_1000kbps.f4v&DS_Status=true&streamType=vod&autoStart=true&videoWidth=0&videoHeight=0&dsControl=manual&dsSensitivity=100&serverURL=http://MyFMServer/dynamicStream2.smil&DS_Status=true&streamType=vod&autoStart=true&videoWidth=0&videoHeight=0&dsControl=manual&dsSensitivity=100&serverURL=rtmp://MyFMServer/vod/mp4:sample2_1000kbps.f4v&DS_Status=true&streamType=vod&autoStart=true&videoWidth=0&videoHeight=0&dsControl=manual&dsSensitivity=100&serverURL=http://MyFMServer/dynamicStream2.smil&DS_Status=true&streamType=vod&autoStart=true' type='application/x-shockwave-flash'>
</embed></object>
