Sunny, Unfortunately, we don't own the OSMF project, and the code that needs to be fixed belongs with them. We are only able to work with the very old OSMF 1.0. You can try to contact them directly (their forums are at forums.adobe.com.
-Nick On Wed, Aug 7, 2013 at 10:23 PM, Shengyuan Xue <x8...@163.com> wrote: > Hi,All: > > I am a new member.Thank the apache community provide me a chance that > report some questions. > > Using OSMF2.0 to stream a smil title. > Add the MediaPlayerCapabilityChangeEvent.IS_DYNAMIC_STREAM_CHANGE event > listener, after the event dispatch then add the > DynamicStreamEvent.SWITCHING_CHANGE event listener. > The bitrate info can be report, normal. But after I add the SMPTE-TT > plugin and load it like this: > var pluginResource:MediaResourceBase = new PluginInfoResource(new > SMPTETTPluginInfo);mediaFactory.loadPlugin(pluginResource); > > The title can be stream correct and the quality of the video can be set by > the bandwidth, but only the DynamicStreamEvent.SWITCHING_CHANGE event can > not be dispatch, so I can't get the current bitrate info. > I debug it in the OSMF source code and find the issue in the > org.osmf.elements.compositeClasses.ParallelDynamicStreamTrait class line 323 > FYI: > > > onSwitchingChange function that the numChildrenSwitching property always > 0, so it can not call the setSwitching function and can not dispatch > DynamicStreamEvent.SWITCHING_CHANGE event. > So, I add some changes from line 333 to line 336 and it has be fix: > > > > Environment:Flex SDK 4.6 + flash player 11.8. > > I don't know it is a bug in the OSMF framework and I want to get more info > about it. > > Thanks. > > - Sunny.Xue > > > > > > > > > > >