FLVPlayback & FLV Multibitrate Problem?
Our QA department ran into an issue when testing dynamic streaming with multple encodings in the FLV format that results in a stream cannot be found exception thrown by the FLVPlayback component. An interesting note is that dynamic streaming works when we use F4V files. At first I thought perhaps this was a limitation with Flash, but when I traced the code inside the FLVPlayback component I realized that the video delivery using NetStream should be supported by the Flash video player. So I'm a little confused why this error is happening. We're using the SMIL playlist format to supply the FLVComponent with the videos. I've also tested each video with a direct RTMP connection and they playback fine, so there doesn't appear to be anything wrong with the server or the files.
I've included the sample XMIL playlists below.
FLV Playlist Fails
<smil>
<head>
<meta base="rtmp://localhost/vod/" />
</head>
<body>
<switch>
<video src="sample_500.flv" system-bitrate="500000"/>
<video src="sample_1000.flv" system-bitrate="1000000"/>
<video src="sample_2000.flv" system-bitrate="2000000"/>
<video src="sample_4000.flv" system-bitrate="4000000"/>
</switch>
</body>
</smil>
F4V Playlist Works
<smil>
<head>
<meta base="rtmp://localhost/vod/" />
</head>
<body>
<switch>
<video src="mp4:sample_500.f4v" system-bitrate="500000"/>
<video src="mp4:sample_1000.f4v" system-bitrate="1000000"/>
<video src="mp4:sample_2000.f4v" system-bitrate="2000000"/>
<video src="mp4:sample_4000.f4v" system-bitrate="4000000"/>
</switch>
</body>
</smil>
Thanks.
