Results 1 to 9 of 9

Thread: Flowplayer RTMP plugin with Wowza fresh install.

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2013
    Posts
    5

    Default Flowplayer RTMP plugin with Wowza fresh install.

    I haven't been able to successfully stream a video yet. I'm using Flowplayer RTMP plugin. My Javascript looks like this.

    https://gist.github.com/84b0d8a26c43102b9301

  2. #2
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    Change this:
    url: 'mp4:/sample.mp4/manifest.f4m',

    To this:
    url: 'mp4:sample.mp4',

    Richard

  3. #3
    Join Date
    Jan 2013
    Posts
    5

    Default

    Richard, That didn't do it unfortunately. Thanks.

    ps- Anyone else who comes along. I'm testing this locally on my mac and on an fresh Ubuntu 11.10 install on Linode. I can't seem to locate the sample.mp4 file on either server that's running. So, I suspect I'm clearing missing a minor albeit critical step.

  4. #4
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    Make sure the stream is running, use FlashRTMPPlayer in the /examples folder where Wowza is installed

    Richard

  5. #5
    Join Date
    Jan 2013
    Posts
    5

    Default

    I can run this example fine. I'm stumped.

  6. #6
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    This is what I am using:

    <html><head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    	<script type="text/javascript" src="flowplayer-3.2.11.min.js"></script>
    
    	<link rel="stylesheet" type="text/css" href="style.css">
    
    	<title>Player</title>
    
    </head><body>
    
    	<div id="page">
    		<div style="color:red;font-size:28px" id="message"></div>
    		<a  style="display:block;width:520px;height:330px" id="player"></a>
    
    		<script>
    			var player = flowplayer("player", "flowplayer-3.2.15.swf",
    			{
    				clip: {
    					url: 'mp4:sample.mp4',
    					provider: 'rtmp'
    					},
    					plugins: {
    					rtmp: {
    					url: 'flowplayer.rtmp-3.2.11.swf',
    					netConnectionUrl: 'rtmp://localhost:1935/vod'
    					}
    				}
    			}
    		);
    
    player.onFinish(function() {
       // alert("finished")
    })
    
    player.onLoad(function() {
       // alert("loaded")
    })
    
    player.onStart(function() {
       // alert("started")
    })
    		</script>
    	</div>
    </body></html>
    Richard

Posting Permissions

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