Resizing & Single Application Display

Discussion forum for ORBX on OTOY's Amazon AMIs
Post Reply
NicholasScott
Posts: 5
Joined: Sat Dec 21, 2013 10:24 pm
Contact:

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?
User avatar
Goldorak
OctaneRender Team
Posts: 2321
Joined: Sun Apr 22, 2012 8:09 pm
Contact:

Is this on Windows or Linux?
NicholasScott
Posts: 5
Joined: Sat Dec 21, 2013 10:24 pm
Contact:

Windows, I've tried the cloud game console and the autodesk ami.
NicholasScott
Posts: 5
Joined: Sat Dec 21, 2013 10:24 pm
Contact:

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.
User avatar
Goldorak
OctaneRender Team
Posts: 2321
Joined: Sun Apr 22, 2012 8:09 pm
Contact:

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.
NicholasScott
Posts: 5
Joined: Sat Dec 21, 2013 10:24 pm
Contact:

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.
Post Reply

Return to “ORBX on Amazon AMIs”