Menu

Commit [r776]  Maximize  Restore  History

Introduce priority scheme into NetClient's addHandler method. This allows us to keep NetStreamPlayTrait's listeners for Play.Stop and Play.Complete in sync, in terms of priorities. Also reordered the adding of the NetStreamTimeTrait and NetStreamPlayTrait so that the former is added first. This fixes a bug where the NSPlayTrait would trigger the onMetadata callback before the NSTimeTrait was added, thus preventing the latter from ever catching the actual duration.

briggs@adobe.com 2010-01-12

changed /osmf/trunk/framework/MediaFramework/org/osmf/net/NetClient.as
changed /osmf/trunk/framework/MediaFramework/org/osmf/net/NetStreamPlayTrait.as
changed /osmf/trunk/framework/MediaFramework/org/osmf/video/VideoElement.as
changed /osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/net/TestNetClient.as
/osmf/trunk/framework/MediaFramework/org/osmf/net/NetClient.as Diff Switch to side-by-side view
Loading...
/osmf/trunk/framework/MediaFramework/org/osmf/net/NetStreamPlayTrait.as Diff Switch to side-by-side view
Loading...
/osmf/trunk/framework/MediaFramework/org/osmf/video/VideoElement.as Diff Switch to side-by-side view
Loading...
/osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/net/TestNetClient.as Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.