Jump to content
  • 0

WebRTC to RTMP


Christian Colon
 Share

Question

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!
Link to comment
Share on other sites

  • Answers 11
  • Created
  • Last Reply

Top Posters For This Question

11 answers to this question

Recommended Posts

  • 0
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. 

On Thursday, March 19, 2020 at 8:50:49 AM UTC-4, Christian Colon wrote:
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!
Link to comment
Share on other sites

  • 0
Hi Christian, 

please look here:


Regards


Am Donnerstag, 19. März 2020 13:50:49 UTC+1 schrieb Christian Colon:
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!
Link to comment
Share on other sites

  • 0
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?

On Wednesday, March 25, 2020 at 9:25:03 AM UTC-4, Pascal Niehof wrote:
Hi Christian, 

please look here:


Regards


Am Donnerstag, 19. März 2020 13:50:49 UTC+1 schrieb Christian Colon:
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!
Link to comment
Share on other sites

  • 0
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. 




On Monday, 6 April 2020 18:41:47 UTC+1, Brian Yetter wrote:
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?

On Wednesday, March 25, 2020 at 9:25:03 AM UTC-4, Pascal Niehof wrote:
Hi Christian, 

please look here:


Regards


Am Donnerstag, 19. März 2020 13:50:49 UTC+1 schrieb Christian Colon:
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!



498922625_Screenshot2020-04-06at20_49_21.png.2c9915e057b990c3dc850f1594054804.png

Link to comment
Share on other sites

  • 0
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.


On Monday, April 6, 2020 at 3:52:06 PM UTC-4, Paul wrote:
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




On Monday, 6 April 2020 18:41:47 UTC+1, Brian Yetter wrote:
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?

On Wednesday, March 25, 2020 at 9:25:03 AM UTC-4, Pascal Niehof wrote:
Hi Christian, 

please look here:


Regards


Am Donnerstag, 19. März 2020 13:50:49 UTC+1 schrieb Christian Colon:
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!
Link to comment
Share on other sites

  • 0
I am also looking for a way to re-stream to a generic rtmp server EG. twitch

On Thursday, 19 March 2020 12:57:46 UTC, Christian Colon wrote:
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. 

On Thursday, March 19, 2020 at 8:50:49 AM UTC-4, Christian Colon wrote:
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!
Link to comment
Share on other sites

  • 0
I can help you 

On Tuesday, April 7, 2020 at 5:45:16 AM UTC+5:30, Brian Yetter wrote:
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.


On Monday, April 6, 2020 at 3:52:06 PM UTC-4, Paul wrote:
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




On Monday, 6 April 2020 18:41:47 UTC+1, Brian Yetter wrote:
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?

On Wednesday, March 25, 2020 at 9:25:03 AM UTC-4, Pascal Niehof wrote:
Hi Christian, 

please look here:


Regards


Am Donnerstag, 19. März 2020 13:50:49 UTC+1 schrieb Christian Colon:
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!
Link to comment
Share on other sites

  • 0
Hello Guys 

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

On Thursday, March 19, 2020 at 6:20:49 PM UTC+5:30, Christian Colon wrote:
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!
Link to comment
Share on other sites

  • 0
Hi Theodore,


Best Regards,
Selim

On Saturday, July 25, 2020 at 3:51:14 PM UTC+3, Theodore Quentin Evelyn- Rahr wrote:
I am also looking for a way to re-stream to a generic rtmp server EG. twitch

On Thursday, 19 March 2020 12:57:46 UTC, Christian Colon wrote:
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. 

On Thursday, March 19, 2020 at 8:50:49 AM UTC-4, Christian Colon wrote:
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!
Link to comment
Share on other sites

  • 0
Hey there!

I was able to make RTMP publish and play, also got to publish RTMP and play HLS, but somehow I can't make a WebRTC publish and play RTMP.

I get the RTMP viewer badge, but no video appears on VLC.
EmbeddedImages-72/0.jpg

Is there anything wrong?
Does AMS support it?


Thanks!!

Daniel Biagi
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share


×
×
  • Create New...