MACROMEDIA FLASH COMMUNICATION SERVER MX-SERVER-SIDE COMMUNICATION ACTIONSCRIPT DICTIONARY Dokumentacja Strona 202

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 369
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 201
Client-Side Communication ActionScript 11
Event handler summary for the Camera object
Constructor for the Camera object
See
Camera.get.
Camera.activityLevel
Availability
Flash Player 6.
Flash Communication Server MX (not required).
Usage
activeCamera.activityLevel
Description
Read-only property; a numeric value that specifies the amount of motion the camera is detecting.
Values range from 0 (no motion is being detected) to 100 (a large amount of motion is being
detected). The value of this property can help you determine if you need to pass a setting to
Camera.setMotionLevel.
If the camera is available but is not yet being used because neither
Video.attachVideo nor
NetStream.attachVideo has been called, this property is set to -1.
If you are streaming only uncompressed local video—that is, you are not streaming the video
within a NetStream object and you have not called
Camera.setLoopback(true)—this property
is set only if you have assigned a function to the
Camera.onActivity event handler. Otherwise,
it is undefined.
See also
Camera.motionLevel, Camera.setMotionLevel
Camera.bandwidth
Availability
Flash Player 6.
Flash Communication Server MX (not required).
Usage
activeCamera.bandwidth
Description
Read-only property; an integer that specifies the maximum amount of bandwidth the current
outgoing video feed can use, in bytes. A value of 0 means that Flash video can use as much
bandwidth as needed to maintain the desired frame quality.
To set this property, use
Camera.setQuality.
Method Description
Camera.onActivity Invoked when the camera starts or stops detecting motion.
Camera.onStatus Invoked when the user allows or denies access to the camera.
Przeglądanie stron 201
1 2 ... 197 198 199 200 201 202 203 204 205 206 207 ... 368 369

Komentarze do niniejszej Instrukcji

Brak uwag