Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: User Authentication

  1. #1

    Default User Authentication


    This forum post has moved to the following article:

    http://www.wowzamedia.com/forums/content.php?131

    Enjoy,
    The Wowza Team
    Last edited by charlie; 10-04-2010 at 11:20 AM.

  2. #2

    Question graceful connection rejection

    Hi,
    is there a way to pass a parameter back to the client which can be used to detect the reason for disconnection?
    i would love to be able to tell my client if his connection was rejected due to authentication error / if it was rejected by some other reason (i am using other server side modules too like limiting maximum number of connections). I was hoping to find a way to return a parameter to the client from the onConnect method .. when the connection is rejected.

    Any help in this direction would be greatly appreciated.

    (I am a veteran at java, rookie at wowza and novice at best at action script)

    thanks,
    Addy

  3. #3

    Question sendClientOnStatusError(client, code, description)

    I stumbled upon this method while digesting the wowza apis.. am I moving in the right direction?

  4. #4

    Default

    http://www.wowzamedia.com/forums/showthread.php?t=7051

    on the above thread Charlie has used the piece of code sendStreamOnStatusError(stream, "NetStream.Play.Failed", "Access denied: "+streamName);

    which looks like some way of telling the client "ACCESS DENIED" ... am hoping to find something similar.. but inside the onConnect method. In charlie's code the play method has been overridden.

    Help!!

    thanks.
    Addy

  5. #5

    Default

    Take a look at the server-side API. There are several variations of the method IClient.rejectConnection that will send back the proper error status.

    Charlie

  6. #6

    Default

    can I just call a client Method (which is defined inside the client CustomNetConnection class) inside the onConnect so I would tell the client the reason of rejection/acceptance ?

  7. #7

    Default

    Thanks!! a ton!!

  8. #8
    Join Date
    Dec 2007
    Posts
    25,640

    Default

    omuleanu,

    See this post for an example:
    http://www.wowzamedia.com/forums/showthread.php?t=6875

    Code:
    sendClientOnStatusError(client, "NetStream.Play.Failed", "The client IP was rejected");
    Richard

  9. #9
    Join Date
    Apr 2010
    Posts
    1

    Default

    thanks rrlanham for sharing link here...use full for me too

  10. #10
    Join Date
    Apr 2010
    Posts
    2

    Default

    Quote Originally Posted by rrlanham View Post
    omuleanu,

    See this post for an example:
    http://www.wowzamedia.com/forums/showthread.php?t=6875

    Code:
    sendClientOnStatusError(client, "NetStream.Play.Failed", "The client IP was rejected");
    Richard
    Thanks! Helped a lot.

Page 1 of 2 12 LastLast

Posting Permissions

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