openvidu-testapp: view updated just after Session.connect success response

pull/73/head
pabloFuente 2018-04-05 20:06:48 +02:00
parent eb619f3826
commit edc95e5e9d
1 changed files with 3 additions and 0 deletions

View File

@ -194,6 +194,9 @@ export class OpenviduInstanceComponent implements OnInit, OnChanges, OnDestroy {
this.session.connect(token, this.clientData, (error) => {
if (!error) {
this.changeDetector.detectChanges();
if (this.publishTo) {
this.audioMuted = !this.activeAudio;