README fix

pull/20/head
pabloFuente 2017-05-19 16:07:38 +02:00
parent 952e316a84
commit eb916f322d
1 changed files with 2 additions and 2 deletions

View File

@ -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) { session.connect(token, function (error) {
// If connection successful, get a publisher and publish to the session // If connection successful, get a publisher and publish to the session
if (!error) { if (!error) {
var publisher = OV.initPublisher('publisher'); var publisher = OV.initPublisher('publisher', {
session.publish(publisher, {
audio: true, audio: true,
video: true, video: true,
quality: 'MEDIUM' //'LOW','MEDIUM','HIGH' quality: 'MEDIUM' //'LOW','MEDIUM','HIGH'
}); });
session.publish(publisher);
} else { } else {
console.log('Error while connecting to the session'); console.log('Error while connecting to the session');
} }