Is there any reason why the Direct streaming get stopped after few seconds once the stream started?

Great, I checked the code and could you replace this part?

videoElement.setAttribute('cameraId', cameraObj.Id);
videoElement.setAttribute('name', cameraObj.Name);

To be:

videoElement.cameraId = cameraObj.Id;
videoElement.name =  cameraObj.Name;

Still no luck with that change too, just it’s something to do with this https://developer.chrome.com/blog/autoplay/.

But not exactly sure, because the web client works without this sort of issue.

@Asen Bozhilov​ I have set the following on the video tag that appears and video stream started working on.

const myCustomElement = document.querySelector(‘videos-stream’); myCustomElement.shadow.childNodes[3].childNodes[1].children[1].muted=false; myCustomElement.shadow.childNodes[3].childNodes[1].children[1].volume=0;

Thanks for you immense support on this and it is really appreciated.

Could you add width and height to the video element?

and check here https://github.com/milestonesys/mipsdkmobile-web/blob/ec600dd613fdf893c36476616632d45428e67c04/Lib/modules/VideoStream/main.js#L117

is it exist video element?