Wowza Community

WebRTC playback with some restricts

Hello,

I’ve successfully created two webpages to publish and play my stream, but I have no idea how to set authentications to restrict the users.

my current solution is using the sdpUrl, applicationName and streamName to show the stream, is it possible to prohibit the connections other than my origin?

Thanks.

Wowza Cloud cannot:

  • Provide authenticated WebRTC publisher or connection restriction.

Your options would be to use Streaming Engine instead for your WebRTC workflow where you’d have more security control for both publishing and playback:

https://www.wowza.com/docs/control-access-to-webrtc-publishing-and-playback#enhance-webrtc-publishing-and-playback-security-with-a-custom-http-provider

As far as Cloud, we don’t yet offer that level of security for WebRTC publishing, but Cloud does provide encryption at playback.