Results 1 to 5 of 5

Thread: JW player...

  1. #1
    Join Date
    Mar 2013
    Posts
    6

    Default JW player...

    I am trying to use the jw player to live stream from Amazon EC2, via Wowza Media Server, and broadcasting from Wirecast.

    My Wirecast broadcast settings are:
    rtmp://ec2-23-22-248-192.compute-1.amazonaws.com/live
    see screenshot http://screencast.com/t/o3AXrOQc5

    my code is...
    http://screencast.com/t/quqllDYAvmE

    the webpage I am trying on is...
    http://www.hisvision.us/live/

    The server is on...
    And I have been able to do vod, so I know the server/wowza is working good.

    I was able to live stream a vod with the player....
    but I can't seem to find the exact code I need to live stream.

    Can you please help.

  2. #2

    Default

    Take a look at this tutorial for setting up your live stream:
    How to set up live streaming using an RTMP-based encoder

    And here is how to configure JW PLayer:
    How to use LongTail JW Player 6 with Wowza Media Server

    Salvadore
    Last edited by salvadore; 05-06-2013 at 11:41 AM.

  3. #3

    Default

    I was able to get this working with Flash Media live encoder and played it on my website, you may need to alter your code like this:

    Code:
    <div id="player">Loading the player...</div>
    
    <script type="text/javascript">
        jwplayer("player").setup({
       	sources: [{
                file: "rtmp://ip_address/live/myStream"
            }],
            rtmp: {
            bufferlength: 3
        },
        });
    </script>
    where ip_address is where the stream is coming from
    "live" is the name of the application
    and "myStream" is the name of the stream

  4. #4
    Join Date
    Mar 2013
    Posts
    6

    Thumbs up Answer

    Using Adobe Flash Media Encoder
    FMS URL: rtmp://YOUR_AMAZON_PUBLIC_DNS_ADDRESS/live
    Stream: somecode_here (automatically is in the setttings) http://screencast.com/t/4jIWwcRUdn8

    This is the answer...

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <script type="text/javascript" src="jwplayer/jwplayer.js"></script>
    <script type="text/javascript">jwplayer.key="YOUR_JW_KEY_HERE";</script>

    </head>
    <body>
    <div id='mediaplayer'></div>
    <script type="text/javascript">
    jwplayer('mediaplayer').setup({
    'id': 'playerID',
    'width': '640',
    'height': '480',
    'image': 'preview.jpg',
    'file': 'rtmp://ec2-23-22-248-192.compute-1.amazonaws.com/live/17183?w1Z8atu1PgO9ZxJu'
    });
    </script>
    </body>
    </html>
    in the fie:....
    17183?w1Z8atu1PgO9ZxJu17183 is the Stream found on the Flash Media Live Encoder Output Panel.
    see... http://screencast.com/t/4jIWwcRUdn8

    The JW 6 files can be downloaded on the JW site.

    And that's it.

    It plays great!!!

  5. #5
    Join Date
    Dec 2007
    Posts
    28,381

    Default

    Try taking out the "?" in the stream name. That is likely a problem.

    And look at the Wowza logs. When you push the "Start" button in the encoder, you see a publish event in Wowza logs. If you run Wowza in stand-alone (/bin/startup.bat) mode you can see log output in the console

    Richard
    Last edited by rrlanham; 05-06-2013 at 03:40 PM.

Tags for this Thread

Posting Permissions

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