• SEARCH
  • DOWNLOADS
  • MY ACCOUNT
  • Buy (0)
  • CONTACT
  • Free Trial
Wowza Logo
  • PRODUCTS
  • DEVELOPER
  • SOLUTIONS
  • PRICING
  • RESOURCES
  • SUPPORT
  • My Account
  • Buy (0)
  • SEARCH
  • Ask a question
  • Forums
    • Wowza ClearCaster
    • Wowza Streaming Engine
    • Wowza Streaming Cloud
    • Wowza Player
    • Wowza GoCoder SDK
    • Wowza Developer Dojo
    • Topics
    • Questions
    • Articles
    • Users
    • Badges
  • Sign in
  • Community Home /
  • Wowza Developer Dojo /
  • Wowza Streaming Server Java API /
avatar image
Question by Roger Littin · May 06, 2007 at 11:35 PM · wowza streaming server java api

User Authentication

[wowzathreadtoarticleredirect]131[/wowzathreadtoarticleredirect]
Comment

People who like this

0 Show 0
10 |600 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

7 Replies

· Add your reply
  • Sort: 
avatar image

Answer by Charlie Good · Jan 04, 2010 at 04:21 AM

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
Comment

People who like this

0 Show 1 · Share
10 |600 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Aditya Goyal · Jan 12, 2010 at 08:52 PM 0
Share
Thanks!! a ton!!
avatar image

Answer by Aditya Goyal · Jan 04, 2010 at 08:47 AM

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
Comment

People who like this

0 Show 2 · Share
10 |600 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Aditya Goyal · Jan 04, 2010 at 09:30 AM 0
Share
I stumbled upon this method while digesting the wowza apis.. am I moving in the right direction? :confused:
avatar image Aditya Goyal Aditya Goyal · Jan 04, 2010 at 09:33 AM 0
Share
http://www.wowza.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
avatar image

Answer by Omu Omuleanu · Jan 12, 2010 at 11:22 AM

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 ?
Comment

People who like this

0 Show 0 · Share
10 |600 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image

Answer by Richard Lanham · Jan 12, 2010 at 03:28 PM

omuleanu,

See this post for an example:

http://www.wowza.com/forums/showthread.php?t=6875

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


Richard
Comment

People who like this

0 Show 3 · Share
10 |600 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image george.mikal mikal · Apr 16, 2010 at 03:52 AM 0
Share
thanks rrlanham for sharing link here...use full for me too
avatar image Andrew Stewrt · Apr 30, 2010 at 03:32 AM 0
Share
omuleanu,

See this post for an example:

http://www.wowza.com/forums/showthread.php?t=6875

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


Richard


Thanks! Helped a lot.
avatar image gary goodger Andrew Stewrt · Sep 12, 2010 at 03:43 AM 0
Share
Hi,

I want to add SQL user authentication to my membership website.

Is there anyone who could assist me? On here, email or via msn?
avatar image

Answer by Ian Beyer · Sep 12, 2010 at 10:15 AM

That sounds like a job for a content management platform such as Drupal or PHPNuke.
Comment

People who like this

0 Show 1 · Share
10 |600 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image gary goodger · Sep 12, 2010 at 08:30 AM 0
Share
That sounds like a job for a content management platform such as Drupal or PHPNuke.


Hi mate,

I run Amember, its similar to PHPnuke and should work in the same way database wise.

Would this script work with it?
avatar image

Answer by Ian Beyer · Sep 12, 2010 at 10:35 AM

I'd imagine so, if you can query the user table in the CMS database.
Comment

People who like this

0 Show 1 · Share
10 |600 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image gary goodger · Sep 12, 2010 at 08:55 AM 0
Share
well currently I have icecast linking off the database and it works fine.

Now I need to find someone willing to help me install flash/wowza/authentication as I cant even get flash installed on my servers!

Tried both CentOS and Debian :(!!
avatar image

Answer by John West · Sep 12, 2010 at 11:33 AM

Hi,

Someone may reply here on the forums and offer to handle your project.

If not, if you need a list of independent consultants who may be willing to bid on your task, please send an email to me at: sales -at- WowzaMedia -dot- com.

Yours,

John West
Comment

People who like this

0 Show 1 · Share
10 |600 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image gary goodger · Sep 12, 2010 at 09:46 AM 0
Share
I have emailed you John Thanks :)

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

ModuleRTMPAuthenticate.onConnect 5 Answers

Module Collection 22 Answers

command line JMX applet to start/stop recording via ModuleLiveStreamRecord 7 Answers

Live log monitor 3 Answers

My first Module 1 Answer

Hot Topics
  • AWS Hosting
  • Mobile SDK
  • Deployment Options
  • Load Balancing
  • Content Security
Product Sign-in
  • Wowza Streaming Cloud
  • Wowza Player
Under the Hood
  • Developer Tools
  • Wowza System Status
  • Test Players
  • Developer IDE
Resellers
  • Find a Reseller
  • Reseller Portal
  • Become a Reseller
Company
  • About Us
  • Blog
  • News
  • Events
  • Careers
  • Customers
  • Partners
  • Contact Us
Stay Connected
Get Monthly Newsletter
Select a Language
  • English
    • English
    • Español
    • 日本語
    • 한국어
    • हिन्दी भाषा
    • 中文
    • русский язык

© 2005–2019 Wowza Media Systems, LLC. All rights reserved.   Terms | Privacy | Trademarks | Legal


Enterprise
Social Q&A

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Create an article
  • Forums
  • Wowza ClearCaster
  • Wowza Streaming Engine
  • Wowza Streaming Cloud
  • Wowza Player
  • Wowza GoCoder SDK
  • Wowza Developer Dojo
  • Explore
  • Topics
  • Questions
  • Articles
  • Users
  • Badges