Results 1 to 9 of 9

Thread: Incoming Security > RTMP Publishing > Require password authentication

  1. #1
    Join Date
    Nov 2014
    Posts
    10

    Default Incoming Security > RTMP Publishing > Require password authentication

    Hi, how to authenticate (Incoming Security > RTMP Publishing > Require password authentication) using AS3?

  2. #2

    Default

    Hello there and welcome to the Wowza support forum.

    I'm not exactly sure what you are asking, but we have several security options. The MediaSecurity package has ModuleRTMPAuthenticate:
    Media security overview

    Or these similar options:
    How to do file-based authentication with RTMP client and credentials in querystring of the RTMP URL (ModuleOnConnectAuthenticate2)
    How to configure security using Wowza Streaming Engine Manager (RTMP Publishing)
    How to do file-based authentication with RTMP client with credentials passed as parameters of NetConnection connect (ModuleOnConnectAuthenticate)

    If you are developing something or extending one of the above, you can get userAgent with client.getFlashVer() in onConnect, so you can tell if the client is an encoder that you want to allow.

    Kind regards,

    Salvadore

  3. #3
    Join Date
    Nov 2014
    Posts
    10

    Default

    Hello, salvadore!

    How do I use the security of RTMP Publishing with ActionScript?

  4. #4

    Default

    Wowza provides the source code for the different players that ship with each install. Take a look at the source code in [install-dir]/examples/LiveVideoStreaming/FlashRTMPPlayer/Live.flv and|or [install-dir]/examples/VideoOnDemandStreaming/FlashRTMPPlayer/VOD.flv

    I hope this answers your question.

    Kind regards,

    Salvadore

  5. #5
    Join Date
    Nov 2014
    Posts
    10

    Default

    The code is in the examples has no implementation of "RTMP Publishing" with "Require password authentication".
    Last edited by pork123; 12-16-2014 at 05:14 PM.

  6. #6
    Join Date
    Nov 2014
    Posts
    10

    Default

    Quote Originally Posted by pork123 View Post
    The code is in the examples has no implementation of "RTMP Publishing" with "Require password authentication".
    salvadore?

  7. #7

    Default

    Hello. I am sorry, I researched this a little further and from what I can tell, RTMP authentication is not supported in Flash applications.

    Again, there are alternatives:
    How to do file-based authentication with RTMP client and credentials in querystring of the RTMP URL (ModuleOnConnectAuthenticate2)
    Example AS to make authenticated RTMP connection:
    netconnection.connect("rtmp://[wowza-address]/[app-name]?user1&pass1");
    How to do file-based authentication with RTMP client with credentials passed as parameters of NetConnection connect (ModuleOnConnectAuthenticate)
    Example AS to create authenticated connection:
    var username:String = "user1";
    var password = "pass1";
    netconnection.connect("rtmp://[wowza-address]/yourApp",username,password);
    You will find more code examples in the comments of these articles.

    NOTE: These modules are compatible with the Wowza Streaming Engine Incoming Security > RTMP Publishing > Require Password Authentication setting. If you use this module, the RTMP Publishing setting must be set to Open.
    Kind regards,

    Salvadore

  8. #8

    Default

    this will fail hard when combining it with source security
    no solutions for this?

    when u put this to open all other source protection will allow all.

  9. #9

    Default

    Hi,

    The file-based query parameter authentication is basically a workaround for publishers that can't use the correct RTMP authentication process, so Incoming Security for RTMP does need to be set to open to allow this to happen. However, no publisher will be able to connect unless they pass valid credentials via the query parameters, e.g.

    rtmp://[wowza-ip]:1935/live/myStream?user1&pass1
    Paul

Similar Threads

  1. Password publishing from an rtmp encoder
    By user5050 in forum Wowza Media Server 3 for Amazon EC2 Discussion
    Replies: 20
    Last Post: 10-03-2013, 07:40 AM
  2. I am not able to secure RTMP publishing with password
    By kalmatv in forum Live Streaming and Encoder Discussion
    Replies: 1
    Last Post: 12-06-2012, 03:48 PM
  3. How do I require the secure token for rtmp publishing?
    By jpollard in forum General Forum
    Replies: 2
    Last Post: 01-20-2012, 07:27 AM
  4. Publishing password on rtmp server info
    By eluis2011 in forum Server Administration Discussion
    Replies: 1
    Last Post: 11-03-2011, 04:07 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
  •