Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

How to get public IP in RTMP URL in broadcast object?

When calling get broadcast object rest API, the RTMP Url in response shows private IP instead of public IP like below

"rtmpURL": "rtmp://172.58.0.1/LiveApp/test",

Is there anyway we can get public IP address?

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

Thank you for this question.

You can get the public IP by declaring globalIp

Please go to <AMS_DIR>/conf/red5.properties

i.e., /usr/local/antmedia/conf/red5.properties

Edit the properties file and Set useGlobalIp=true

save the settings

restart AMS with sudo service antmedia restart

Thank you

antmedia.io

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading