Results 1 to 8 of 8

Thread: Wowza 3.1.2 and JW Player 6.3 issue

  1. #1

    Default Wowza 3.1.2 and JW Player 6.3 issue

    Hello,

    I am having problem with live video streaming. Player tries to play stream but the wheel constantly spins.
    Software that I 'm currently using: JW Player 6.3, Wowza 3.1.2 and Wirecast 4.1.3
    I have added Module Secure Token and set property according to instruction "How to add SecureToken Protection to LongTail JW Player 5"

    I have assumed that portion of the mentioned instruction that says about editing action script file does not apply to me because secure token value can be passed in the html file settings.

    <script type="text/javascript">
        jwplayer("mediaplayer").setup({
            file: "rtmp://mydomain.com:1935/live/",
            height: 285,
            image: "sample.jpg",
    	rtmp: {
            securetoken: "#ed%h0#w@1"
        },
            width: 380
        });
    </script>
    I am not sure what to do next in order to have this working...

    Thanks for any input.

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

    Default

    In JW Player 6 you have add the stream name to the rtmp url, it is not separated as it was in previous versions. If the stream name is "myStream", try this:

    <script type="text/javascript">
        jwplayer("mediaplayer").setup({
            file: "rtmp://mydomain.com:1935/live/myStream",
            height: 285,
            image: "sample.jpg",
    	rtmp: {
            securetoken: "#ed%h0#w@1"
        },
            width: 380
        });
    </script>
    More JW Player examples are here:
    http://www.wowza.com/forums/content....a-Media-Server

    Richard

  3. #3

    Default

    Richard thanks for suggestion.

    In old version I had:
    'file': 'live.sdp',
    'streamer': 'rtmp://mydomain.com:1935/live/'
    How do I know "myStrean" appropriate name?
    Am I correct thinking that I do not have to re-compile anything because JW Player has SecureToken in it?

  4. #4

    Default

    Hello,

    When I run on iOS device
    http://mydomain.info:1935/live/live.sdp/playlist.m3u8
    it work very well.

    I can not get it working on regular browsers.
    Thanks in advance for any suggestions.

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

    Default

    If that works directly in iOS browser, then this should work in iOS and desktop with JW Player 6:

    <html>
    <head>
    <title>JW Player 6</title>
    
    <script type="text/javascript" src="/jwplayer/jwplayer.js" ></script>
    <script>jwplayer.key="[jwplayer-key]"</script>
    </head>
    
    <body>
    
    <div id="player">Loading the player...</div>
    
    <script type="text/javascript">
        jwplayer("player").setup({
       	sources: [{
                file: "rtmp://mydomain.info:1935/live/live.sdp"
            },{
                file: "http://mydomain.info:1935/live/live.sdp/playlist.m3u8"
            }]
        });
    </script>
    </body>
    </html>
    Richard
    Last edited by rrlanham; 04-03-2013 at 02:36 PM.

  6. #6

    Default

    Hello Richard,

    I have implemented the code as you suggested above.
    It works on iOS devices but it does not on desktop. With this code I get an error in the JW player "Error loading stream: Could not connect to server".

    Here you can see exact code I have:
    <!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>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Antiquorum - video</title>
    <script type="text/javascript" src="jwplayer.js"></script>
    <script type="text/javascript">jwplayer.key="key";</script>
    </head>
    <body>
    
    
    <div id="player">loading...</div>
    
    <script type="text/javascript">
            jwplayer("player").setup({
            sources: [{
                file: "rtmp://mydomain.info:1935/live/live.sdp"
            },{
                file: "http://mydomain.info:1935/live/live.sdp/playlist.m3u8"
            }],
            height: 285,
            width: 380,
            rtmp: {
            securetoken: "#ed%h0#w@1"
        }
        });
    </script>
    
    
    </body>
    </html>
    I am not sure what is wrong since I spent couple of hours on it and read number of manuals.
    I am out of ideas.

    Please help.
    Thanks for your help

  7. #7

    Default

    Hello,

    I have updated Wirecast to 4.2.5 but still no luck...

    Guys any suggestions please...

    Thanks

  8. #8

    Default

    Hello,

    I have eliminated code from "Application.xml" file.

    <Module>
    <Name>ModuleSecureToken</Name>
    <Description>ModuleSecureToken</Description>
    <Class>com.wowza.wms.plugin.security.ModuleSecureToken</Class>
    </Module>
    
    <Property>
    <Name>secureTokenSharedSecret</Name>
    <Value>#ed%h0#w@1</Value>
    </Property>
    And from html file

    rtmp: {
    securetoken: "#ed%h0#w@1"
    }
    And stream is working on desktop with JW Player 6.3, Wowza 3.1.2 and Wirecast 4.1.3.

    The only problem is that it brakes for half of the second time to time.
    Is there anything I can do with this?

    Thanks

Similar Threads

  1. WOWZA 3.1, FMLE 3.2, smooth streaming, silverlight/windowsphone/win8 player issue
    By Radek Novotny in forum Live Streaming and Encoder Discussion
    Replies: 1
    Last Post: 10-04-2012, 11:06 AM
  2. Digital Rapids - Wowza - Strobe Player Compatibility Issue
    By Mike-m in forum Live Streaming and Encoder Discussion
    Replies: 7
    Last Post: 10-28-2011, 01:47 PM

Posting Permissions

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