PDA

View Full Version : how can I change video quality in AVPresence?


artane
05-06-2004, 01:39 PM
Hi guys,

I've got a video chat application that uses the AVPresence component. I want to reduce the video bandwidth and video quality but, when I make the changes in the propety inspector, they have no affect whatsoever on the published movie.

Why doesn't anything happen when I change these settings?

I've been experimenting with the following line of actionscript but, it doesn't seem to do anything either:

Camera.setQuality(8000, 25);

I've got it on frame 1 of my movie, is that correct? Will it over-ride the settings of the AVPresence component?

Generally, I just want to know how to change the quality and bandwidth settings of the AVPresence component so I can experiment and see what works best.

Thank you very much,

artane

focus
05-09-2004, 08:04 PM
[B]hi artane help time chat
relase example relase script tenx

thumbling
06-24-2004, 06:13 PM
try something like

AVPresence.vidWidth = 100;
AVPresence.vidHeight = 100;

this will set the number of pixels to be captured, .. thus also the quality. Other properties of the AVPresence component you can set are:

AVPresence.updateFps
AVPresence.vidWidth
AVPresence.vidHeight
AVPresence.vidBandwidth
AVPresence.vidQuality
AVPresence.vidFps
Hope it helps ya!

(to be clear - all those things must be set on your AVPresence instance, of course)