Suggested Settings For Different Bandwidth Speeds; Using One Camera In Multiple Applications; The Client Class - MACROMEDIA FLASH MEDIA SERVER 2-DEVELOPING MEDIA Develop Manual

Developing media applications
Table of Contents

Advertisement

Suggested settings for different bandwidth speeds

The default camera settings provide a good viewing experience for all bandwidth settings.
However, you can experiment with different settings for different bandwidths.
The code for setting the bandwidth speeds is as follows:
my_cam = Camera.get();
my_cam.setQuality(bandwidthSpeed,quality)
Use the following table as a starting point if you want to experiment with camera settings at
different bandwidth speeds.
Bandwidth
Effect
Modem
Lower image quality, higher motion quality
Higher image quality, lower motion quality
DSL
Lower image quality, higher motion quality
Higher image quality, lower motion quality
LAN
Lower image quality, higher motion quality
Higher image quality, lower motion quality

Using one camera in multiple applications

Multiple applications (SWF files) can use the same camera at the same time, provided that
they are running in the same process. Generally, multiple browser windows are all in the same
process, so in the browser environment this capability works well.
However, a camera cannot be shared between applications running in two different
processes—for example, one in the browser and one in a stand-alone player.

The Client class

When attaching methods to a Client object in server-side scripts, remember that all methods
on the client object can be called by a script in the SWF file on the client. You should not
include any methods on the Client object that you would not want a remote computer to
invoke. For example, you wouldn't want a client to be able to call a method that could
disconnect an application.
Code
my_cam.setQuality(4000,0)
my_cam.setQuality(0,65)
my_cam.setQuality(12000,0)
my_cam.setQuality(0,90)
my_cam.setQuality(400000,0)
my_cam.setQuality(0,100)
The Client class
47

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MEDIA SERVER 2-DEVELOPING MEDIA and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash media server 2

Table of Contents