Fix trgger stream and update scene record
This commit is contained in:
parent
a6876658ab
commit
39cdc3fbd9
2 changed files with 3 additions and 6 deletions
|
@ -661,10 +661,8 @@ export class MediaManager {
|
|||
private pingCameraStatus(){
|
||||
setTimeout(() => {
|
||||
console.log('ping camera status');
|
||||
this.getCamera().then((stream: MediaStream) => {
|
||||
this.triggerUpdatedLocalStreamCallbacks(stream);
|
||||
this.pingCameraStatus();
|
||||
});
|
||||
this.triggerUpdatedLocalStreamCallbacks(this.localStream);
|
||||
this.pingCameraStatus();
|
||||
}, 30000);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue