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

« Previous Version 7 Next »

Demo Link:
https://iframe.eagle3dstreaming.com/

Demo Repository:

https://github.com/e3ds/E3DS-Iframe-Demo

Description:

You can change your Unreal App resolution from your webpage. Open the Demo Link from above and follow the demo video to set a custom resolution for your application.

Demo Video:

bandicam 2024-02-19 15-38-40-952.mp4

To make this work in your website, you need to send the following JSON object to your unreal app:

let obj = {
			cmd: "freezeResolutionAt",
			x: e.target.width.value,
			y: e.target.height.value
	}
document.getElementById("iframe_1").contentWindow.postMessage(JSON.stringify(obj), "*");

Here iframe_1 is the id of the iframe element.

<iframe
    allow="camera;microphone"
    style="visibility: hidden"
    id="iframe_1"
    src="https://connector.eagle3dstreaming.com/v5/demo/E3DSFeaturesTemplate/E3DS-Iframe-Demo"
    width="100%"
    height="100%"
    allowfullscreen
    >
</iframe>


To learn more about how to communicate with your unreal app from your webpage follow the document: Communicate with your App from iframe - HTML

Set Custom Resolution from Unreal App:
If you want to set a custom resolution from your unreal app, go to the following document:

Set Custom Resolution from blueprints of Unreal App

  • 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.