Resizing & Single Application Display

Forums: Resizing & Single Application Display
Discussion forum for ORBX on OTOY's Amazon AMIs

Resizing & Single Application Display

Postby NicholasScott » Sat Jan 11, 2014 12:06 pm

NicholasScott Sat Jan 11, 2014 12:06 pm
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?
NicholasScott
 
Posts: 5
Joined: Sat Dec 21, 2013 10:24 pm

Re: Resizing & Single Application Display

Postby Goldorak » Sat Jan 11, 2014 10:14 pm

Goldorak Sat Jan 11, 2014 10:14 pm
Is this on Windows or Linux?
User avatar
Goldorak
OctaneRender Team
OctaneRender Team
 
Posts: 2321
Joined: Sun Apr 22, 2012 8:09 pm

Re: Resizing & Single Application Display

Postby NicholasScott » Sun Jan 12, 2014 6:20 am

NicholasScott Sun Jan 12, 2014 6:20 am
Windows, I've tried the cloud game console and the autodesk ami.
NicholasScott
 
Posts: 5
Joined: Sat Dec 21, 2013 10:24 pm

Re: Resizing & Single Application Display

Postby NicholasScott » Thu Jan 16, 2014 12:22 pm

NicholasScott Thu Jan 16, 2014 12:22 pm
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.
NicholasScott
 
Posts: 5
Joined: Sat Dec 21, 2013 10:24 pm

Re: Resizing & Single Application Display

Postby Goldorak » Fri Jan 17, 2014 1:39 am

Goldorak Fri Jan 17, 2014 1:39 am
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.
User avatar
Goldorak
OctaneRender Team
OctaneRender Team
 
Posts: 2321
Joined: Sun Apr 22, 2012 8:09 pm

Re: Resizing & Single Application Display

Postby NicholasScott » Fri Jan 17, 2014 10:29 am

NicholasScott Fri Jan 17, 2014 10:29 am
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.
NicholasScott
 
Posts: 5
Joined: Sat Dec 21, 2013 10:24 pm

Return to ORBX on Amazon AMIs


Who is online

Users browsing this forum: No registered users and 18 guests

Thu Apr 25, 2024 12:47 pm [ UTC ]