From 0cf80acb5a9815b9d9b76bedf48bc9145e8c7c8f Mon Sep 17 00:00:00 2001 From: Leon <leontosy@gmail.com> Date: Thu, 31 May 2018 19:50:44 -0700 Subject: [PATCH] Update README.md --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 728c7ff..e9b3cc2 100644 --- a/README.md +++ b/README.md @@ -24,10 +24,14 @@ import LioWebRTC from 'liowebrtc'; const webrtc = new LioWebRTC({ // The local video reference set within your render function, or the element's ID localVideoEl: 'localVid', - // Immediately request camera and mic access. Set to false if you're only transmitting data. + // Immediately request camera and mic access. autoRequestMedia: true, // Displays events emitted by the webrtc object in the console. - debug: true + debug: true, + // Set this to true if you want to disable video/audio channels, and only enable data channel. + dataOnly: false, + // The url for your signaling server + url: 'https://sandbox.simplewebrtc.com:443/', }); ``` -- GitLab