Page 1 of 3 123 LastLast
Results 1 to 10 of 23

Thread: Connections AutoAccept false Problem

  1. #1
    Join Date
    Apr 2009
    Posts
    12

    Default Connections AutoAccept false Problem

    Hi, i've been tryng doing a user authentication using the information in POST "User Authentication", but when i set my tag "Connections AutoAccept" to false in my application.xml, i'm not able to connect to my Stream anymore, even if i set my client.acceptConnection() (in the module i'm developing).

    I'd like to know if i'm doing something wrong, because even when i use a simple module i can't connect to my stream.

    Thanks in advance!

  2. #2
    Join Date
    Dec 2007
    Posts
    25,886

    Default

    Not sure what the problem is, but it does work as you indicate:

    If /conf/[app-name]/Application.xml /Connections /AutoAccept = "true", then all Flash RTMP connections are accepted unless you reject them in onConnect.

    If /conf/[app-name]/Application.xml /Connections /AutoAccept = "false", then all Flash RTMP connections are rejected unless you accept them in onConnect.

    Richard

  3. #3
    Join Date
    Apr 2009
    Posts
    12

    Default

    Thanks Richard it's working now, but i have another question, i'd like to do my wowza module send some information to an aspx page and get the result of this request. Is it possible?

  4. #4
    Join Date
    Dec 2007
    Posts
    25,886

    Default

    You can use Wowza HTTPUtils or other Java APIs for loading http url and processing results, but it is not a great idea in a Wowza application module. A JDBC connection might be a little better but should also be used sparingly.

    Richard

  5. #5
    Join Date
    Apr 2009
    Posts
    12

    Default

    Do you have an example of how to do this?

  6. #6
    Join Date
    Apr 2009
    Posts
    12

    Default

    Hi Richard i could do it!

    Thanks

  7. #7
    Join Date
    Apr 2009
    Posts
    12

    Default

    Hi Richard i've developed this wowza module, while i'm using withe eclipse and my wowza server is stopped, i could be able of using it but when i close my eclipse and start my wowza service, i can't get using it anymore. Do i have to do something in order ro use it in a production enviroment?

    Thanks in advance!

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

    Default

    Make sure the Wowza IDE is writing the .jar file to the same version of Wowza that you are starting. Look in the [wowza-install-dir]/lib folder for the [project-name].jar file. It might be in another Wowza lib folder, one that was install when you first installed the IDE. If so you can just copy it to the correct location, and restart Wowza, and you should adjust in the IDE build.xml file.

    Richard

  9. #9
    Join Date
    Apr 2009
    Posts
    12

    Default

    Hi Richard my .jar file is in the lib folder (That's the location - C:\Program Files (x86)\Wowza Media Systems\Wowza Media Server 3.0.5\lib). When i use it with eclipse it works fine but when i startup my wowza server it doesn't work and i'm not able to connect to stream. In this project i don't have any sort of code just the standard when i create a new project (dosomething, onAppStart, onAppStop, onConnect, onConnectAccept, onConnectReject, onDisconnect).

    Thanks

  10. #10
    Join Date
    Dec 2007
    Posts
    25,886

    Default

    Did you add a Module to the Application.xml Modiules list to load a class from the jar?

    If you haven't already, go through this short guide:
    http://www.wowza.com/uploads/develop...UsersGuide.pdf

    Richard
    Last edited by rrlanham; 04-11-2012 at 11:59 AM.

Page 1 of 3 123 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
  •