How to publish RTMPS
Please follow the below steps to publish the RTMPS stream to Ant Media Server:
-
Enable SSL on the server. Please check out here for SSL installation.
-
Open TCP port 8443 for RTMPS on the firewall where AMS is hosted.
-
Edit
red5-core.xml
file located under the/usr/local/antmedia/conf
directory and uncomment the RTMPS beans as mentioned in the below links.
https://github.com/ant-media/Ant-Media-Server/blob/master/src/main/server/conf/red5-core.xml#L139
https://github.com/ant-media/Ant-Media-Server/blob/master/src/main/server/conf/red5-core.xml#L178
-
Save the file and restart the server with
sudo service antmedia restart
-
Now you can publish the stream to the server with
rtmps://Domain-Name:8443/LiveApp/streamId