Wowza Community

WebRTC Stream to OBS with Wowza?

I’m not really sure what I need at this point and am hoping someone can help me figure that out.

I have an app which allows WebRTC streaming. I want to be able to stream that WebRTC connection to Open Broadcast Studio. Open Broadcast Studio does not accept WebRTC streams, so I need to first convert it to RTMP, I think. Is this possible with Wowza? And what kind of latency would I be experiencing? For a small app like this, would the cloud solution or the engine be a better choice?

Thanks!

I’m having trouble understanding this workflow. Is the following correct?

WebRTC Publish (capture) > Wowza (RTMP out) > OBS

We just published guidance for RTMP ingest + WebRTC playback, which doesn’t sound like what you are looking for but I’ll link it just in case I’m not understanding your workflow. https://www.wowza.com/docs/ingest-rtsp-srt-or-rtmp-streams-into-wowza-streaming-engine-for-playback-with-webrtc

So the workflow looks like this:

WebRTC chat between two users => converted to RTMP (or whatever format OBS will accept) => OBS => Stream output to Social Media Platforms. Basically what you said above. I’m hoping to do this in as close to real-time as possible. The more I think about it, the less it sounds possible. But I thought I’d ask.

Wowza will be able to support this workflow, but I’m not sure about the latency. You can always test this with a Wowza Streaming Engine Dev Trial if you do not have an account. Wowza.com/developer for more info!

As @Amara Graham said, yes, Wowza will convert your WebRTC stream to RTMP if you need to use OBS.

Wowza Streaming Engine can ingest source WebRTC audio and video content and deliver it to supporting players. It can also transmux or transcode WebRTC to other streaming protocols, including HLS, HDS, RTMP, RTSP, and Microsoft Smooth Streaming

https://www.wowza.com/docs/how-to-use-webrtc-with-wowza-streaming-engine

But, in your case, you will need to be able to create a websocket connection to get the stream from your app. Typically, we’d ingest WebRTC stream from a browser, not an app. So, this will take some extra work or you may want to look for:

  1. WebRTC SDK to build your app

  2. Find an app that allows video chat and see if it offers a way to send that directly to Wowza as RTMP or RTSP and we can play it back on social media as a stream target.

I suggest you attend the free Wowza WebRTC webinar tomorrow that will show live demos of all you can do with WebTC in various workflows. Our WebRTC engineers will be taking questions as well.


But, to try and share a real time video chat with WebRTC from your phone to social media is not an easy task without a WebRTC SDK and you may want to submit a support ticket to ask about it or post in our public Slack channel.