x


Is there a way to make the unity remote video stream look better?

I enjoy using unity remote on my iphone to quickly test my app within Unity iPhone, the video quality is a bit so so and i just wonder if there are any configuration options where this can be improved.

Obviously the bandwidth will have some limit for iphone wireless. However I have 3 cores of my CPU sitting there idling and do think they'd be able to compress the stream to be higher quality in a similar bandwidth, in the same time/latency.

Just wondering.

more ▼

asked Dec 16 '09 at 11:13 PM

jimbobuk gravatar image

jimbobuk
1.1k 34 42 54

(comments are locked)
10|3000 characters needed characters left

3 answers: sort voted first

3 cores sitting idle for compression sadly don't make your iphone faster, which has a fraction of the speed of a single core to decompress the data again, so while you would be able to push through more due to the reduced datasize, you would make the remote stutter because the cpu is only working on the image instead of the input too.

Normally you would actually want to look worse, so you get better input responsiveness, because in more intense games it can otherwise become very hard to test much through the remote actually.

To reduce the size, you can alter the corresponding define in the Unity Remote project.

more ▼

answered Dec 17 '09 at 12:28 PM

Dreamora gravatar image

Dreamora
3.2k 1 4 25

thanks. But the iPhone can play video streams that use all the pixels and look almost perfect when watching movies etc. I guess the remote isn't using those libraries, which presumably in turn are using some embedded hardware acceleration for video.

Especially as i'm using a 3GS i'd hope that i could get a better quality throughput seeing as unity remote works fine on an original iphone.

Are you saying i can increase the video size in the unity remote project to get something like what i want to see?

Dec 18 '09 at 12:30 AM jimbobuk
(comments are locked)
10|3000 characters needed characters left

To increase the quality of Unity remote, just open the UnityRemote project in Xcode, go to Classes>Setup.h

in there, you'll see a list f definitions:

#define IMAGE_320x448 1
#define IMAGE_192x384 0
#define IMAGE_192x320 0
#define IMAGE_192x256 0
#define IMAGE_160x256 0 // 1
#define IMAGE_160x240 0

I added a comment to the original setting and changed it to the highest setting which was 320x448. This gave me a much clear view of the screen. I couldn't even make out the buttons I was trying to test against on the iPad. Now I can see them ;)

more ▼

answered Jun 09 '10 at 03:10 AM

neoRiley gravatar image

neoRiley
124 3 4 11

(comments are locked)
10|3000 characters needed characters left

I don't think there currently is a way to get better quality on that end. Might be worth a feature request on Unity iPhone feedback, though.

What I usually do most of the time is just use the iPhone for control and look at my screen. Of course, that's not ideal but it's "good enough" for me.

more ▼

answered Dec 16 '09 at 11:50 PM

jashan gravatar image

jashan
10.1k 25 40 116

Thanks, me too most of the time but there are some things where its crucial to see your finger against the movement on the screen to get the proper effect and judge whether something is working better or not.

Dec 18 '09 at 12:31 AM jimbobuk
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x2000
x1678
x284

asked: Dec 16 '09 at 11:13 PM

Seen: 2248 times

Last Updated: Dec 16 '09 at 11:13 PM