diff --git a/Client/src/app/components/live-stream/live-stream.component.ts b/Client/src/app/components/live-stream/live-stream.component.ts index eaa55b6..2ae1c3d 100644 --- a/Client/src/app/components/live-stream/live-stream.component.ts +++ b/Client/src/app/components/live-stream/live-stream.component.ts @@ -34,17 +34,20 @@ export class LiveStreamComponent implements OnInit { this.isReady= (res).isReady; if (this.isReady === true) { this.showVideo = true; + this.videoSrc = ''; + this.videoSrc = this.videoSrc; + clearInterval(this.interval); } }); }, 3000); - setTimeout(() => { - this.isReady = true; - this.showVideo = true; - this.videoSrc = ''; - this.videoSrc = this.videoSrc; - clearInterval(this.interval); - }, 12000) + // setTimeout(() => { + // this.isReady = true; + // this.showVideo = true; + // this.videoSrc = ''; + // this.videoSrc = this.videoSrc; + // clearInterval(this.interval); + // }, 12000) } public async vidError() {