We are using OSMF videoplayer and DynamicStreamingResource. Each time the videobitrate change will trigger video size change. I need the video to stay fit on the whole screen. I tried adding size change to the stage but I am must be doing something wrong because I can't see the function for the resize event being called at all.
The video source is RMTP and streaming 5 different videobitrates.
Is there an example on how to handle the video size properly when the video bitrate changes using DynamicStreamingResource?
Maybe try resetting the media element's layout metadata whenever the dynamic stream changes (event listener)?