Eagle 3D Streaming

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

In the Video section of the control panel, we can see two options for Resolution:

i) Dynamic

ii) Custom

image-20240402-150439.png

Dynamic resolution helps you set the app resolution dynamically. This means it will automatically adjust the app's resolution according to the height and width of the iframe element. This helps the app adjust to various display sizes for different devices.

image-20240402-153703.pngimage-20240402-153931.png

While useful, Dynamic resolution has a drawback regarding the quality of the video in mobile devices. This happens because Dynamic resolution takes the height and width of the webpage and sets the resolution of the video. Since mobile devices have smaller displays than computers, the resolution of the video will be too low and thus the video quality will be lower.

There are a couple of ways to fix this:

  1. We can select Custom resolution from the control panel and set high enough values so that the video quality is always the same.

    image-20240402-155735.png
  2. We can set the resolution we want from the front end with the following code:

    let obj = {
    			cmd: "freezeResolutionAt",
    			x: 1920,
    			y: 1080
    	}
    	document.getElementById("iframe_1").contentWindow.postMessage(JSON.stringify(obj), "*");

  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.