While playing with the dynamic streaming in OSMF I've noticed that it doesn't take into consideration the size of the mediaContainer it's being displayed into. Basically it will load the highest version of the stream available to my current bandwidth even though the mediaContainer would display the same quality as with the 2nd highest version (the frameSize for each of the 1st 2 versions are higher than my mediaContainer size). While this may not pose a problem to the user it may generate additional (unnecessary) traffic server side. Is there anything I'm doing wrong/not seeing? Can this be accomplished with OSMF? Is there any documentation related to implementing a DynamicStreaming switch maanger?
Thx in advance
You could set maxAllowedDynamicStreamIndex to limit your maximum bitrate.
I don't think that there is a such a documentation, I think you could start from StrobeMediaPlayback code for inspiration.
Thx. I will check the Strobe sources. I was trying to avoid going there in order to gain time but guess this is the only way.