The server.xml file, available in the ./conf/rtmp/ folder, enables the RTMP server in the packager.
| Configuration | Optional | Default | Description |
|---|---|---|---|
| //Config/Port | Yes | 1935 | The port on which the RTMP server will listen for incoming connections. |
| //Config/InterfaceAddress | Yes | 0.0.0.0 | The IP address of the interface on which the RTMP server will listen. |
| //Config/WorkerThreadCount | Yes | 2 processors | No of threads available to the RTMP server thread pool. |
| //Config/SocketReceiveBuffer | Yes | 1MB | Size of the TCP Socket receive buffer. |
<Config> <!-- IP address to set the RTMP server to listen on --> <InterfaceAddress></InterfaceAddress> <!-- The RTMP server listens for incoming requests on this port --> <Port>1935</Port> </Config>