Meeting SDK for Android API Reference
|
Video controller in meeting. More...
Public Member Functions | |
long | activeVideoUserID () |
Get the ID of user whose video is active in the meeting. | |
boolean | isMyVideoMuted () |
Query if the video of current user is muted or not. | |
boolean | canUnmuteMyVideo () |
Query if user is able to unmute himself. | |
MobileRTCSDKError | muteMyVideo (boolean mute) |
Set to mute/unmute the video. | |
void | setVideoCaptureSurfaceHolder (SurfaceHolder holder) |
Set a surface holder to capture video with camera. | |
boolean | rotateMyVideo (int rotation) |
Set to rotate user's video. | |
boolean | canSwitchCamera () |
Query if it is able to switch camera. | |
boolean | switchToNextCamera () |
Switch to next camera. | |
boolean | switchCamera (String cameraId) |
Switch to camera by ID. | |
List< CameraDevice > | getCameraDeviceList () |
Get the list of all camera devices. | |
String | getSelectedCameraId () |
Get the ID of currently selected camera. | |
boolean | isFrontCamera (String cameraId) |
Query if the camera is the front one. | |
boolean | isBackCamera (String cameraId) |
Query if the camera is the back one. | |
MobileRTCSDKError | stopAttendeeVideo (long userId) |
Host can use the function to mute user's video. | |
MobileRTCSDKError | askAttendeeStartVideo (long userId) |
Host can use the function to ask the user to start video. | |
boolean | isUserVideoSpotLighted (long userId) |
Query if the user's video is spotlighted. | |
MobileRTCSDKError | spotLightVideo (boolean on, long userId) |
Set whether to spotlight user's video or not. | |
MobileRTCSDKError | unSpotlightAllVideos () |
Set all user's video unSpotlight. | |
long | getPinnedUser () |
Get the user ID of current pinned video. | |
boolean | isUserPinned (long userId) |
Query if the current user's video is pinned. | |
MobileRTCSDKError | pinVideo (boolean on, long userId) |
Set whether to pin user's video or not, which means that during a video conference, the monitor will always display the specified user's view instead of active speaker's video. | |
ISetVideoOrderHelper | getSetVideoOrderHelper () |
MobileRTCSDKError | stopIncomingVideo (boolean bStop) |
Stop the incoming video. | |
boolean | isIncomingVideoStopped () |
Determine if the incoming video is stopped. | |
MobileRTCSDKError | showAvatar (boolean show) |
Determine if show the last used avatar in the meeting. | |
boolean | isShowAvatar () |
Determine if the meeting is showing the avatar. | |
boolean | isStopIncomingVideoSupported () |
Determine if the incoming video is supported. | |
MobileRTCSDKError | enableVideoAutoFraming (AutoFramingMode mode, AutoFramingParameter setting) |
Enable my video auto-framing. | |
boolean | isVideoAutoFramingEnabled () |
Determine whether auto-framing is enabled. | |
AutoFramingMode | getVideoAutoFramingMode () |
Get current mode of auto-framing. | |
MobileRTCSDKError | setVideoAutoFramingMode (AutoFramingMode mode) |
Set the mode of auto-framing when auto-framing is started. | |
MobileRTCSDKError | setVideoAutoFramingRatio (float ratio) |
Set the zoom in ratio of auto-framing when auto-framing is enabled. | |
MobileRTCSDKError | setFaceRecognitionFailStrategy (FaceRecognitionFailStrategy strategy) |
Set the fail strategy of face recognition when auto-framing is enabled(mode is "AutoFramingMode_face_recognition") | |
AutoFramingParameter | getVideoAutoFramingSetting (AutoFramingMode mode) |
Get the setting of auto-framing. | |
MobileRTCSDKError | disableVideoAutoFraming () |
Stop video auto-framing. | |
boolean | canEnableAlphaChannelMode () |
Determine if alpha channel mode can be enabled. | |
MobileRTCSDKError | enableAlphaChannelMode (boolean enable) |
Enable or disable alpha channel mode. | |
boolean | isAlphaChannelModeEnabled () |
Determine if alpha channel mode is enabled. | |
VideoSize | getUserVideoSize (long userID) |
Get the size of user's video. | |
ICameraController | getCameraController (long userId) |
Get camera controller object that can control any user's camera. | |
MobileRTCSDKError | revokeCameraControlPrivilege () |
Revoke camera control privilege. | |
boolean | zoomCamera (float zoomStep) |
Zoom the camera. | |
MobileRTCSDKError | setVideoQualityPreference (SDKVideoPreferenceSetting preferenceSetting) |
Set the video quality preference that automatically adjust user's video to prioritize frame rate versus resolution based on the current bandwidth available. | |
Video controller in meeting.
Definition at line 11 of file InMeetingVideoController.java.
long us.zoom.sdk.InMeetingVideoController.activeVideoUserID | ( | ) |
Get the ID of user whose video is active in the meeting.
MobileRTCSDKError us.zoom.sdk.InMeetingVideoController.askAttendeeStartVideo | ( | long | userId | ) |
Host can use the function to ask the user to start video.
userId | The ID of user who needs to turn on video in meeting. |
boolean us.zoom.sdk.InMeetingVideoController.canEnableAlphaChannelMode | ( | ) |
Determine if alpha channel mode can be enabled.
boolean us.zoom.sdk.InMeetingVideoController.canSwitchCamera | ( | ) |
Query if it is able to switch camera.
boolean us.zoom.sdk.InMeetingVideoController.canUnmuteMyVideo | ( | ) |
Query if user is able to unmute himself.
MobileRTCSDKError us.zoom.sdk.InMeetingVideoController.disableVideoAutoFraming | ( | ) |
Stop video auto-framing.
MobileRTCSDKError us.zoom.sdk.InMeetingVideoController.enableAlphaChannelMode | ( | boolean | enable | ) |
Enable or disable alpha channel mode.
enable | true indicates to enable alpha channel mode. Otherwise, disable it. |
MobileRTCSDKError us.zoom.sdk.InMeetingVideoController.enableVideoAutoFraming | ( | AutoFramingMode | mode, |
AutoFramingParameter | setting ) |
Enable my video auto-framing.
mode | the auto-framing mode. |
setting | the setting of video auto-framing. |
ICameraController us.zoom.sdk.InMeetingVideoController.getCameraController | ( | long | userId | ) |
Get camera controller object that can control any user's camera.
userId | Controls user's own camera |
ICameraController
List< CameraDevice > us.zoom.sdk.InMeetingVideoController.getCameraDeviceList | ( | ) |
Get the list of all camera devices.
CameraDevice
. long us.zoom.sdk.InMeetingVideoController.getPinnedUser | ( | ) |
Get the user ID of current pinned video.
String us.zoom.sdk.InMeetingVideoController.getSelectedCameraId | ( | ) |
Get the ID of currently selected camera.
ISetVideoOrderHelper us.zoom.sdk.InMeetingVideoController.getSetVideoOrderHelper | ( | ) |
ISetVideoOrderHelper
VideoSize us.zoom.sdk.InMeetingVideoController.getUserVideoSize | ( | long | userID | ) |
Get the size of user's video.
userID | The ID of user in the meeting |
AutoFramingMode us.zoom.sdk.InMeetingVideoController.getVideoAutoFramingMode | ( | ) |
Get current mode of auto-framing.
AutoFramingParameter us.zoom.sdk.InMeetingVideoController.getVideoAutoFramingSetting | ( | AutoFramingMode | mode | ) |
Get the setting of auto-framing.
mode | auto-framing. |
boolean us.zoom.sdk.InMeetingVideoController.isAlphaChannelModeEnabled | ( | ) |
Determine if alpha channel mode is enabled.
boolean us.zoom.sdk.InMeetingVideoController.isBackCamera | ( | String | cameraId | ) |
Query if the camera is the back one.
cameraId | The ID of camera to be checked}. |
boolean us.zoom.sdk.InMeetingVideoController.isFrontCamera | ( | String | cameraId | ) |
Query if the camera is the front one.
cameraId | The ID of camera to be checked. |
boolean us.zoom.sdk.InMeetingVideoController.isIncomingVideoStopped | ( | ) |
Determine if the incoming video is stopped.
boolean us.zoom.sdk.InMeetingVideoController.isMyVideoMuted | ( | ) |
Query if the video of current user is muted or not.
boolean us.zoom.sdk.InMeetingVideoController.isShowAvatar | ( | ) |
Determine if the meeting is showing the avatar.
boolean us.zoom.sdk.InMeetingVideoController.isStopIncomingVideoSupported | ( | ) |
Determine if the incoming video is supported.
boolean us.zoom.sdk.InMeetingVideoController.isUserPinned | ( | long | userId | ) |
Query if the current user's video is pinned.
userId | The user ID in meeting. |
boolean us.zoom.sdk.InMeetingVideoController.isUserVideoSpotLighted | ( | long | userId | ) |
Query if the user's video is spotlighted.
userId | The user ID to be checked in meeting. |
boolean us.zoom.sdk.InMeetingVideoController.isVideoAutoFramingEnabled | ( | ) |
Determine whether auto-framing is enabled.
MobileRTCSDKError us.zoom.sdk.InMeetingVideoController.muteMyVideo | ( | boolean | mute | ) |
Set to mute/unmute the video.
mute | TRUE means to mute, FALSE not. |
MobileRTCSDKError us.zoom.sdk.InMeetingVideoController.pinVideo | ( | boolean | on, |
long | userId ) |
Set whether to pin user's video or not, which means that during a video conference, the monitor will always display the specified user's view instead of active speaker's video.
on | TRUE means the user's video is pinned. FALSE not. |
userId | The user ID. |
MobileRTCSDKError us.zoom.sdk.InMeetingVideoController.revokeCameraControlPrivilege | ( | ) |
Revoke camera control privilege.
boolean us.zoom.sdk.InMeetingVideoController.rotateMyVideo | ( | int | rotation | ) |
Set to rotate user's video.
rotation | 0: no rotation (natural orientation); 1: rotate 90 degrees; 2: rotate 180 degrees; 3: rotate 270 degrees. |
MobileRTCSDKError us.zoom.sdk.InMeetingVideoController.setFaceRecognitionFailStrategy | ( | FaceRecognitionFailStrategy | strategy | ) |
Set the fail strategy of face recognition when auto-framing is enabled(mode is "AutoFramingMode_face_recognition")
strategy | the fail strategy of face recognition. |
MobileRTCSDKError us.zoom.sdk.InMeetingVideoController.setVideoAutoFramingMode | ( | AutoFramingMode | mode | ) |
Set the mode of auto-framing when auto-framing is started.
mode | AutoFramingMode the mode of auto-framing.AutoFramingMode |
MobileRTCSDKError us.zoom.sdk.InMeetingVideoController.setVideoAutoFramingRatio | ( | float | ratio | ) |
Set the zoom in ratio of auto-framing when auto-framing is enabled.
ratio | the zoom in ratio of auto-framing, valid range of ratio: a. mode is "AutoFramingMode_center_coordinates", 1~10 b. mode is "AutoFramingMode_face_recognition", 0.1~10 |
void us.zoom.sdk.InMeetingVideoController.setVideoCaptureSurfaceHolder | ( | SurfaceHolder | holder | ) |
Set a surface holder to capture video with camera.
holder | The SurfaceHolder to capture video. |
MobileRTCSDKError us.zoom.sdk.InMeetingVideoController.setVideoQualityPreference | ( | SDKVideoPreferenceSetting | preferenceSetting | ) |
Set the video quality preference that automatically adjust user's video to prioritize frame rate versus resolution based on the current bandwidth available.
preferenceSetting | Specifies the video quality preference. |
MobileRTCSDKError us.zoom.sdk.InMeetingVideoController.showAvatar | ( | boolean | show | ) |
Determine if show the last used avatar in the meeting.
show | true indicates to show the last used avatar. |
MobileRTCSDKError us.zoom.sdk.InMeetingVideoController.spotLightVideo | ( | boolean | on, |
long | userId ) |
Set whether to spotlight user's video or not.
on | TRUE means to spotlight user's video; FALSE not. |
userId | The ID of user whose video will be spotlighted in the meeting. |
MobileRTCSDKError us.zoom.sdk.InMeetingVideoController.stopAttendeeVideo | ( | long | userId | ) |
Host can use the function to mute user's video.
userId | The ID of user to be muted in meeting. |
MobileRTCSDKError us.zoom.sdk.InMeetingVideoController.stopIncomingVideo | ( | boolean | bStop | ) |
Stop the incoming video.
bStop | true means stop |
boolean us.zoom.sdk.InMeetingVideoController.switchCamera | ( | String | cameraId | ) |
Switch to camera by ID.
cameraId | The ID of the camera. |
boolean us.zoom.sdk.InMeetingVideoController.switchToNextCamera | ( | ) |
Switch to next camera.
MobileRTCSDKError us.zoom.sdk.InMeetingVideoController.unSpotlightAllVideos | ( | ) |
Set all user's video unSpotlight.
boolean us.zoom.sdk.InMeetingVideoController.zoomCamera | ( | float | zoomStep | ) |
Zoom the camera.
zoomStep | Zoom step, between 1.0 to the CameraDevice.getMaxZoomFactor() . |