2 Replies Latest reply on Dec 8, 2011 7:07 PM by TheRossman

    OSMF tries all protocols, won't connect for a long time, then plays

    SteveRicketts Level 1

      I'm trying to play to an .flv video recorded with Red5 using the OSMF sprite.  It take a long time (35 secs) to start playing.  Odd thing is that it immediately tries :443 and :80, then goes back to :1935.  Can anyone tell me what's happening and how to fix it?  Here's the output from the sprite.

       

       

      MediaPlayerStateChange:loading

      Wed Dec 7 2011 12:56:36 PM [INFO] [org.osmf.net.NetNegotiator] Attempting connection to rtmp://208.109.124.188:1935/eTutor

      Wed Dec 7 2011 12:56:36 PM [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: BEGIN

      Wed Dec 7 2011 12:56:36 PM [DEBUG] [org.osmf.layout.LayoutRendererBase] VALIDATING LAYOUT

      Wed Dec 7 2011 12:56:36 PM [DEBUG] [org.osmf.layout.LayoutRendererBase] LAYOUT VALIDATED

      Wed Dec 7 2011 12:56:36 PM [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: END

      Wed Dec 7 2011 12:56:36 PM [INFO] [org.osmf.net.NetNegotiator] Attempting connection to rtmp://208.109.124.188:443/eTutor

      Wed Dec 7 2011 12:56:36 PM [INFO] [org.osmf.net.NetNegotiator] Attempting connection to rtmp://208.109.124.188:80/eTutor

      Wed Dec 7 2011 12:56:36 PM [INFO] [org.osmf.net.NetNegotiator] FMS Version unknown

      Wed Dec 7 2011 12:56:36 PM [INFO] [org.osmf.net.NetConnectionFactory] NetConnection established with: rtmp://server:1935/eTutor

      Wed Dec 7 2011 12:56:36 PM [DEBUG] [org.osmf.elements.LightweightVideoElement] No DRM Contenta data available upfront. Play the content and listen for any DRM-related events.

      MediaPlayerStateChange:ready

      Wed Dec 7 2011 12:56:37 PM [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: BEGIN

      Wed Dec 7 2011 12:56:37 PM [DEBUG] [org.osmf.layout.LayoutRendererBase] VALIDATING LAYOUT

      Wed Dec 7 2011 12:56:37 PM [INFO] [org.osmf.media.videoClasses.VideoSurface] switchRenderer. currentVideoRenderer = null; the new renderer = [object Video]

      Wed Dec 7 2011 12:56:37 PM [DEBUG] [org.osmf.layout.LayoutRendererBase] LAYOUT VALIDATED

      Wed Dec 7 2011 12:56:37 PM [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: END

      PlayStateChange:PlayStateChange:playing PlayHead:0 Adjust:0

      Wed Dec 7 2011 12:56:37 PM [INFO] [org.osmf.net.NetStreamLoadTrait] NetStream.Play.Reset

      Wed Dec 7 2011 12:56:37 PM [INFO] [org.osmf.net.NetLoader] Stream reconnect: onNetStatus: NetStream.Play.Reset

      Wed Dec 7 2011 12:56:37 PM [INFO] [org.osmf.net.NetStreamLoadTrait] NetStream.Play.Start

      Wed Dec 7 2011 12:56:37 PM [INFO] [org.osmf.net.NetLoader] Stream reconnect: onNetStatus: NetStream.Play.Start

      MediaPlayerStateChange:buffering

      Wed Dec 7 2011 12:56:37 PM [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: BEGIN

      Wed Dec 7 2011 12:56:37 PM [DEBUG] [org.osmf.layout.LayoutRendererBase] VALIDATING LAYOUT

      Wed Dec 7 2011 12:56:37 PM [DEBUG] [org.osmf.layout.LayoutRendererBase] LAYOUT VALIDATED

      Wed Dec 7 2011 12:56:37 PM [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: END

       

      <<  After about 35 seconds it finally plays >>

       

      Wed Dec 7 2011 12:57:11 PM [INFO] [org.osmf.net.NetStreamLoadTrait] NetStream.Play.Stop

      Wed Dec 7 2011 12:57:11 PM [INFO] [org.osmf.net.NetLoader] Stream reconnect: onNetStatus: NetStream.Play.Stop

      Wed Dec 7 2011 12:57:11 PM [INFO] [org.osmf.net.NetStreamLoadTrait] NetStream.Buffer.Flush

      Wed Dec 7 2011 12:57:11 PM [INFO] [org.osmf.net.NetLoader] Stream reconnect: onNetStatus: NetStream.Buffer.Flush

      MediaPlayerStateChange:playing