We are trying to implement multiple bitrate switching using f4m/smil. We have the latest Wowza 2 installed with patch7.
Contents of our test.smil file:
<smil xmlns="http://www.w3.org/2001/SMIL20/Language"> <head> </head> <body> <switch> <video src="mp4:vdtv2" system-bitrate="49552" width="480" height="360"/> <video src="mp4:vtv_1" system-bitrate="970752" width="640" height="480"/> </switch> </body> </smil>
Contents of our f4m generated using test.smil file are available here
When we play the f4m url in OSMF (1.6) player, the multiple bitrate switching does not work, always only one stream is being played.
We tried playing a sample f4m file from here and multiple bitrate switching worked like a charm in OSMF 1.6.
After that we compared the f4m created by Wowza and sample f4m and saw that Wowza has lost width and height from the smil, which could lead to this problem.
Is there any way to tell Wowza to create the f4m file based on smil file and not loose width and height properties defined in smil file? I have spent some time looking through Wowza forums, and did not find anyone reporting this problem, so perhaps the cause is in my smil structure?