Page 1 of 1
Resizing & Single Application Display
Posted: Sat Jan 11, 2014 12:06 pm
by NicholasScott
So first of all, we're struggling to get the orbx window to resize properly, it's always a 1024x768 box inside a larger grey window, none of the FULLSCREEN/WIDTH/SCALE parameters seem to work.
Second, we can only seem to stream the entire desktop, whereas we want to just stream a single application, again none of the APP/WINDOW/DESKTOP parameters seem to work.
Could you give an example url that would run something like notepad in fullscreen without streaming the rest of the desktop around it?
Re: Resizing & Single Application Display
Posted: Sat Jan 11, 2014 10:14 pm
by Goldorak
Is this on Windows or Linux?
Re: Resizing & Single Application Display
Posted: Sun Jan 12, 2014 6:20 am
by NicholasScott
Windows, I've tried the cloud game console and the autodesk ami.
Re: Resizing & Single Application Display
Posted: Thu Jan 16, 2014 12:22 pm
by NicholasScott
Have you confirmed this is a problem, or are we just using the api incorrectly?
We're using
http://aws.otoy.com/docs/OTOYClientAPI.pdf as our reference.
Re: Resizing & Single Application Display
Posted: Fri Jan 17, 2014 1:39 am
by Goldorak
Just to confirm - are you using a G2 GPU instance? The non-GPU instance types have drivers that may limit you to 1024x768 @ 32-bits, which may be why you see this.
Re: Resizing & Single Application Display
Posted: Fri Jan 17, 2014 10:29 am
by NicholasScott
Yes, we're using g2.2xlarge instances with the ORBX_Cloud_Console_AMI_for_Windows_1.0.
We've also tried using the iframe messaging api (
http://aws.otoy.com/docs/ORBX.js_Iframe_API.pdf), but we're struggling to understand the message format. If the user resizes their browser, can we use the "wpos" message type to resize the stream? If so, what do we put in the message?
message = "wpos x y w h"
message.type = "wpos"
message.data = "x y w h"
message.data = [x y w h]
message.data.x = 0
To be clear, we want to stream a single opengl application back to an iframe. We also need to be able to resize that stream as the user resizes the webpage, and shutdown the ec2 instance when they close the page. Also, the AUTOSHUTDOWN=true command didn't work either.