Results 1 to 2 of 2

Thread: Custom Socket Server under server-side Wowza Module

  1. #1
    Join Date
    Mar 2015

    Default Custom Socket Server under server-side Wowza Module

    Dear colleagues
    I have question, that is caused (may be) by lack of experience in Wowza. I have working Wowza application and server-side module within it, that contains my customized onAppStart-method of my application. I inserted code into onAppStart, that creates and starts Java ServerSocket on some port (for example, 1990). Operation system is Linux. After Wowza had started, process on this port is seen by netstat-command, but it does not respond on client requests! When I try, "telnet 1990" or try to reach port 1990 with some client java-code, accept-method of my ServerSocket is not fired, and client has not any response. But, when I run this server code as separate java-program (not related to Wowza) from command-line, that is all OK: accept-method fires on the server-side and all clients get responses, What is reason? May be, this trick is generally forbidden for Wowza and wowza proposed it's own means for sockets on the server side? Of course, I know about HTTP Providers, but I do not understand, how to identify and store client of HTTPProvider in order to maintain chain of requests from the same client. That is why I want to write my own socket server. I also known about mina-package, but I have not found any tutorials and code samples. Could you explain, how I can make working serversocket, starting from Wowza module or correctly apply some other approach?
    Sincerely, Iliya

  2. #2



    Not quite what you're asking, but could creating your own HostPort be an alternative option? This will create the socket for you. It would then be up to you to determine what to do when connections come in to that port, maybe via a custom Host Provider/event listener.


Similar Threads

  1. Problem using GoCoder with custom server module
    By jvstockley in forum Wowza Streaming Server Java API
    Replies: 4
    Last Post: 05-07-2014, 09:30 AM
  2. Custom Server-side Module Operations not showing up through JMX
    By carlosvelez in forum Server-side Modules and Code Samples Discussion
    Replies: 9
    Last Post: 02-02-2014, 02:03 AM
  3. Obfuscating wowza server side module
    By nitinkaplan in forum Server-side Modules and Code Samples Discussion
    Replies: 1
    Last Post: 05-04-2012, 04:53 AM

Posting Permissions

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