[svn:osmf:] 15001: Implement a better http streaming unit testing structure .

Revision: 15001
Revision: 15001
Author:   [email protected]
Date:     2010-03-24 15:14:02 -0700 (Wed, 24 Mar 2010)
Log Message:
Implement a better http streaming unit testing structure.
Modified Paths:
    osmf/trunk/framework/OSMFTest/org/osmf/net/httpstreaming/HTTPStreamingTestsHelper.as
    osmf/trunk/framework/OSMFTest/org/osmf/net/httpstreaming/f4f/TestAdobeBootstrapBox.as
Added Paths:
    osmf/trunk/framework/OSMFTest/org/osmf/net/httpstreaming/AdobeBootstrapBoxDescriptor.as
    osmf/trunk/framework/OSMFTest/org/osmf/net/httpstreaming/AdobeFragmentRunTableDescriptor. as
    osmf/trunk/framework/OSMFTest/org/osmf/net/httpstreaming/AdobeSegmentRunTableDescriptor.a s
    osmf/trunk/framework/OSMFTest/org/osmf/net/httpstreaming/FragmentRunTableEntryDescriptor. as
    osmf/trunk/framework/OSMFTest/org/osmf/net/httpstreaming/SegmentRunTableEntryDescriptor.a s

Revision: 15001
Revision: 15001
Author:   [email protected]
Date:     2010-03-24 15:14:02 -0700 (Wed, 24 Mar 2010)
Log Message:
Implement a better http streaming unit testing structure.
Modified Paths:
    osmf/trunk/framework/OSMFTest/org/osmf/net/httpstreaming/HTTPStreamingTestsHelper.as
    osmf/trunk/framework/OSMFTest/org/osmf/net/httpstreaming/f4f/TestAdobeBootstrapBox.as
Added Paths:
    osmf/trunk/framework/OSMFTest/org/osmf/net/httpstreaming/AdobeBootstrapBoxDescriptor.as
    osmf/trunk/framework/OSMFTest/org/osmf/net/httpstreaming/AdobeFragmentRunTableDescriptor. as
    osmf/trunk/framework/OSMFTest/org/osmf/net/httpstreaming/AdobeSegmentRunTableDescriptor.a s
    osmf/trunk/framework/OSMFTest/org/osmf/net/httpstreaming/FragmentRunTableEntryDescriptor. as
    osmf/trunk/framework/OSMFTest/org/osmf/net/httpstreaming/SegmentRunTableEntryDescriptor.a s

