Stream video live in web browser from Mobile server and MIP SDK Mobile

Hi,

I’m showing stream video live in web browser from Mobile server and MIP SDK Mobile. But live stream is not stable, video is blurred, blurred. Is there any solution for this?

Thanks in advance for your help…

Hi Son,

From what you describe I would suggest that you are using Transcoding. And most probably QoS (Quality of Service) of the server degrades the video stream, trying to achieve better fps. This usually happens when bandwidth of connection is limited or Mobile Server machine strives for the resources (CPU/GPU at most).

What you could check:

  • What is the behavior of the Milestone XProtect Web Client on the same browser with same set of cameras as your integration /app.
    • Try to understand if is working also on Transcoding or fetches Direct Streams. By turning on Video Overlay from the settings for example.
  • Try to measure the Network between Browser app and Mobile server
  • Look at the resource at the Mobile Server machine (CPU, GPU, Memory)
  • Try to disable WebSockets in the app. This would be only available in older versions of the SDK. This will actively move the communication to HTTP and Pull instead of push, thus disabling the QoS. Happens with call of:
XPMobileSDK.toggleWebSockets(false);
  • Try to integrate with Direct Streams from the MoS. Especially if they are working fine in Milestone XProtect Web Client.