Results 1 to 8 of 8

Thread: JWPlayer and ModuleOnConnectAuthenticate2 , the link in jwplayer does not work, why?

  1. #1

    Default JWPlayer and ModuleOnConnectAuthenticate2 , the link in jwplayer does not work, why?

    My stream was running fine without password, then I use ModuleOnConnectAuthenticate2

    The publish part with Flash is successful using username and password with the module. Now I am on the playing part with JW Player.

    In JWPlayer script, I use this link

    rtmp://link/appname?username=user1&password=user1pass/mp4:dev_one

    The above link does not work. I got the error: Error loading stream , Could not connect to server. What can I do for this to work ? The username and password that I entered is correct.

  2. #2
    Join Date
    Jun 2012
    Posts
    724

    Default

    Hi,

    Have you tried using this playback URL?
    rtmp://link/appname/mp4:dev_one?username=user1&password=user1pass
    Zoran

  3. #3

    Default

    I tried the link you gave also , but it did not work either. The same error appeared : Error loading stream , Could not connect to server. I want to state again that the Flash publisher using Action Script is successful using these username and password. I can see there is one incoming stream in the Wowza Streaming Engine Manager.
    Last edited by todafuture; 06-18-2015 at 11:40 PM.

  4. #4

    Default

    The link should have the format that the tutorial ModuleOnConnectAuthenticate2 mention appname/?username&password/mp4:....
    VLC can play this link --> this link works , but JWPlayer and videoJS, both can not play this link ????? (Note: I have tried JWPlayer and videojs with sample links, and they worked.)

    Please help me to resolve this. Thank you.

  5. #5

    Default

    I found out the solution for JWPlayer, for VideoJS probably there will be a fix because of the way they separate connection and stream with the first &.
    For JWPlayer, the / before the mp4: has to be removed to run. For VLC , the / has to be there to run.

  6. #6
    Join Date
    Jun 2012
    Posts
    724

    Default

    Hello,

    Thank you for the update.
    For future reference, can you post the playback URL you were using so that other forum users might benefit from your findings?

    Thank you,
    Zoran

  7. #7

    Default

    THe RTMP link for JWPlayer is rtmp://wowzaadd:1935/appname/?username&passwordmp4:... (note there is no / between password and mp4)
    The RTMP link for VLC is rtmp://wowzaadd:1935/appname/?username&password/mp4:...
    For VideoJS, currently there is no way because videojs separates connection and stream with the first &.

  8. #8
    Join Date
    Jul 2015
    Posts
    1

    Default

    Quote Originally Posted by todafuture View Post
    THe RTMP link for JWPlayer is rtmp://wowzaadd:1935/appname/?username&passwordmp4:... (note there is no / between password and mp4)
    The RTMP link for VLC is rtmp://wowzaadd:1935/appname/?username&password/mp4:...
    For VideoJS, currently there is no way because videojs separates connection and stream with the first &.
    Thank you very much!

Similar Threads

  1. Replies: 5
    Last Post: 06-04-2015, 02:31 AM
  2. Replies: 8
    Last Post: 10-26-2012, 08:42 AM
  3. Why Wowza for VOD? JWPlayer examples just link straight to files.
    By tripleaaadelay in forum Video On Demand Streaming Discussion
    Replies: 2
    Last Post: 06-26-2012, 05:37 PM
  4. MediaCache does not work http URL ( Item does not exist )
    By huge123 in forum Server-side Modules and Code Samples Discussion
    Replies: 3
    Last Post: 12-19-2011, 05:43 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
  •