mirror of https://github.com/OpenVidu/openvidu.git
openvidu-testapp: do not initPublisher if SUBSCRIBER
parent
0304869576
commit
2dd8ca44f8
|
@ -229,7 +229,7 @@ export class OpenviduInstanceComponent implements OnInit, OnChanges, OnDestroy {
|
|||
.then(() => {
|
||||
this.changeDetector.detectChanges();
|
||||
|
||||
if (this.publishTo) {
|
||||
if (this.publishTo && this.session.capabilities.publish) {
|
||||
// this.asyncInitPublisher();
|
||||
this.syncInitPublisher();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue