I have problem with stream switching with on demand (f4v file) content. The switch from stream A to B is extremely slow taking approx. 12-20sec. Most likely a keyframe is expected by the client from Wowza to start playing back. I am using Wowza version 2.2.3.
We were following Adobe documentation when implementing dynamic stream switching:
Our code is something like this:
var streamOptions:NetStreamPlayOptions = new NetStreamPlayOptions();
streamOptions.streamName = “HQStream”;
streamOptions.oldStreamName = “LQStream”;
streamOptions.start = lqStream.start; // LQ Stream start position
streamOptions.len = lqStream.len; // LQ Stream length
streamOptions.transition = NetStreamPlayOptions.SWITCH;
I also added this property to application.xml, but no effect:
enableDynamicStreamMarkers
true
Boolean
Could you please advise on the above? What is wrong with this? Is keyframe alignment is required for fast stream switching?