stephenlb / webrtc-sdk

WebRTC Simple Calling API + Mobile SDK - A simplified approach to RTCPeerConnection for mobile and web video calling apps.

Home Page:https://stephenlb.github.io/webrtc-sdk/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Prevent viewers from getting audio,video media asked

alejo-moreno opened this issue · comments

I'd like to prevent viewers in a broadcasting (one-to-many) session from being asked for audio and video permissions, since they are only viewers. I've already tried autocam and media parameters for this, but the viewer doesn't get ready until permissions are set.

This pubnub version seemed to have a parameter "oneway" that did the trick, is this supported in this SDK version?

PS. I've been reading a lot of documentation of using WebRTC with PubNub and I've also seen many repos from different authors aiming to do the same thing. Is this the newest version of the SDK?

This has been fixed!

We made updates just today. New version published to npm i webrtc-sdk.