Similar Messages

  • [svn:osmf:] 15288: 1. Add http streaming DVR support

    Revision: 15288
    Revision: 15288
    Author:   [email protected]
    Date:     2010-04-08 14:50:27 -0700 (Thu, 08 Apr 2010)
    Log Message:
    1. Add http streaming DVR support
    2. Fix FM-497, FM-610 and FM-618
    Ticket Links:
        http://bugs.adobe.com/jira/browse/FM-497
        http://bugs.adobe.com/jira/browse/FM-610
        http://bugs.adobe.com/jira/browse/FM-618
    Modified Paths:
        osmf/trunk/framework/OSMF/org/osmf/elements/f4mClasses/Manifest.as
        osmf/trunk/framework/OSMF/org/osmf/elements/f4mClasses/ManifestParser.as
        osmf/trunk/framework/OSMF/org/osmf/metadata/MetadataNamespaces.as
        osmf/trunk/framework/OSMF/org/osmf/net/NetLoader.as
        osmf/trunk/framework/OSMF/org/osmf/net/NetStreamSwitchManager.as
        osmf/trunk/framework/OSMF/org/osmf/net/dvr/DVRCastNetConnectionFactory.as
        osmf/trunk/framework/OSMF/org/osmf/net/dvr/DVRCastNetLoader.as
        osmf/trunk/framework/OSMF/org/osmf/net/httpstreaming/HTTPNetStream.as
        osmf/trunk/framework/OSMF/org/osmf/net/httpstreaming/HTTPStreamingNetLoader.as
        osmf/trunk/framework/OSMF/org/osmf/net/httpstreaming/HTTPStreamingUtils.as
        osmf/trunk/framework/OSMF/org/osmf/net/httpstreaming/f4f/HTTPStreamingF4FIndexHandler.as
        osmf/trunk/framework/OSMF/org/osmf/net/httpstreaming/f4f/HTTPStreamingF4FIndexInfo.as
    Added Paths:
        osmf/trunk/framework/OSMF/org/osmf/elements/f4mClasses/DVRInfo.as
        osmf/trunk/framework/OSMF/org/osmf/net/dvr/DVRUtils.as
        osmf/trunk/framework/OSMF/org/osmf/net/httpstreaming/dvr/
        osmf/trunk/framework/OSMF/org/osmf/net/httpstreaming/dvr/HTTPStreamingDVRCastDVRTrait.as
        osmf/trunk/framework/OSMF/org/osmf/net/httpstreaming/dvr/HTTPStreamingDVRCastTimeTrait.as

    Hi,
    We have an issue referring to that http://bugs.adobe.com/jira/browse/ST-422 . It was raised in SMP, but its roots are in OSMF.
    This issue appears on RTMP only, not in HDS.

  • [svn:osmf:] 13754: Restore ability for HTTP streaming index handler to send /receive arbitrary context associated with an index, per Matthew's feedback .

    Revision: 13754
    Revision: 13754
    Author:   [email protected]
    Date:     2010-01-25 10:56:31 -0800 (Mon, 25 Jan 2010)
    Log Message:
    Restore ability for HTTP streaming index handler to send/receive arbitrary context associated with an index, per Matthew's feedback.
    Modified Paths:
        osmf/trunk/framework/OSMF/.flexLibProperties
        osmf/trunk/framework/OSMF/org/osmf/events/HTTPStreamingIndexHandlerEvent.as
        osmf/trunk/framework/OSMF/org/osmf/net/httpstreaming/HTTPNetStream.as
        osmf/trunk/framework/OSMF/org/osmf/net/httpstreaming/HTTPStreamingIndexHandlerBase.as
        osmf/trunk/framework/OSMF/org/osmf/net/httpstreaming/f4f/HTTPStreamingF4FIndexHandler.as
    Removed Paths:
        osmf/trunk/framework/OSMF/org/osmf/net/httpstreaming/URLLoaderWithContext.as

    Remember that Arch Arm is a different distribution, but we try to bend the rules and provide limited support for them.  This may or may not be unique to Arch Arm, so you might try asking on their forums as well.

  • [svn:osmf:] 14192: first checkin of http streaming live support

    Revision: 14192
    Revision: 14192
    Author:   [email protected]
    Date:     2010-02-16 10:43:11 -0800 (Tue, 16 Feb 2010)
    Log Message:
    first checkin of http streaming live support
    Modified Paths:
        osmf/trunk/framework/OSMF/org/osmf/net/httpstreaming/f4f/AdobeFragmentRunTable.as
        osmf/trunk/framework/OSMF/org/osmf/net/httpstreaming/f4f/HTTPStreamingF4FIndexHandler.as

    Remember that Arch Arm is a different distribution, but we try to bend the rules and provide limited support for them.  This may or may not be unique to Arch Arm, so you might try asking on their forums as well.

  • [svn:osmf:] 14817: Temporarily disable http streaming related tests to have integration build back online .

    Revision: 14817
    Revision: 14817
    Author:   [email protected]
    Date:     2010-03-17 10:29:27 -0700 (Wed, 17 Mar 2010)
    Log Message:
    Temporarily disable http streaming related tests to have integration build back online.
    Modified Paths:
        osmf/trunk/framework/OSMFTest/org/osmf/OSMFTests.as

    Revision: 14817
    Revision: 14817
    Author:   [email protected]
    Date:     2010-03-17 10:29:27 -0700 (Wed, 17 Mar 2010)
    Log Message:
    Temporarily disable http streaming related tests to have integration build back online.
    Modified Paths:
        osmf/trunk/framework/OSMFTest/org/osmf/OSMFTests.as

  • [svn:osmf:] 10137: Dynamic streaming unit tests now pass.

    Revision: 10137
    Author:   [email protected]
    Date:     2009-09-10 16:01:37 -0700 (Thu, 10 Sep 2009)
    Log Message:
    Dynamic streaming unit tests now pass.
    Modified Paths:
        osmf/trunk/framework/MediaFramework/org/openvideoplayer/net/dynamicstreaming/NetStreamSwi tchableTrait.as
        osmf/trunk/framework/MediaFramework/org/openvideoplayer/traits/SwitchableTrait.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/openvideoplayer/MediaFrameworkTests.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/openvideoplayer/traits/TestISwitchable.as

    Hello!
    1) Given the string plugin is loaded from (file:///C:/alex/PlayerCDN/lib/PlugIN_junio.swf) application loads it from file system that "involves complex security" (our app can't load local files - we don't need it but nevertheless).
    You may want to try directing your Flex builder run configuration to use http://localhost/yourappwrapper.html as a "URL or path to launch" parameter.
    Try to set full path to plugin also (including host).
    2) As I can see, you don't have
    Security.allowDomain('*');
    in your plugin constructor.
    Although it is being loaded from the same host - do try to insert it
    Here is our plugins main file - everything works fine:
    package {
    import flash.display.Sprite;
    import flash.system.Security;
    import org.osmf.media.PluginInfo;
    import plugin.ControlBarPlugin;
    public class CBPlugin extends Sprite
      private var _pluginInfo:PluginInfo;
      public function CBPlugin()
       Security.allowDomain('*');
       _pluginInfo = (new ControlBarPlugin).pluginInfo;
      public function get pluginInfo():PluginInfo{
       return _pluginInfo;

  • Better UI for Unit Tests

    I've been doing a lot of unit tests lately.  Right now I'm working on a code converter Air app and I'm constantly creating unit tests for bugs I'm finding and running them, and debugging them when they don't work.  When I debug, it's easiest to isolate the runner to run only one test.  I know I can do that by editing the source file and typing in the test name in the core.run call.  However, I can't help by think a better UI is needed for doing this form for TestDriven Development. 
    Basically, what I think would be perfect, is to have the UI, not run the tests initially.  It should provide you with a list of tests with checkboxes.  Then give you the opportunity to select which ones you want to run, and then run them.  It should also have the ability to re-run a test.  I realize that for any code changes to take affect you would need to re-run the entire app, but a lot of times, I find myself running the same test over and over and stepping through the code with the debugger in order to figure out what's going on.  Then I eventually change the code.
    Also, the new UI should persist the last set of selected tests, and maybe have a way to store previous selections.  That would make it perfect for how I use it. 
    Does anyone agree or disagree with this?  Has someone done this already?
    BTW, the reason I'm using the stand alone runner and not the one in Flash Builder 4 is because I've run into some bugs with the FlexUnit shipped with Flash Builder 4 and there doesn't seem to be a way to get the latest FlexUnit 4.1 to work properly with Flash Builder 4.  There seems to be a way to do it with Flash Builder 4.5, but I don't have that version.
    Thanks,
    Mark

    On 05/08/2012 03:56 PM, prakash jv wrote:
    > We have been looking for unit test framework for unit testing SWT
    > components in our RCP application developed in eclipse galileo 3.5.
    >
    > We found SWTBot supports the better UI testing and wanted to additional
    > details reagrding its support for maven 2.2.1.
    >
    > Does SWTBot work with projects which are mavenized with maven 2.2.1?
    >
    > Our aim of adding the unit tests for UI components is for better build
    > quality. So we would want these Unit tests to be run everytime we build
    > our assembly. As of now we use Junit4 for running our JUnits and they
    > run with maven outside eclipse.
    >
    > Does SWTBot support running the UI unit tests outside eclipse using maven?
    Hi
    in
    http://code.google.com/a/eclipselabs.org/p/emf-components/
    we run swtbot tests with maven/tycho
    hope this helps
    cheers
    Lorenzo
    Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
    ICQ# lbetto, 16080134 (GNU/Linux User # 158233)
    HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
    http://www.myspace.com/supertrouperabba
    BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com
    http://www.gnu.org/software/src-highlite
    http://www.gnu.org/software/gengetopt
    http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net

  • [svn:osmf:] 13538: Modified the RTMP dynamic streaming sample to use the new SMIL plugin.

    Revision: 13538
    Revision: 13538
    Author:   [email protected]
    Date:     2010-01-15 16:26:36 -0800 (Fri, 15 Jan 2010)
    Log Message:
    Modified the RTMP dynamic streaming sample to use the new SMIL plugin.
    Modified Paths:
        osmf/trunk/apps/samples/framework/DynamicStreamingSample/.actionScriptProperties
        osmf/trunk/apps/samples/framework/DynamicStreamingSample/src/DynamicStreamingSample.mxml
    Removed Paths:
        osmf/trunk/apps/samples/framework/DynamicStreamingSample/src/org/

    But DynamicStream.as is part of the code base and the does get executed.   Jody, which version of DynamicStream.as is more current?   The one that ships with FMS 3.5 or the one in tools?
    Can anyone answer my original question (I think) which is: should I be able to switch source = http://dynamicStream1.smil -> source = http://dynamicStream2.smil and back and forth etc.  It seems to work.    Are there any caveats?  I am not switching back and forth between flv-s and smil-s
    It turns out that there are a couple of lines of code in NCManger.as::bitrateMatch() which is concatenating the streamName and this results in 404 on the FMS side.   I'm not sure what this is supposed to do or if this is just a bug, but the upshot was that I could not specify source = http://dynamicStream.smil on a remote server.  The uncanny part of this issue is if I serve the same smil locally, referencing remote remote smil and media, it works.  Maybe this has something to do with the bit rate.    Bottom line is that this cost me 3 days, becuase I was under the incorrect impression that you could not reference *.smil directly and I blindly followed the handrail provided by the the FMS videoPlayer sample.  Shame on me for trying to leverage working code shipped with a production version.
    NCManger.as::bitrateMatch()
    if  
    (_streamName != null
    ) {_streamName += _streams[whichStream].src;
    My incling is to change the += above to an = and get on with it.
    If someone at adobe or anywhere can have a look and give me some other guidance, it would be much appreciated.
    Thanks to Sean for the kind and detailed responses and giving me the green light that source=http://dynamicStream.smil _should_ work.
    Thanks to all.

  • [svn:osmf:] 17504: Some improvements to the stream reconnect logic.

    Revision: 17504
    Revision: 17504
    Author:   [email protected]
    Date:     2010-08-27 14:52:53 -0700 (Fri, 27 Aug 2010)
    Log Message:
    Some improvements to the stream reconnect logic.
    Modified Paths:
        osmf/trunk/framework/OSMF/org/osmf/net/NetConnectionFactory.as
        osmf/trunk/framework/OSMF/org/osmf/net/NetLoader.as

    "Is it intended to cope with NetConnection.Connect.IdleTimeOut of FMS disconnecting clients after some time of inactivity?"
    The answer is no. Stream reconnect is all about trying to reconnect in the event of a dropped network connection. For the IdleTimeOut scenario, listen for the MediaErrorEvent.MEDIA_ERROR event on the MediaPlayer and check for an error of MediaErrorCodes.NETCONNECTION_TIMEOUT. You can handle that however you wish in your player.
    - charles

  • [svn:osmf:] 17399: Improvements to the FMS stream reconnect feature.

    Revision: 17399
    Revision: 17399
    Author:   [email protected]
    Date:     2010-08-19 17:53:31 -0700 (Thu, 19 Aug 2010)
    Log Message:
    Improvements to the FMS stream reconnect feature.
    Modified Paths:
        osmf/trunk/framework/OSMF/org/osmf/net/NetLoader.as
        osmf/trunk/framework/OSMF/org/osmf/net/rtmpstreaming/RTMPDynamicStreamingNetLoader.as

    "Is it intended to cope with NetConnection.Connect.IdleTimeOut of FMS disconnecting clients after some time of inactivity?"
    The answer is no. Stream reconnect is all about trying to reconnect in the event of a dropped network connection. For the IdleTimeOut scenario, listen for the MediaErrorEvent.MEDIA_ERROR event on the MediaPlayer and check for an error of MediaErrorCodes.NETCONNECTION_TIMEOUT. You can handle that however you wish in your player.
    - charles

  • [svn:osmf:] 17371: Initial checkin of FMS stream reconnect feature.

    Revision: 17371
    Revision: 17371
    Author:   [email protected]
    Date:     2010-08-18 16:01:48 -0700 (Wed, 18 Aug 2010)
    Log Message:
    Initial checkin of FMS stream reconnect feature.
    Modified Paths:
        osmf/trunk/framework/OSMF/org/osmf/elements/AudioElement.as
        osmf/trunk/framework/OSMF/org/osmf/elements/LightweightVideoElement.as
        osmf/trunk/framework/OSMF/org/osmf/net/NetLoader.as
        osmf/trunk/framework/OSMF/org/osmf/net/NetStreamPlayTrait.as
        osmf/trunk/framework/OSMF/org/osmf/net/rtmpstreaming/RTMPDynamicStreamingNetLoader.as

    Many thanks for the fast reply.
    I've got a follow up question.
    What will happen if I modify the reconnect Code in the OSMF Netloader Class as recommended and then load multiple third party OSMF plugins,
    which may have included the origin OSMF version of the Netloader class.
    Which one will be used at runtime?
    Thanks in advance!

  • [svn:osmf:] 16197: Config file changes to reflect the folder structure changes of libs and plugins

    Revision: 16197
    Revision: 16197
    Author:   [email protected]
    Date:     2010-05-18 15:07:01 -0700 (Tue, 18 May 2010)
    Log Message:
    Config file changes to reflect the folder structure changes of libs and plugins
    Modified Paths:
        osmf/trunk/apps/samples/framework/DynamicStreamingSample/DynamicStreamingSample-build-con fig.xml
        osmf/trunk/apps/samples/plugins/AkamaiPluginSample/AkamaiPluginSample-build-config.xml
        osmf/trunk/framework/OSMFAIRTest/OSMFAIRTest-build-config.xml
        osmf/trunk/framework/OSMFIntegrationTest/osmfintegrationtest-build-config.xml
        osmf/trunk/framework/OSMFTest/OSMFTest.mxml
        osmf/trunk/framework/OSMFTest/osmftest-build-config.flex
        osmf/trunk/framework/OSMFTest/osmftest-build-config.flexcov
        osmf/trunk/framework/OSMFTest/osmftest-build-config.xml

    Grant,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://forums.novell.com/

  • [svn:osmf:] 14831: Fixed error that occured in MediaPlayerVideoElement test .

    Revision: 14831
    Revision: 14831
    Author:   [email protected]
    Date:     2010-03-17 14:21:43 -0700 (Wed, 17 Mar 2010)
    Log Message:
    Fixed error that occured in MediaPlayerVideoElement test.
    Modified Paths:
        osmf/trunk/framework/OSMF/org/osmf/media/MediaPlayer.as

    For those who would have the same problem, here is how I could eventually fix it.
    Since the Flex Test Drive is sometimes out of sync with flash builder 4, I recreated a project using other help pages on Adobe site :
    Entry point :
    http://help.adobe.com/en_US/Flex/4.0/AccessingData/WSbde04e3d3e6474c4-668f02f4120d422cf08- 7ffd.html
    As suggested, I used the New Project wizard to create a new project, with :
    Application server type : J2EE
    Check the radio button "Use remote object access service : BlazeDS"
    Then, as indicated in following pages (section "Accessing BlazeDS")... :
    file:///C:/Mes%20documents%20C/Commun/Developpement/Documentation/HT-Tracks/AccessingData/ help.adobe.com/en_US/Flex/4.0/AccessingData/WSbde04e3d3e6474c4-668f02f4120d422cf08-7ffe.ht ml#WSbde04e3d3e6474c4-19a3f0e0122be55e1b7-8000
    ...I selected the "Data / Connect to Data/Services..." menu option, which started the Data/service connection wizard.
    There, I selected a BlazeDS (and not Web Services) service type, and everything went fine.
    Suggestion to adobe staff : maybe it would be useful to update the Flex Test Drive to reflect Flash Builder 4 ?
    Very nice product anyway, so far, congratulations...
    Rgds
    Marc.

  • [svn:osmf:] 13561: Initial check-in of HTTP streaming implementation.

    Revision: 13561
    Revision: 13561
    Author:   [email protected]
    Date:     2010-01-17 22:21:46 -0800 (Sun, 17 Jan 2010)
    Log Message:
    Initial check-in of HTTP streaming implementation.
    Modified Paths:
        osmf/trunk/apps/samples/framework/WebPlayer/src/WebPlayer.as
        osmf/trunk/framework/MediaFramework/.flexLibProperties
        osmf/trunk/framework/MediaFramework/org/osmf/manifest/F4MLoader.as
        osmf/trunk/framework/MediaFramework/org/osmf/manifest/ManifestParser.as
        osmf/trunk/framework/MediaFramework/org/osmf/media/DefaultMediaFactory.as
        osmf/trunk/framework/MediaFramework/org/osmf/metadata/MetadataNamespaces.as
        osmf/trunk/framework/MediaFramework/org/osmf/net/NetClient.as
        osmf/trunk/framework/MediaFramework/org/osmf/net/NetStreamPlayTrait.as
        osmf/trunk/framework/MediaFramework/org/osmf/net/NetStreamUtils.as
        osmf/trunk/framework/MediaFramework/org/osmf/net/dynamicstreaming/DynamicNetStream.as
        osmf/trunk/framework/MediaFramework/org/osmf/net/dynamicstreaming/NetStreamDynamicStreamT rait.as
        osmf/trunk/framework/MediaFramework/org/osmf/video/VideoElement.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/MediaFrameworkTests.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/manifest/TestManifestParser.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/net/TestNetStreamUtils.as
    Added Paths:
        osmf/trunk/framework/MediaFramework/org/osmf/events/HTTPStreamingFileHandlerEvent.as
        osmf/trunk/framework/MediaFramework/org/osmf/events/HTTPStreamingIndexHandlerEvent.as
        osmf/trunk/framework/MediaFramework/org/osmf/net/httpstreaming/
        osmf/trunk/framework/MediaFramework/org/osmf/net/httpstreaming/HTTPNetStream.as
        osmf/trunk/framework/MediaFramework/org/osmf/net/httpstreaming/HTTPStreamRequest.as
        osmf/trunk/framework/MediaFramework/org/osmf/net/httpstreaming/HTTPStreamingFileHandlerBa se.as
        osmf/trunk/framework/MediaFramework/org/osmf/net/httpstreaming/HTTPStreamingIndexHandlerB ase.as
        osmf/trunk/framework/MediaFramework/org/osmf/net/httpstreaming/HTTPStreamingIndexInfoBase .as
        osmf/trunk/framework/MediaFramework/org/osmf/net/httpstreaming/HTTPStreamingNetLoader.as
        osmf/trunk/framework/MediaFramework/org/osmf/net/httpstreaming/HTTPStreamingNetStreamDyna micStreamTrait.as
        osmf/trunk/framework/MediaFramework/org/osmf/net/httpstreaming/HTTPStreamingState.as
        osmf/trunk/framework/MediaFramework/org/osmf/net/httpstreaming/HTTPStreamingUtils.as
        osmf/trunk/framework/MediaFramework/org/osmf/net/httpstreaming/URLLoaderWithContext.as
        osmf/trunk/framework/MediaFramework/org/osmf/net/httpstreaming/f4f/
        osmf/trunk/framework/MediaFramework/org/osmf/net/httpstreaming/f4f/AdobeBootstrapBox.as
        osmf/trunk/framework/MediaFramework/org/osmf/net/httpstreaming/f4f/AdobeFragmentRandomAcc essBox.as
        osmf/trunk/framework/MediaFramework/org/osmf/net/httpstreaming/f4f/AdobeFragmentRunTable. as
        osmf/trunk/framework/MediaFramework/org/osmf/net/httpstreaming/f4f/AdobeSegmentRunTable.a s
        osmf/trunk/framework/MediaFramework/org/osmf/net/httpstreaming/f4f/Box.as
        osmf/trunk/framework/MediaFramework/org/osmf/net/httpstreaming/f4f/BoxInfo.as
        osmf/trunk/framework/MediaFramework/org/osmf/net/httpstreaming/f4f/BoxParser.as
        osmf/trunk/framework/MediaFramework/org/osmf/net/httpstreaming/f4f/F4FConstants.as
        osmf/trunk/framework/MediaFramework/org/osmf/net/httpstreaming/f4f/FragmentDurationPair.a s
        osmf/trunk/framework/MediaFramework/org/osmf/net/httpstreaming/f4f/FullBox.as
        osmf/trunk/framework/MediaFramework/org/osmf/net/httpstreaming/f4f/GlobalRandomAccessEntr y.as
        osmf/trunk/framework/MediaFramework/org/osmf/net/httpstreaming/f4f/HTTPStreamingF4FFileHa ndler.as
        osmf/trunk/framework/MediaFramework/org/osmf/net/httpstreaming/f4f/HTTPStreamingF4FIndexH andler.as
        osmf/trunk/framework/MediaFramework/org/osmf/net/httpstreaming/f4f/HTTPStreamingF4FIndexI nfo.as
        osmf/trunk/framework/MediaFramework/org/osmf/net/httpstreaming/f4f/HTTPStreamingF4FStream Info.as
        osmf/trunk/framework/MediaFramework/org/osmf/net/httpstreaming/f4f/LocalRandomAccessEntry .as
        osmf/trunk/framework/MediaFramework/org/osmf/net/httpstreaming/f4f/MediaDataBox.as
        osmf/trunk/framework/MediaFramework/org/osmf/net/httpstreaming/f4f/SegmentFragmentPair.as
        osmf/trunk/framework/MediaFramework/org/osmf/net/httpstreaming/flv/
        osmf/trunk/framework/MediaFramework/org/osmf/net/httpstreaming/flv/FLVHeader.as
        osmf/trunk/framework/MediaFramework/org/osmf/net/httpstreaming/flv/FLVParser.as
        osmf/trunk/framework/MediaFramework/org/osmf/net/httpstreaming/flv/FLVParserState.as
        osmf/trunk/framework/MediaFramework/org/osmf/net/httpstreaming/flv/FLVTag.as
        osmf/trunk/framework/MediaFramework/org/osmf/net/httpstreaming/flv/FLVTagAudio.as
        osmf/trunk/framework/MediaFramework/org/osmf/net/httpstreaming/flv/FLVTagScriptDataObject .as
        osmf/trunk/framework/MediaFramework/org/osmf/net/httpstreaming/flv/FLVTagVideo.as
        osmf/trunk/framework/MediaFrameworkFlexTest/assets/mp4_bytes.txt
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/net/httpstreaming/
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/net/httpstreaming/f4f/
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/net/httpstreaming/f4f/TestAdobeBoots trapBox.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/net/httpstreaming/f4f/TestAdobeFragm entRunTable.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/net/httpstreaming/f4f/TestAdobeSegme ntRunTable.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/net/httpstreaming/f4f/TestBoxParser. as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/net/httpstreaming/f4f/TestHTTPStream ingF4FFileHandler.as

    Hi.
    So far I have extended the VideoElement to support a extended NetStreamLoadTrait as you suggested.
    My code is the following:
    override protected function processLoadStateChange(
    newState:String, newContext:ILoadedContext):void
                if (newState == LoadState.READY)
                     var context:NetLoadedContext = newContext as NetLoadedContext;
                    netStream = context.stream;
                    if (    !isStreamingResource
                         && (  netStream.bytesTotal <= 0
                              || netStream.bytesTotal == uint.MAX_VALUE
                        netStream.addEventListener(NetStatusEvent.NET_STATUS, onNetStatus);
                else if (newState == LoadState.UNINITIALIZED)
                    netStream = null;
            private function onNetStatus(event:NetStatusEvent):void
                if (netStream.bytesTotal > 0)
                    dispatchEvent
                        ( new LoadEvent
                            ( LoadEvent.BYTES_TOTAL_CHANGE
                            , false
                             , false
                            , null
                            , netStream.bytesTotal
                    netStream.removeEventListener(NetStatusEvent.NET_STATUS, onNetStatus);
    But no matter what I change, always a new Extended VideoElement is created, the playhead backs to 0.
    Can you explain more how you would modify the NetStreamLoadTrait or LoadTrait to work together with the seek?
    Thanks a lot,
    Chaim

  • [svn:osmf:] 14133: First check in to support stream metadata in http streaming.

    Revision: 14133
    Revision: 14133
    Author:   [email protected]
    Date:     2010-02-11 14:21:14 -0800 (Thu, 11 Feb 2010)
    Log Message:
    First check in to support stream metadata in http streaming.
    Modified Paths:
        osmf/trunk/framework/OSMF/org/osmf/events/HTTPStreamingFileHandlerEvent.as
        osmf/trunk/framework/OSMF/org/osmf/events/HTTPStreamingIndexHandlerEvent.as
        osmf/trunk/framework/OSMF/org/osmf/net/httpstreaming/HTTPNetStream.as
        osmf/trunk/framework/OSMF/org/osmf/net/httpstreaming/f4f/HTTPStreamingF4FFileHandler.as
        osmf/trunk/framework/OSMF/org/osmf/net/httpstreaming/f4f/HTTPStreamingF4FIndexHandler.as

    What you are missing is the fact that you get the trait from the MediaElement you just created with your MediaFactory.
    You should also be extending the DefaultMediaFactory since it has built in MediaFactoryItems.
    var defaultMediaFactory:DefaultMediaFactory = new DefaultMediaFactory();
    var mediaElement:MediaElement = createMediaElement(videoResource: URLResource); //your resource
    var dynamicStreamTrait:DynamicStreamTrait = mediaElement.getTrait(MediaTraitType.DYNAMIC_STREAM) as DynamicStreamTrait;
    //work with the trait
    dynamicStreamTrait.autoSwitch = false;
    dynamicStreamTrait.switchTo(yourBitrateIndex);

Maybe you are looking for

  • HT204053 can I set up 2 separate icloud accounts on one computer

    Can I use 2 apple IDs linked to two sepeare iClouds on a single computer?

  • Bluetooth connection between iPhone and MacBook Pro

    Is it possible to browse files on my iPhone from my MacBook Pro (MacBookPro3,1 Serial Number  W873325SX94, OS X 10.9 (13A603)) via Bluetooth?

  • ITunes recognizes iPhone, but PC doesn't

    Since installing iPhone OS 3.0.1, my PC no longer recognizes my iPhone as a mobile device and I can't upload my photos. I am still able to charge my iPhone and sync with iTunes. Is this a bug in the new OS? If so, when will it be fixed? Is there anot

  • 2x 1252s unable to fully join 2504

    Hi everyone :) And thank you for an awesome resource! I was lucky enough to get my hands on this 2504 at work for labbing and had set the goal for last night to convert the two 1252s to lwap and join them with the controller. Just a simple ssid and t

  • Skinning with ActionScript

    Hi everyone, im looking for good Skinning examples in Actionscript for mobile projects. Adobe recommends to do skinning for this purpose only in actionscript but most of the examples on this website and most of the code in the provided example flex m