Meeting SDK for Android API Reference
Loading...
Searching...
No Matches
InMeetingVideoController.java
Go to the documentation of this file.
1package us.zoom.sdk;
2
3import android.view.SurfaceHolder;
4
5import java.util.List;
6
11public interface InMeetingVideoController {
12
18 public long activeVideoUserID();
19
25 public boolean isMyVideoMuted();
26
32 public boolean canUnmuteMyVideo();
33
40 public MobileRTCSDKError muteMyVideo(boolean mute);
41
47 public void setVideoCaptureSurfaceHolder(SurfaceHolder holder);
48
55 public boolean rotateMyVideo(int rotation);
56
62 public boolean canSwitchCamera();
63
69 public boolean switchToNextCamera();
70
77 public boolean switchCamera(String cameraId);
78
84 public List<CameraDevice> getCameraDeviceList();
85
91 public String getSelectedCameraId();
92
99 public boolean isFrontCamera(String cameraId);
100
107 public boolean isBackCamera(String cameraId);
108
116
124
131 public boolean isUserVideoSpotLighted(long userId);
132
140 public MobileRTCSDKError spotLightVideo(boolean on, long userId);
141
148
154 public long getPinnedUser();
155
162 public boolean isUserPinned(long userId);
163
171 public MobileRTCSDKError pinVideo(boolean on, long userId);
172
177
185
192
200
206 boolean isShowAvatar();
207
214
215
224
231
238
246
256
264
272
279
285
292
298
305
313
320
327 boolean zoomCamera(float zoomStep);
328
336}
Parameters for auto-framing feature in Zoom SDK.
Video Preference Setting When setting custom modes, the developer provides the maximum and minimum fr...
The size of user's video.
Definition VideoSize.java:6
Enumeration of auto framing modes in video.
Enumeration of face recognition failure strategies.
Enumeration of common errors of SDK.
boolean isUserPinned(long userId)
Query if the current user's video is pinned.
long getPinnedUser()
Get the user ID of current pinned video.
MobileRTCSDKError pinVideo(boolean on, long userId)
Set whether to pin user's video or not, which means that during a video conference,...
String getSelectedCameraId()
Get the ID of currently selected camera.
MobileRTCSDKError setVideoQualityPreference(SDKVideoPreferenceSetting preferenceSetting)
Set the video quality preference that automatically adjust user's video to prioritize frame rate vers...
boolean zoomCamera(float zoomStep)
Zoom the camera.
MobileRTCSDKError unSpotlightAllVideos()
Set all user's video unSpotlight.
MobileRTCSDKError enableAlphaChannelMode(boolean enable)
Enable or disable alpha channel mode.
AutoFramingMode getVideoAutoFramingMode()
Get current mode of auto-framing.
boolean switchToNextCamera()
Switch to next camera.
boolean canUnmuteMyVideo()
Query if user is able to unmute himself.
boolean isUserVideoSpotLighted(long userId)
Query if the user's video is spotlighted.
MobileRTCSDKError askAttendeeStartVideo(long userId)
Host can use the function to ask the user to start video.
long activeVideoUserID()
Get the ID of user whose video is active in the meeting.
MobileRTCSDKError enableVideoAutoFraming(AutoFramingMode mode, AutoFramingParameter setting)
Enable my video auto-framing.
MobileRTCSDKError setVideoAutoFramingRatio(float ratio)
Set the zoom in ratio of auto-framing when auto-framing is enabled.
MobileRTCSDKError stopIncomingVideo(boolean bStop)
Stop the incoming video.
MobileRTCSDKError spotLightVideo(boolean on, long userId)
Set whether to spotlight user's video or not.
MobileRTCSDKError muteMyVideo(boolean mute)
Set to mute/unmute the video.
ISetVideoOrderHelper getSetVideoOrderHelper()
boolean isBackCamera(String cameraId)
Query if the camera is the back one.
boolean isVideoAutoFramingEnabled()
Determine whether auto-framing is enabled.
MobileRTCSDKError stopAttendeeVideo(long userId)
Host can use the function to mute user's video.
boolean isShowAvatar()
Determine if the meeting is showing the avatar.
boolean isFrontCamera(String cameraId)
Query if the camera is the front one.
MobileRTCSDKError setVideoAutoFramingMode(AutoFramingMode mode)
Set the mode of auto-framing when auto-framing is started.
boolean isIncomingVideoStopped()
Determine if the incoming video is stopped.
MobileRTCSDKError showAvatar(boolean show)
Determine if show the last used avatar in the meeting.
List< CameraDevice > getCameraDeviceList()
Get the list of all camera devices.
void setVideoCaptureSurfaceHolder(SurfaceHolder holder)
Set a surface holder to capture video with camera.
boolean canEnableAlphaChannelMode()
Determine if alpha channel mode can be enabled.
boolean isMyVideoMuted()
Query if the video of current user is muted or not.
MobileRTCSDKError revokeCameraControlPrivilege()
Revoke camera control privilege.
MobileRTCSDKError setFaceRecognitionFailStrategy(FaceRecognitionFailStrategy strategy)
Set the fail strategy of face recognition when auto-framing is enabled(mode is "AutoFramingMode_face_...
MobileRTCSDKError disableVideoAutoFraming()
Stop video auto-framing.
ICameraController getCameraController(long userId)
Get camera controller object that can control any user's camera.
AutoFramingParameter getVideoAutoFramingSetting(AutoFramingMode mode)
Get the setting of auto-framing.
VideoSize getUserVideoSize(long userID)
Get the size of user's video.
boolean canSwitchCamera()
Query if it is able to switch camera.
boolean rotateMyVideo(int rotation)
Set to rotate user's video.
boolean switchCamera(String cameraId)
Switch to camera by ID.
boolean isStopIncomingVideoSupported()
Determine if the incoming video is supported.
boolean isAlphaChannelModeEnabled()
Determine if alpha channel mode is enabled.