A
A
Alexander Mylchenko2016-02-09 16:50:15
RTMP
Alexander Mylchenko, 2016-02-09 16:50:15

Why is Wowza "jamming" rtmp communication because of the WebSocket server in the control module?

Good afternoon, Implemented a WebSocket server for the flow control module. This was necessary to be able to connect directly to the flow control program on the Wowza server using the java script websocket.

public class WowzaApplication extends ModuleBase
{
  public void onAppStart( IApplicationInstance appInstance )
  {
     // грубый пример, запуска WebSocket сервера ;
     String host = "localhost" ;
     int port = 8085 ;
     new WebSocketServer( host , port) ;
  }
}


If the WebSocketServer server is enabled - rtmp stops working (users cannot connect to the rtmp server), but - websocket data transfer works;

And vice versa, if WebSocketServer is off - rtmp works (connections and data transport are in perfect order);

Nothing is written in the log, I can’t understand where to look for the problem, please tell me who faced the problem;)

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question