Aditya Tiwari

Results 7 comments of Aditya Tiwari

I am working on a project where i am streaming video from an IP Camera using node-rtsp-stream from the node backend and getting the stream on the Angular frontend using...

![Annotation 2020-05-14 000221](https://user-images.githubusercontent.com/25694814/81850907-471d3f00-9576-11ea-9e62-0cf9ce0368cd.png) This is the code on the angular

I am using node-rtsp-stream in the backend to stream the video, let me show you ![Annotation 2020-05-14 000407](https://user-images.githubusercontent.com/25694814/81851114-96fc0600-9576-11ea-9388-aea90310e0fc.png)

this is what I am getting in the console. ![stream-error](https://user-images.githubusercontent.com/25694814/81852099-1fc77180-9578-11ea-91cc-e925b2e6b0d2.png)

Code: @ViewChild('streamContainer', { static: true, read: ElementRef }) streamContainer: ElementRef; ngAfterViewInit(): void { // Setup the WebSocket connection and start the player const client = new WebSocket('ws://localhost:9999/'); new JSMpeg.VideoElement(this.streamContainer.nativeElement, client);...

Thank you so much for your response: Now I am trying the process in a lil different way: iPstreaming = () => { const url = environment.webSocketApi; new JSMpeg.VideoElement(this.canvas1.nativeElement, url);...

This didn't work for me, I am working on the SPFx React TS project, and I created the file webpack.fbjs.loader.js and added the code In my webpack.extend.js file in fast-serve...