|
@@ -532,9 +532,8 @@ export class SceneService implements OnModuleInit, OnModuleDestroy {
|
|
? message.replace('wasm:', '')
|
|
? message.replace('wasm:', '')
|
|
: `{"MstType":1}`;
|
|
: `{"MstType":1}`;
|
|
const msg: RTCMessageRequest = JSON.parse(parseData);
|
|
const msg: RTCMessageRequest = JSON.parse(parseData);
|
|
- this.logger.warn('lostIframe-message', message);
|
|
|
|
|
|
+ this.logger.warn('lostIframe-message', msg);
|
|
if (msg.MstType === 0) {
|
|
if (msg.MstType === 0) {
|
|
- this.logger.warn('lostIframe');
|
|
|
|
this.handleIframeRequest();
|
|
this.handleIframeRequest();
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|
|
@@ -572,6 +571,7 @@ export class SceneService implements OnModuleInit, OnModuleDestroy {
|
|
}
|
|
}
|
|
|
|
|
|
async handleIframeRequest() {
|
|
async handleIframeRequest() {
|
|
|
|
+ this.logger.warn('lostIframe');
|
|
this.requestIFrameQueue.next(this.streamService.lastStreamFrame);
|
|
this.requestIFrameQueue.next(this.streamService.lastStreamFrame);
|
|
this.requestIFrameQueueSub = this.requestIFrameQueue.subscribe(
|
|
this.requestIFrameQueueSub = this.requestIFrameQueue.subscribe(
|
|
(frameData: StreamFrameType) => {
|
|
(frameData: StreamFrameType) => {
|