You will recieve your password to this address. Address is not made public.

Your preferred username that is used when logging in.

rtmp play pause and restart Created Jan 20, 2010

This thread is solved

Views: 3059     Replies: 6     Last reply Aug 8, 2011  
You must login first before you can use this feature

amcorona

Posts: 2

Registered:
Jan 20, 2010

rtmp play pause and restart

Posted: Jan 20, 2010

I have the following set up for a simple rtmp stream test:

                <a
                        href="/flowplayer/flowplayer.flv"
                         style="display:block;width:500px;height:375px"
                         id="cam3">
                </a>

                <!-- this will install flowplayer inside previous A- tag. -->
        <script type="text/javascript">
        flowplayer("cam3", "/flowplayer/flowplayer-3.1.5.swf",
                {
                        clip: {
                                url: 'camera3',
                                live: true,
                                provider: 'rtmp'
                        },
                        plugins: {
                                rtmp: {
                                url: '/flowplayer/flowplayer.rtmp-3.1.3.swf',
                                netConnectionUrl: 'rtmp://server.host/live'
                                }
                        }
                }
        );
</script>

When I hit pause on the player and then play, the stream does not continue to play. Where can I find more info on getting the player to connect back to the stream after a user hits pause?

pp.idea7.pl

Posts: 1

Registered:
Mar 1, 2010

» rtmp play pause and restart

Posted: Mar 1, 2010

Reply to: rtmp play pause and restart, from amcorona
Hello, I have exactly the same problem with Wowza rtmp streaming - did you find any solution?

--
PP.

webwarrior

Posts: 24

Registered:
Mar 22, 2010

resolved

Posted: Mar 25, 2010

Reply to: » rtmp play pause and restart, from pp.idea7.pl
check this thread

alotufo

Posts: 6

Registered:
Mar 9, 2010

» rtmp play pause and restart

Posted: Mar 10, 2010

Reply to: rtmp play pause and restart, from amcorona
Try adding these:


    	onPause: function(clip) {
    	this.stop();
    	},
    	
    	onResume: function(clip) {
    	this.play();
    	}

biteko

Posts: 7

Registered:
Mar 25, 2010

» » rtmp play pause and restart

Posted: Apr 2, 2010

Reply to: » rtmp play pause and restart, from alotufo
But if i define onpause with "this.stop" If I was stopping the video and when I to push the play, he would not play the video from scratch?

idsidsids

Posts: 1

Registered:
Apr 3, 2010

» » rtmp play pause and restart

Posted: Apr 3, 2010

Reply to: » rtmp play pause and restart, from alotufo
Individually I have tried adding these lines to both the clip and plugin sections but when I do either the player does not load at all.

This is my code -

	flowplayer("player", "../flowplayer-3.1.5.swf",
		{
			clip: {
				url: 'ch1.stream',
				live: true,
				provider: 'rtmp' 		
	     		        },
			plugins: {
				rtmp: {
				url: '../flowplayer.rtmp-3.1.3.swf',
				netConnectionUrl: 'rtmp://x.x.x.x/rtplive'
			 	          }
				      }
  	        }