Results 1 to 4 of 4

Thread: Trouble authenticating with client side NetConnection

  1. #1
    Join Date
    Dec 2011

    Default Trouble authenticating with client side NetConnection

    I'm trying to publish a live stream, but keep getting NetStream.Publish.Failed.

    I'm able to properly connect, but the publish fails due to the required authentication.

    This works fine in adobe live media encoder, but that doesn't help since I want to broadcast from the flash player.

    How do I pass the username and password to wowsa using the NetConnection object?

    I tried nc.connect(serverUrl, username, password); but it doesn't seem to work.

    I've also tried removing the 2nd and 3rd param and adding them onto the serverUrl as params like some CDNs allow.... no luck.

    Maybe I need to use headers?

    Any ideas?


  2. #2
    Join Date
    Dec 2007


    Take a look at this method instead:


  3. #3
    Join Date
    Dec 2011


    I'm using NetDNA cdn. They confirmed they are using ModuleRTMPAuthenticate and are unable to change it.

    Can you provide any direction on how to pass the user/pass through the NetConnection object?

    There must be some example source somewhere.


  4. #4


    We do not have instructions for how to authentication client side against the adobe method of authentication. It is not as simple as sending teh username/password in a header. It uses a challenge/response authentication method that we do not provide documentation for.


Similar Threads

  1. How to call a server side method using JavaScript instead of Flash's NetConnection?
    By slalompoint in forum Server-side Modules and Code Samples Discussion
    Replies: 4
    Last Post: 12-17-2011, 04:14 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