|
@@ -195,6 +195,9 @@ export class SceneService implements OnModuleInit, OnModuleDestroy {
|
|
|
init(request: InitRequest) {
|
|
|
try {
|
|
|
this.rotateService.init(request.app_id, request.user_id);
|
|
|
+ this.startSteaming.next(true);
|
|
|
+ this.startStream();
|
|
|
+ this.handleStream();
|
|
|
// this.moveService.init(request.app_id, request.user_id);
|
|
|
|
|
|
// this.initUsers(request.app_id, request.user_id);
|
|
@@ -521,9 +524,9 @@ export class SceneService implements OnModuleInit, OnModuleDestroy {
|
|
|
handleDataChanelOpen(channel: DataChannel): void {
|
|
|
this.channel = channel;
|
|
|
this.streamService.setChannel(channel);
|
|
|
- this.startSteaming.next(true);
|
|
|
- this.startStream();
|
|
|
- this.handleStream();
|
|
|
+ // this.startSteaming.next(true);
|
|
|
+ // this.startStream();
|
|
|
+ // this.handleStream();
|
|
|
}
|
|
|
|
|
|
handleDataChanelClose(): void {
|