1 Reply Latest reply on Apr 9, 2010 5:32 PM by bringrags

    DVR Example

    WebAppEngineer

      I saw on Features and Specifications that DVR functionality is now supported in OSMF. Are there any examples of how this works in OSMF?

        • 1. Re: DVR Example
          bringrags Level 4

          We're still working on getting access to a public DVR-enabled server so that we can post some live examples.  But the usage isn't much different from other video playback types, with the exception that you need to specify the StreamType.DVR type:

           

          var factory:MediaFactory = new DefaultMediaFactory();

          var resource:StreamingURLResource = new StreamingURLResource("rtmp://myserver.com/dvrcast_origin/mystream", StreamType.DVR);

          mediaPlayer.media = factory.createMediaElement(resource);