I\'m developing a web application with angular, I need to add a window that shows a live RTSP streaming. After searching I found that can be done with JSMpeg js library. In
change in ngOnInit "this.streamingcanvas" by "this.streamingcanvas.nativeElement" it should be like this
ngOnInit() { ... let player = new JSMpeg.Player('ws://localhost:9999', { canvas: this.streamingcanvas.nativeElement, autoplay: true, audio: false, >loop: true }) }