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

This commit is contained in:
pabloFuente 2018-04-05 20:06:48 +02:00
parent eb619f3826
commit edc95e5e9d

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;