From eb916f322d154cafc89906cd4294058cf23ddf6f Mon Sep 17 00:00:00 2001 From: pabloFuente Date: Fri, 19 May 2017 16:07:38 +0200 Subject: [PATCH] README fix --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4dde88bc..01d48b4a 100644 --- a/README.md +++ b/README.md @@ -96,12 +96,12 @@ You can now start editing HTML, JS and CSS files. Just reload your browser to se session.connect(token, function (error) { // If connection successful, get a publisher and publish to the session if (!error) { - var publisher = OV.initPublisher('publisher'); - session.publish(publisher, { + var publisher = OV.initPublisher('publisher', { audio: true, video: true, quality: 'MEDIUM' //'LOW','MEDIUM','HIGH' }); + session.publish(publisher); } else { console.log('Error while connecting to the session'); }