stephenlb / webrtc-sdk

WebRTC Simple Calling API + Mobile SDK - A simplified approach to RTCPeerConnection for mobile and web video calling apps.
https://stephenlb.github.io/webrtc-sdk/
MIT License
855 stars 278 forks source link

Prevent viewers from getting audio,video media asked #46

Closed alejo-moreno closed 6 years ago

alejo-moreno commented 6 years ago

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?

stephenlb commented 6 years ago

This has been fixed!

stephenlb commented 6 years ago

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