Wowza Community

webrtc streaming setup

I’m looking to stream webrtc into wowza, then use an HTTP Origin Server to serve that stream in HLS to a CDN. I have some basic questions:

  1. Does this basic architecture make sense? The idea here is that only the streamer herself would need webrtc capabilities.

  2. From the WebRTC preview, how do I know I’ve configured all of the XML correctly? I tried copy/pasting and configuring everything, but there’s no instructions on how to check that it actually works. I don’t see WebRTC anywhere in the web based engine manager.

  3. In the README, it says “Set up an application for live streaming: For the example below, set up an application named webrtc.” How do I do this?

Thanks,

Andrea

Hello Andrea,

WebRTC is still very much a preview technology at the moment and so does require some manual setting up.

You can just create a standard “live” app in the Engine Manager (call it webrtc) and then add the properties as described in the README.html. Ensure you have an SSL connection (StreamLock is ideal for this) as you do need SSL for this to work. You can test with our provided publisher and player pages which are linked here, https://www.wowza.com/_private/webrtc/

You may need to change the order of the webrtcPreferredCodecsVideo codecs depending on which browser you are using. Chrome is recommended.

If you run into issues then please feel free to either ask on the forum or open a support ticket with us and we’ll be happy to help.

Regards,

Paul

Hello @Andrea Barrica

  1. This does make sense because only your streamer needs WebRTC and you are forwarding to a CDN.

  2. The best way to find out if WebRTC is working is doing a publish with the simple web server over port 9443 provided or to use the WebRTC Preview HTML Examples link inside the README. After selecting “publish” you should see an incoming stream in Wowza Streaming Engine Manager.

  3. The easiest way to do this is going to Wowza Streaming Engine Manager -> Applications -> Add Application and select “Live”. Then you will need to go to [install-dir]/conf/webrtc/Application.xml to make the requested edits in the README.

If you need further assistance with configuration, please open a support case here with the below info.

[install-dir]/conf
[install-dir]/logs (only latest logs showing a Wowza Server restart and connection attempts is needed)
[install-dir]/transcoder

If you are not sure how to get this information please see the following tutorial.https://www.wowza.com/docs/how-to-create-a-compressed-zip-file-in-windows-os-x-and-linux

If the files are larger than the 16mb email limit, please send a downloadable link to the files.

Regards,

Jason T