Results 1 to 10 of 10

Thread: help for wowza server

  1. #1
    Join Date
    Jan 2012
    Posts
    11

    Default help for wowza server

    good night all
    i have a wowza server and work very very good
    i have a 10 clients viewing my live stream like this
    rtmp://127.0.0.0/live/mbc

    i want to make a user name and password for my clients like this
    rtmp://127.0.0.1/live/mbc?user1=pass1

    i search in the internt but i cant find the help

    plesae help for this
    regards

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

  3. #3
    Join Date
    Jan 2012
    Posts
    11

    Default thanks for you

    the firest thanks very much for you replay
    i use it http://www.wowza.com/forums/content....-password-file
    but the error

    INFO server comment - Wowza Media Server is started!
    INFO server comment - ModuleRTMPAuthenticate.onAppStart: SecureToken is on
    INFO server comment - ModuleRTMPAuthenticate.onAppStart: Authorization password file: /usr/local/WowzaMediaServer/conf/publish.password
    INFO server comment - ModuleOnConnectAuthenticate: Authorization password file: /usr/local/WowzaMediaServer/conf/connect.password
    INFO application app-start _definst_ password/_definst_
    INFO session connect-pending 41.129.53.156 -
    INFO server comment - size: 3
    ERROR server comment - ModuleOnConnectAuthenticate.onConnect: java.lang.ArrayIndexOutOfBoundsException: 1
    INFO session connect 41.12.33.156 -
    INFO session disconnect 1615568673 -
    INFO session connect-pending 41.129.53.156 -
    INFO server comment - size: 3
    INFO session connect 41.12.33.156 -
    INFO session disconnect 433175255 -
    INFO session connect-pending 41.129.53.156 -
    INFO server comment - size: 3
    INFO session connect 41.12.33.156 -
    INFO session disconnect 897719755 -


    when i strat a encoder please help
    Last edited by bika2008; 01-20-2012 at 11:31 AM.

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

    Default

    I can't tell which one you are using. There are two examples that are very similar, except one passes user name and password as parameters of rtmp connect, and the other as querystring of the rtmp connect string. The querystring version is easier to use if are not working with Actionscript of the player

    Querystring method:
    http://www.wowza.com/forums/content....-password-file

    Param method:
    http://www.wowza.com/forums/content....-password-file

    Richard

  5. #5
    Join Date
    Jan 2012
    Posts
    11

    Default

    thanks very much for replay
    i uesd this http://www.wowza.com/forums/content....-password-file
    and it is very good
    and server start good
    but when i strart encoder flash media encoder INFO session connect-pending
    i use a verison wowza 3.0.3 dos it support the flash media encoder
    This is a file based, username/password authentication method that you can use with Flash applications and encoders that make RTMP connections to Wowza Server.

    The difference in this version 2 from the original is only that username and password are added to connection url as querystring, instead of paramaters of NetConnection.connect. This method can be used as an alternative to ModuleRTMPAuthenticate method in the Wowza MediaSecurity AddOn for encoders that do not support username/password authentication.

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

    Default

    Not sure what you are asking. And I can't tell what guide you are following because the links you are copying in are broken

    Richard

  7. #7
    Join Date
    Jan 2012
    Posts
    11

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

    Default

    In the encoder set the user name and password in the RTMP url. You might want to add app instance, like this:

    rtmp://[wowza-address]:1935/live/_definst_/?richard&mypassword
    Richard

  9. #9
    Join Date
    Jan 2012
    Posts
    11

    Default

    thanks very much it work very good and start encoder good
    but when i want to play stream cant be played

    i use it for my client rtmp://127.0.0.1/live/mbc?user1&pass1

    can you help me for this

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

    Default

    Change the encoder to same application instance "mbc" instead of "_definst_". That part has to be the same in both.
    rtmp://[wowza-address]:1935/live/mbc/?user1&pass1
    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
  •