Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: rtmp: seek when paused does not update time display

  1. #1
    Join Date
    Aug 2012
    Posts
    6

    Default rtmp: seek when paused does not update time display

    By using wowza with flowplayer on rtmp to stream, there is a bug, when the video is paused. By changing the time, the screen is not updating.

    What steps will reproduce the problem?
    1. Play video
    2. Pause video
    3. Seek video --> Screen is not updating

    What is the expected output? What do you see instead?
    Expected output: Screen should be update, when the time has change.
    Instead: On pause, the screen is not updating.

    What version of the product are you using? On what operating system?
    Flowplayer 3.2.12
    Wowza: 3.2.1

    Please provide any additional information below.
    On the demo-page of RTMP "http://flowplayer.org/plugins/streaming/rtmp.html" there is also the same problem:
    * Play the video
    * Pause the video
    * mouve the timebar (seek)
    * SCREEN is not updating

    By using wowza "version 2.1.1" - seek works with updating the screen
    By using wowza "version 3.1.1" - seek works but without updating the screen

    Also created a Bug Issue for FlowPlayer: http://code.google.com/p/flowplayer-.../detail?id=617

  2. #2

    Default

    "By using wowza "version 2.1.1" - seek works with updating the screen
    By using wowza "version 3.1.1" - seek works but without updating the screen"

    Check the player code to see what it does when you seek. The player would need send a request to the server when you let go of the seek button, as opposed to just when you click play. Otherwise, how will the server know to send the image at that location?

    I feel that just switching the server would not cause this. Can you provide a link to the working 2.1.1 stream?

  3. #3
    Join Date
    Dec 2007
    Posts
    25,636

    Default

    What Flash version is it? We think this a bug in the latest Flash plugin release, not a Flowplayer bug. It is something that has occurred in past Flash plugin versions. Wowza engineering is looking into it to see what might be done. I don't have a time frame for a Wowza fix.

    Richard

  4. #4
    Join Date
    Aug 2012
    Posts
    6

    Default

    @randall: sorry, i can not provide a link with 2.1.1 stream. Its all internal.

    @rrlanham: On firefox there is the flash plugin release: 11.3.300.268

  5. #5

    Default

    FYI, the seek video image update is working for me with the OSMF player: Wowza Media Server 3.1.2/examples/SimpleVideoStreaming/clientOSMF/bin-release/SimpleOSMFPlayer.html

    It doesn't work with the Flash or Flex example players.

  6. #6

    Default

    This reported Flash bug appears to be 4 months old.

    Until there is a fix, here is a potential workaround:

    Code:
    var isPaused = false;
    //workaround for destination image not showing when seeking while paused
    public function mySeek(timecode:Number):void{
    if (isPaused) {
    	stream.togglePause();				
    	stream.seek(timecode);
    	stream.togglePause();
    	}
    	else stream.seek(timecode);
    }
    			
    //use this instead of stream.togglePause elsewhere in your player code
    public function myTogglePause():void{
    	stream.togglePause();
    	isPaused = !isPaused;
    }

    Disclaimer: not tested

  7. #7
    Join Date
    Aug 2012
    Posts
    6

    Default

    Where should i put this workaround? I am using flowPlayer with JavaScript to seek the video.

    $f("player").seek(parseInt(seekTime));


    Quote Originally Posted by randall View Post
    This reported Flash bug appears to be 4 months old.

    Until there is a fix, here is a potential workaround:

    Code:
    var isPaused = false;
    //workaround for destination image not showing when seeking while paused
    public function mySeek(timecode:Number):void{
    if (isPaused) {
    	stream.togglePause();				
    	stream.seek(timecode);
    	stream.togglePause();
    	}
    	else stream.seek(timecode);
    }
    			
    //use this instead of stream.togglePause elsewhere in your player code
    public function myTogglePause():void{
    	stream.togglePause();
    	isPaused = !isPaused;
    }

    Disclaimer: not tested

  8. #8

    Default

    You want to understand what the example does, not just copy exactly. You put it in the program scope wher your "player" object is defined. Your code snippet does not look like action script on account of the dollar sign. So, I'm not sure. The flow player support resources are the place to ask.

  9. #9
    Join Date
    Aug 2012
    Posts
    6

    Default

    Ok. I understand. It works with this workaround. Thanks.

  10. #10

    Default

    OsmanY84,

    Please apply WowzaMediaServer3.1.2-patch7 which should address this seek issue. Thanks for your excellent reporting.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •