WebRTC to RTMP

1,013 views
Skip to first unread message

Christian Colon

unread,
Mar 19, 2020, 8:50:49 AM3/19/20
to Ant Media Server
Hi, I'm new to these protocols so please bear with me, Reading through AMS docs it seems this feature is available in Community Edition, but I'm having trouble finding any documentation on how to implement it. 
What I'm attempting to do is stream video(publish) WebRTC from a users browser(webcam) to AMS and then have AMS forward that stream to an rtmp server url that I provide. Is this possible in Community Edition? Any Suggestions on where I can find this documentation? Any other tips?  Thank you!

Christian Colon

unread,
Mar 19, 2020, 8:57:46 AM3/19/20
to Ant Media Server
Also, I've seen that AMS supports streaming to social media sources, Community only supporting periscope, Enterprise also supporting facebook and youtube live. But the docs also mention streaming to a generic rtmp server I believe this is what I'm looking for. 

Pascal Niehof

unread,
Mar 25, 2020, 9:25:03 AM3/25/20
to Ant Media Server

Brian Yetter

unread,
Apr 6, 2020, 1:41:47 PM4/6/20
to Ant Media Server
Hello Pascal,

I am also trying to publish a WebRTC stream and consume it from RTMP endpoint.

I went through the tutorial you linked but was unable to play the stream from the rtmp endpoint. I tried the following endpoints in VLC from the network stream playback option:

rtmp://localhost/WebRTCApp/stream1 live=1
rtmp://localhost/WebRTCApp/stream1?live=1
rtmp://localhost/WebRTCApp/stream1/live=1

I am using the community edition. Perhaps the tutorial is outdated or enterprise edition is required?

Paul

unread,
Apr 6, 2020, 3:52:06 PM4/6/20
to Ant Media Server
I had some success tonight with getting a stream to publishing using OBS: (Using the community edition)

I set the Server to the following screenshot 

Custom Service:
rtmp://YOURSERVERORIP/WebRTCApp


and the Server key I obtained from the management console inside Ant Media Server. 

Screenshot 2020-04-06 at 20.49.21.png

Brian Yetter

unread,
Apr 6, 2020, 8:15:16 PM4/6/20
to Ant Media Server
Hey Paul,

I believe that what you are doing is publishing with RTMP from OBS. I have also had success with that method.
I am trying to publish with WebRTC from a web browser


and then view the stream with RTMP.

Theodore Quentin Evelyn- Rahr

unread,
Jul 25, 2020, 8:51:14 AM7/25/20
to Ant Media Server
I am also looking for a way to re-stream to a generic rtmp server EG. twitch

girish solanki

unread,
Jul 27, 2020, 12:28:07 PM7/27/20
to Ant Media Server
I can help you 

girish solanki

unread,
Jul 27, 2020, 12:30:37 PM7/27/20
to Ant Media Server
Hello Guys 

I can help you using webrtc to antmedia and antmedia to youtube.. whatsapp me I will help you +919558586709

Selim Emre

unread,
Jul 28, 2020, 6:34:53 AM7/28/20
to Ant Media Server
Reply all
Reply to author
Forward
0 new messages