| Package | com.adobe.rtc.pods.cameraClasses |
| Class | public class CameraModel |
| Inheritance | CameraModel flash.events.EventDispatcher |
| Implements | ISessionSubscriber |
See also
| Property | Defined by | ||
|---|---|---|---|
| connectSession : IConnectSession
The IConnectSession with which this component is associated.
| CameraModel | ||
| isSynchronized : Boolean [read-only]
Determines whether the CameraModel is connected and fully synchronized with the service.
| CameraModel | ||
| layoutSetting : String
Specifies the layout setting of the camera.
| CameraModel | ||
| videoSetting : String
Specifies the video quality settings which is selected from one of the setting constants
belonging to this class.
| CameraModel | ||
| videoSettingString : String [read-only]
Returns a human-readable string for the selected video quality setting.
| CameraModel | ||
| Method | Defined by | ||
|---|---|---|---|
|
Constructor.
| CameraModel | ||
|
close():void
Disposes all listeners to the network and framework classes.
| CameraModel | ||
|
getNodeConfiguration(p_nodeName:String):NodeConfiguration
Gets the NodeConfiguration on a specific node in the NodeModel.
| CameraModel | ||
|
getUserRole(p_userID:String):int
Returns the role of a given user for video streams, within the group this component is assigned to.
| CameraModel | ||
|
setNodeConfiguration(p_nodeName:String, p_nodeConfiguration:NodeConfiguration):void
Sets the NodeConfiguration on a already defined node.
| CameraModel | ||
|
setUserRole(p_userID:String, p_role:Number, p_nodeName:String = null):void
Sets the role of a given user for video streams, within the group this component is assigned to.
| CameraModel | ||
|
subscribe():void
Tells the component to begin synchronizing with the service.
| CameraModel | ||
| Event | Summary | Defined by | ||
|---|---|---|---|---|
| Dispatched when the layout settings for the web camera change. | CameraModel | |||
| Dispatched when the user's role with respect to this component changes. | CameraModel | |||
| Dispatched when the quality settings for the web camera change. | CameraModel | |||
| Dispatched when the CameraModel has fully connected and synchronized with the service or when it loses that connection. | CameraModel | |||
| Constant | Defined by | ||
|---|---|---|---|
| FAST_IMAGES : String = "fast" [static]
Constant value for the "fast images" quality setting for use when motion is more important
than picture quality.
| CameraModel | ||
| HIGH_BW : String = "high_bw" [static]
Constant value for the "High Bandwidth" quality setting for use in high-bandwidth situations.
| CameraModel | ||
| HIGH_QUALITY : String = "high_q" [static]
Constant value for the "high quality" quality setting for use when picture quality
is of the most importance.
| CameraModel | ||
| NEW_PICTURE_IN_PICTURE : String = "npip" [static]
Deprecated: Constant value for the "new picture in picture" layout setting.
| CameraModel | ||
| PICTURE_IN_PICTURE : String = "pip" [static]
Deprecated: Constant value for the "picture in picture" layout setting.
| CameraModel | ||
| SIDE_BY_SIDE : String = "sbs" [static]
Constant value for the "side by side" layout setting.
| CameraModel | ||
| SLOW_IMAGES : String = "slow" [static]
Constant value for the "slow images" quality setting for use in low-bandwidth situations.
| CameraModel | ||
| connectSession | property |
connectSession:IConnectSession [read-write]
The IConnectSession with which this component is associated. Note that this may only be set once before subscribe
is called; re-sessioning of components is not supported. Defaults to the first IConnectSession created in the application.
public function get connectSession():IConnectSession
public function set connectSession(value:IConnectSession):void
| isSynchronized | property |
isSynchronized:Boolean [read-only]Determines whether the CameraModel is connected and fully synchronized with the service.
This property can be used as the source for data binding.
Implementation public function get isSynchronized():Boolean
| layoutSetting | property |
layoutSetting:String [read-write]Specifies the layout setting of the camera. It is chosen from among this class's layout setting constants. The following values are allowed:
The default value is sbs.
public function get layoutSetting():String
public function set layoutSetting(value:String):void
| videoSetting | property |
videoSetting:String [read-write]Specifies the video quality settings which is selected from one of the setting constants belonging to this class.
Implementation public function get videoSetting():String
public function set videoSetting(value:String):void
| videoSettingString | property |
videoSettingString:String [read-only]Returns a human-readable string for the selected video quality setting.
Implementation public function get videoSettingString():String
| CameraModel | () | constructor |
public function CameraModel()Constructor.
| close | () | method |
public function close():void
Disposes all listeners to the network and framework classes. Use of close()
is recommended for proper component garbage collection.
| getNodeConfiguration | () | method |
public function getNodeConfiguration(p_nodeName:String):NodeConfigurationGets the NodeConfiguration on a specific node in the NodeModel. If the node is not defined, it will return null
Parametersp_nodeName:String — The node name of the Node Configuration.
|
NodeConfiguration |
| getUserRole | () | method |
public function getUserRole(p_userID:String):intReturns the role of a given user for video streams, within the group this component is assigned to.
Parametersp_userID:String — UserID of the user in question
|
int |
| setNodeConfiguration | () | method |
public function setNodeConfiguration(p_nodeName:String, p_nodeConfiguration:NodeConfiguration):voidSets the NodeConfiguration on a already defined node. If the node is not defined, it will not do anything.
Parametersp_nodeName:String — The node Configuration on a node in the NodeConfiguration.
|
|
p_nodeConfiguration:NodeConfiguration — The node name of the Node Configuration.
|
| setUserRole | () | method |
public function setUserRole(p_userID:String, p_role:Number, p_nodeName:String = null):voidSets the role of a given user for video streams, within the group this component is assigned to.
Parametersp_userID:String — UserID of the user whose role we are setting
|
|
p_role:Number — Role value we are setting
|
|
p_nodeName:String (default = null) |
| subscribe | () | method |
public function subscribe():voidTells the component to begin synchronizing with the service. For "headless" components such as this one, this method must be called explicitly.
| layoutChange | event |
com.adobe.rtc.events.CameraModelEvent
Dispatched when the layout settings for the web camera change.
| myRoleChange | event |
com.adobe.rtc.events.CollectionNodeEvent
Dispatched when the user's role with respect to this component changes.
| qualityChange | event |
com.adobe.rtc.events.CameraModelEvent
Dispatched when the quality settings for the web camera change.
| synchronizationChange | event |
com.adobe.rtc.events.CollectionNodeEvent
Dispatched when the CameraModel has fully connected and synchronized with the service or when it loses that connection.
| FAST_IMAGES | constant |
public static const FAST_IMAGES:String = "fast"Constant value for the "fast images" quality setting for use when motion is more important than picture quality.
| HIGH_BW | constant |
public static const HIGH_BW:String = "high_bw"Constant value for the "High Bandwidth" quality setting for use in high-bandwidth situations.
| HIGH_QUALITY | constant |
public static const HIGH_QUALITY:String = "high_q"Constant value for the "high quality" quality setting for use when picture quality is of the most importance.
| NEW_PICTURE_IN_PICTURE | constant |
public static const NEW_PICTURE_IN_PICTURE:String = "npip"Deprecated: Constant value for the "new picture in picture" layout setting. This functionality is scheduled to be reworked.
| PICTURE_IN_PICTURE | constant |
public static const PICTURE_IN_PICTURE:String = "pip"Deprecated: Constant value for the "picture in picture" layout setting. This functionality is scheduled to be reworked.
| SIDE_BY_SIDE | constant |
public static const SIDE_BY_SIDE:String = "sbs"Constant value for the "side by side" layout setting.
| SLOW_IMAGES | constant |
public static const SLOW_IMAGES:String = "slow"Constant value for the "slow images" quality setting for use in low-bandwidth situations.
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/labs/acrobatcom/com/adobe/rtc/pods/cameraClasses/CameraModel.html