Strobe Media Playback, how to check if playing stream is live (from dynamic plugin)

Can someone guide me how to check if stream is live or not? I check Media Player class, but cannot find anything related.
Edit:
I now check it be flash variable streamType = "live", but id there is better way will be good,

Hello,
I'm not sure there is a good solution to your problem on Windows Phone 8.1 (WP8.1). I think your problem is due to the background audio subsystem in WP8.1 doesn't use Zune for playback but instead has a new media manager service that controls what
background audio task is currently playing. If you are writing a Runtime app you can us the
BackgroundMediaPlayer to get this information but this object does not have the concept of a music queue.
Here is more information on background audio for Runtime apps:
http://blogs.msdn.com/b/mediasdkstuff/archive/2014/12/26/backgroundmediaplayer-architecture-on-windows-phone-8-1.aspx
Thanks,
James 
Windows SDK Technologies - Microsoft Developer Services - http://blogs.msdn.com/mediasdkstuff/

Similar Messages

  • Strobe Media Playback and streamType='dvr' not playing "live"

    Hello,
    We're currently using Strobe Media Playback to play a DVR stream.
    These are the parameter options we're passing:
    var parameterNames = pqs.params(false);
                var parameters =
                   {    src:"<?php echo $_GET['src']; ?>"               
                    ,    autoPlay: true       
                    ,    sreamType: "dvr"
                    ,    controlBarAutoHide: true   
                    ,     highQualityThreshold: "640"
                    ,    dvrSnapToLiveClockOffset: "5"
                    ,   javascriptCallbackFunction: "onJavaScriptBridgeCreated"
    The seekbar shows Live / <time>, but it always starts from the beginning of the stream. If you move the seekbar all the way to the right, It starts playing live.
    Why is it doing this? if I take out the <dvrInfo> tag in the f4m file, and set streamType: "live", it starts from the live point.
    Any input is appreciated.
    Thanks

    Hi,
    We have a logged bug describing this issue here: http://bugs.adobe.com/jira/browse/st-422.
    Please visit it and vote it.
    Thanks,
    Mihai

  • How to check whether a stream a live or recorded video in FMS?

    I don't find such API to indicate whether a stream is live or not.
    Anyone knows how to judge this,either by client side or server side actionscript?

    According to the definition of stream.time, I don't think we can distinguish a live stream from a recorded stream by that.
    Stream.time
    myStream.time
    Read-only; the number of seconds the stream has been playing. This value is the timestamp of the latest frame that flowed out of the stream.
    That said,in both cases,myStream.time will keep increasing.

  • I am using strobe media playback but i want to add new button for subtitle in control bar,Can anybody tell me how can i do it.

    I am using strobe media playback but i am not able to add new button for subtitle in control bar.
    I have imported assets.fla file in Flash professional but i do not understand how add new button in this fla and then link with action script method to show subtitle.If anybody know about it please tell me.

    Hi,
    Yes you can add video subtitle and I can give you the details how to do
    that. Can you please advise which type of files you have for video
    subtitile and how many language you want to add. i.e. text files or xml
    files.
    Best regards,
    Sunil Kumar
    On Thu, Jan 15, 2015 at 5:22 PM, Add Subtitles to OSMF and <

  • Online Code Walk-Through Wednesday on How To Build an OSMF Player Strobe Media Playback

    Wednesday November 17 at 12:00 noon PDT the OSMF User Group is hosting an online  code walk-through of the open source Strobe Media Playback video  player codebase.
    The code walk-through will be lead by Andrian Cucu who is  Adobe's Project Leader on the Flash and Strobe Media Playback video player  project.
    To join, just go to the following link at the meeting time to join the OSMF  User Group's Connect room:
    http://experts.na3.acrobat.com/osmf/
    For further details and to RSVP see the following link:
    http://osmf.groups.adobe.com/index.cfm?event=post.display&postid=30846
    ** ALL ARE WELCOME! **
    ** PLEASE FORWARD THIS MEETING NOTICE TO ALL WHO  YOU THINK MAY BE INTERESTED! **

    The player supports both standard and advanced delivery methods, including progressive download, RTMP streaming,
    RTMP dynamic streaming, HTTP streaming, HTTP dynamic streaming, and live streaming. Flash Media Playback
    1.5 and Strobe Media Playback 1.5 also provide support for RTMFP multicast content delivery.
    While RTMP(x) streaming are FMS content delivery technologies, the player can also be used with other FMS compatible streaming servers, such as Wowza or Red5.
    In the case you do not need the use of FMS streaming functionality, progressive download is always an alternative (what this means is that all you need is a video that can be served by a webserver like apache, nginx, lightypd, etc).
    As for how the player can be used, these links are allways a good place to start and get a better idea of what it is all about:
    http://www.osmf.org/strobe_mediaplayback.html
    http://blog.theflashblog.com/?p=2087
    Hope this helps.

  • How to stream with the player strobe media playback videos using http dynamic streaming?

    Hi..
    please could i have some help about the player strobe media playback?
    i would like to know how to stream with the player strobe media playback videos using http dynamic streaming.
    I have already installed the server,i put my own video in the video on demand folder.i downloaded the player but i don't know how to stream that video with the adobe protocol dynamic streaming.

    http://osmf.org/configurator/fmp/
    Use this configurator, and use the same code it generates with your strobemediaplayback.swf
    Also make sure the domain where strobemediaplayback.swf is being called from and resides, is in your /webroot/crossdomain.xml  file, or it will not work.

  • How To Change Mouse Cursor Icon To Hand And Click Middle Of Player To Pause In Strobe Media Playback

    Hello,
    Thank you for providing a platform where uses can pose questions to Adobe employees. This certainly helps us all cut right through it.
    Similar to YouTube's player (as well as many others), I was wondering if it is currently possible for users to enable functionality on Strobe Media Playback to change the mouse cursor to a hand/point cursor upon hovering over Strobe Media Playback's buttons (such as pause, the volume controls and that initial large centered middle play button),
    And, whether or not it is currently possible to enable functionality to pause/play videos merely by clicking the middle of the video screen (within the normal view mode as well as the full screen mode). Again, with YouTube, Vimeo, JW Player, and many others, such functionality is currently built-in by default.
    I look forward to any advice you are able to provide. Thanks again for providing this discussion platform for users.
    - C.R.

    Hi, thank you for your suggestions and for the interest in our player.
    The full area click issue is an older one, tracked at http://bugs.adobe.com/jira/browse/ST-156 . Unfortunately, it will not be fixed in this release.
    The hand cursor issue is now tracked at http://bugs.adobe.com/jira/browse/ST-331 - thanks for suggesting it!

  • How to Create a new plugin in Strobe Media PlayBack?

    Hai
                  i want to create a plugin for swf,and added into the Strobe media Playback.i follow this link:http://osmf.org/dev/osmf/OtherPDFs/osmf_plugin_dev_guide.pdf
    But my plugin is Not Loaded ,i dunno wats the reason.Anybody kindly Help me,am new for creating a plugin.
    Thanks in advance!
    swfPlugin.as
    package
              import flash.display.Sprite;
              import com.realeyes.osmf.plugin.swfPluginInfo;
    public class swfPlugin extends Sprite
              public function swfPlugin()
                        super();
                        _pluginInfo = new swfPluginInfo();
              // OSMF will invoke this getter to retrieve the plug-in's
              // PluginInfo object.
              public function get pluginInfo():swfPluginInfo
                        return _pluginInfo;
              private var _pluginInfo:swfPluginInfo;
    swfPluginInfo.as
    package com.realeyes.osmf.plugin
              import org.osmf.media.PluginInfo;
              import org.osmf.media.MediaElement;
              import org.osmf.media.MediaResourceBase;
              import org.osmf.media.MediaFactoryItem;
              import org.osmf.media.URLResource;
              import org.osmf.elements.VideoElement;
              public class swfPluginInfo extends PluginInfo
              public function swfPluginInfo()
                        var items:Vector.<MediaFactoryItem> = new Vector.<MediaFactoryItem>();
                        // Create the MediaFactoryItem and add to our list of items.
                        var item:MediaFactoryItem = new MediaFactoryItem
                                  ( "com.realeyes.osmf.plugins.WatermarkPlugin"
                                            , canHandleResourceFunction
                                            , mediaElementCreationFunction
                        items.push(item);
                        // Pass the list to the base class.
                        super(items);
              private function canHandleResourceFunction(resource:MediaResourceBase):Boolean
    var result:MediaElement;
                        // Only return true if the resource is an URLResource...
                        var urlResource:URLResource = new URLResource("http://vm2.gloriatech.in/android/load6.swf");
                                  // ... and if the URL starts with "rtmp".
                                  return result = urlResource as MediaElement;
              private function mediaElementCreationFunction():MediaElement
                        return new VideoElement();

    Hai
                  i want to create a plugin for swf,and added into the Strobe media Playback.i follow this link:http://osmf.org/dev/osmf/OtherPDFs/osmf_plugin_dev_guide.pdf
    But my plugin is Not Loaded ,i dunno wats the reason.Anybody kindly Help me,am new for creating a plugin.
    Thanks in advance!
    swfPlugin.as
    package
              import flash.display.Sprite;
              import com.realeyes.osmf.plugin.swfPluginInfo;
    public class swfPlugin extends Sprite
              public function swfPlugin()
                        super();
                        _pluginInfo = new swfPluginInfo();
              // OSMF will invoke this getter to retrieve the plug-in's
              // PluginInfo object.
              public function get pluginInfo():swfPluginInfo
                        return _pluginInfo;
              private var _pluginInfo:swfPluginInfo;
    swfPluginInfo.as
    package com.realeyes.osmf.plugin
              import org.osmf.media.PluginInfo;
              import org.osmf.media.MediaElement;
              import org.osmf.media.MediaResourceBase;
              import org.osmf.media.MediaFactoryItem;
              import org.osmf.media.URLResource;
              import org.osmf.elements.VideoElement;
              public class swfPluginInfo extends PluginInfo
              public function swfPluginInfo()
                        var items:Vector.<MediaFactoryItem> = new Vector.<MediaFactoryItem>();
                        // Create the MediaFactoryItem and add to our list of items.
                        var item:MediaFactoryItem = new MediaFactoryItem
                                  ( "com.realeyes.osmf.plugins.WatermarkPlugin"
                                            , canHandleResourceFunction
                                            , mediaElementCreationFunction
                        items.push(item);
                        // Pass the list to the base class.
                        super(items);
              private function canHandleResourceFunction(resource:MediaResourceBase):Boolean
    var result:MediaElement;
                        // Only return true if the resource is an URLResource...
                        var urlResource:URLResource = new URLResource("http://vm2.gloriatech.in/android/load6.swf");
                                  // ... and if the URL starts with "rtmp".
                                  return result = urlResource as MediaElement;
              private function mediaElementCreationFunction():MediaElement
                        return new VideoElement();

  • Questions about SMP (Strobe Media Playback)

    Hi all,
    Sorry if I am posting this in a wrong forum. I did not know where else to put this.
    I want to know:
    Is it a web based player that can be embedded in a web browser or is it a desktop application?
    How many domains can SMP be played on?
    Does SMP support bandwidth detection?
    Regards,
    digital mystic

    The player supports both standard and advanced delivery methods, including progressive download, RTMP streaming,
    RTMP dynamic streaming, HTTP streaming, HTTP dynamic streaming, and live streaming. Flash Media Playback
    1.5 and Strobe Media Playback 1.5 also provide support for RTMFP multicast content delivery.
    While RTMP(x) streaming are FMS content delivery technologies, the player can also be used with other FMS compatible streaming servers, such as Wowza or Red5.
    In the case you do not need the use of FMS streaming functionality, progressive download is always an alternative (what this means is that all you need is a video that can be served by a webserver like apache, nginx, lightypd, etc).
    As for how the player can be used, these links are allways a good place to start and get a better idea of what it is all about:
    http://www.osmf.org/strobe_mediaplayback.html
    http://blog.theflashblog.com/?p=2087
    Hope this helps.

  • Encryption techniques for strobe media playback

    What are the best techniques to protect content’s being played via strobe media playback..
    User should be able only to view the video’s.
    There should be no option for video download, even if user has installed real player.
    Because by installing real player, it provides download option.
    Thanks

    Hi,
    Currently we don't provide ASDocs for Strobe Media Playback. Would it be useful for you?
    Besides the user guide, you can check our wiki space for some technical documentation: https://sourceforge.net/adobe/smp/wiki/Features/
    -Andrian

  • Strobe Media Playback - calculating playback position from server

    Need assistance on changing the seek position of a streaming video from Wowza Media 2.23 using Strobe Media Playback.
    Have browser playback working OK but need to be able to position play derived from an array which gives a timing line value from the original video.
    It will allow a user to locate an event within a video rather than playing the whole video.
    The application is running on a Windows 2008 R2 Server using ASPNet 4.0.
    Thanks for any ideas / suggestions.

    The player supports both standard and advanced delivery methods, including progressive download, RTMP streaming,
    RTMP dynamic streaming, HTTP streaming, HTTP dynamic streaming, and live streaming. Flash Media Playback
    1.5 and Strobe Media Playback 1.5 also provide support for RTMFP multicast content delivery.
    While RTMP(x) streaming are FMS content delivery technologies, the player can also be used with other FMS compatible streaming servers, such as Wowza or Red5.
    In the case you do not need the use of FMS streaming functionality, progressive download is always an alternative (what this means is that all you need is a video that can be served by a webserver like apache, nginx, lightypd, etc).
    As for how the player can be used, these links are allways a good place to start and get a better idea of what it is all about:
    http://www.osmf.org/strobe_mediaplayback.html
    http://blog.theflashblog.com/?p=2087
    Hope this helps.

  • Strobe Media Playback, basic code not working with FLV file?

    I am trying to use the following code with Strobe Media Playback swf 1.5:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />   
        <title> </title>
        <script type="text/javascript" src="scripts/swfobject.js"></script>
        <script type="text/javascript">
                var flashvars = {};
                    flashvars.src = "song.flv";
                    flashvars.poster = "preview.jpg";
                var params = {};
                    params.movie = "StrobeMediaPlayback.swf";
                    params.allowfullscreen = "false";
                    params.allowscriptaccess = "always";
                var attributes = {};
                // Embed the player SWF:
                swfobject.embedSWF
                    ( "StrobeMediaPlayback.swf" //swf file name
                    , "videoDiv" // targeted div
                    , "652", "366" // width, height
                    , "10.1.0" // Flash version
                    , "scripts/expressInstall.swf" //location of expressinstall script
                    , flashvars
                    , params
                    , attributes
         </script></head>
    <body>
        <div id="videoDiv">
            <video controls="controls" poster="preview.jpg" width="652" height="366">
                <source src="song.flv" type="video/flv" />
                <source src="song.ogg" type="video/ogg" />
            </video>
        </div>
    </body>
    </html>
    However, the page is saying:
    We are having problems with playback. We apologize for the inconvenience.
    My links do not appear to be broken, I have checked them with Firebug / View Source. Has the javascript changed for Strobe 1.5?

    Okay, I think I have it *partly* figured out. If I use the link from the example it works:
    http://players.edgesuite.net/videos/big_buck_bunny/bbb_448x252.mp4
    Does the video have to be online for it to work?

  • Strobe Media Playback with AIR ?

    Does anybody know how to  use the Strobe Media Playback Player in an AIR application?
    I need to skip all the configuration that comes from flashvars,I tried to modify the source code but it's a headache.

    Adrian,you are the man!
    The dynamic version worked,however I didnt get the static version to work.Here's the modified code,got rid of the unecessary loader stuff
    <?xml version="1.0" encoding="utf-8"?>
    <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
      xmlns:s="library://ns.adobe.com/flex/spark"
      xmlns:mx="library://ns.adobe.com/flex/mx"
      creationComplete ="init(event)"
      showStatusBar = "false"
      >
    <fx:Script>
    <![CDATA[
    import mx.core.UIComponent;
    [Embed(source='/StrobeMediaPlayback.swf')]        ????(it was not in the source!)
       private var StrobeMediaPlayback:Class;
    protected function init(event:Event):void
    _stage = systemManager.stage;
    _stage.align = StageAlign.TOP_LEFT;
    _parameters  =
    src:"http://mediapm.edgesuite.net/strobe/content/test/AFaerysTale_sylviaApostol_640_500_short.f lv"
    , controlBarMode:"floating"
    , controlBarAutoHide:"false"
    // For statically linked StrobeMediaPlayback you can use this snippet
    var playerClass:Class = getDefinitionByName("StrobeMediaPlayback") as Class;
    var playerInstance:Object = new playerClass();
    playerInstance.initialize(_parameters, _stage);
    var ui:UIComponent = new UIComponent();
    ui.addChild(playerInstance as DisplayObject);
    addElement(ui);
    private var _stage:Stage;
    private var _parameters:Object;
    /* static */
    private static const ALLOW_LOAD_BYTES_CODE_EXECUTION:String = "allowLoadBytesCodeExecution";
    ]]>
    </fx:Script>
    <fx:Declarations>
    <!-- Place non-visual elements (e.g., services, value objects) here -->
    </fx:Declarations>
    </s:WindowedApplication>
    The problem is I did'nt find any  StrobeMediaPlayback.swf   in the source of your project to embed,so I just grabbed the StrobeMediaPlayback.swf  from the StrobeMediaPlayback download,and also tried the swf in the bin folder of the StrobeMediaPlayback Flex Project.
    I got a runtime error
    ReferenceError: Error #1065: Variable StrobeMediaPlayback is not defined.
    I will appreciate your help,(again)!

  • What Web Services Strobe Media Playback Uses.

    HI,
    Am I posting correct question or I am wrong
    Does strobe media playback uses any web service.
    If it uses or not please let me know .

    The player supports both standard and advanced delivery methods, including progressive download, RTMP streaming,
    RTMP dynamic streaming, HTTP streaming, HTTP dynamic streaming, and live streaming. Flash Media Playback
    1.5 and Strobe Media Playback 1.5 also provide support for RTMFP multicast content delivery.
    While RTMP(x) streaming are FMS content delivery technologies, the player can also be used with other FMS compatible streaming servers, such as Wowza or Red5.
    In the case you do not need the use of FMS streaming functionality, progressive download is always an alternative (what this means is that all you need is a video that can be served by a webserver like apache, nginx, lightypd, etc).
    As for how the player can be used, these links are allways a good place to start and get a better idea of what it is all about:
    http://www.osmf.org/strobe_mediaplayback.html
    http://blog.theflashblog.com/?p=2087
    Hope this helps.

  • Sharing widget for Strobe Media Playback

    Hi,
    I earlier posted for same.
    Can i find sharing widget somewhere
    Or
    any sharing plugin availabe that can be integarted.
    Hope someOne will reply.................

    Hi,
    Currently we don't provide ASDocs for Strobe Media Playback. Would it be useful for you?
    Besides the user guide, you can check our wiki space for some technical documentation: https://sourceforge.net/adobe/smp/wiki/Features/
    -Andrian

Maybe you are looking for