public interface InMeetingVideoController
Modifier and Type | Method and Description |
---|---|
long |
activeVideoUserID()
Get the ID of user whose video is active in the meeting.
|
MobileRTCSDKError |
askAttendeeStartVideo(long userId)
Host can use the function to ask the user to start video.
|
boolean |
canSwitchCamera()
Query if it is able to switch camera.
|
boolean |
canUnmuteMyVideo()
Query if user is able to unmute himself.
|
java.util.List<CameraDevice> |
getCameraDeviceList()
Get the list of all camera devices.
|
long |
getPinnedUser()
Get the user ID of current pinned video.
|
java.lang.String |
getSelectedCameraId()
Get the ID of currently selected camera.
|
boolean |
isBackCamera(java.lang.String cameraId)
Query if the camera is the back one.
|
boolean |
isFrontCamera(java.lang.String cameraId)
Query if the camera is the front one.
|
boolean |
isMyVideoMuted()
Query if the video of current user is muted or not.
|
boolean |
isUserPinned(long userId)
Query if the current user's video is pinned.
|
boolean |
isUserVideoSpotLighted(long userId)
Query if the user's video is spotlighted.
|
MobileRTCSDKError |
muteMyVideo(boolean mute)
Set to mute/unmute the video.
|
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.
|
boolean |
rotateMyVideo(int rotation)
Set to rotate user's video.
|
void |
setVideoCaptureSurfaceHolder(android.view.SurfaceHolder holder)
Set a surface holder to capture video with camera.
|
MobileRTCSDKError |
spotLightVideo(boolean on,
long userId)
Set whether to spotlight user's video or not.
|
MobileRTCSDKError |
stopAttendeeVideo(long userId)
Host can use the function to mute user's video.
|
boolean |
switchCamera(java.lang.String cameraId)
Switch to camera by ID.
|
boolean |
switchToNextCamera()
Switch to next camera.
|
long activeVideoUserID()
boolean isMyVideoMuted()
boolean canUnmuteMyVideo()
MobileRTCSDKError muteMyVideo(boolean mute)
mute
- TRUE means to mute, FALSE not.MobileRTCSDKError
.void setVideoCaptureSurfaceHolder(android.view.SurfaceHolder holder)
holder
- The SurfaceHolder to capture video, see SurfaceHolder
boolean rotateMyVideo(int rotation)
rotation
- 0: no rotation (natural orientation); 1: rotate 90 degrees; 2: rotate 180 degrees; 3: rotate 270 degrees.MobileRTCSDKError
.boolean canSwitchCamera()
boolean switchToNextCamera()
MobileRTCSDKError
.boolean switchCamera(java.lang.String cameraId)
cameraId
- The ID of the camera, see CameraDevice
.MobileRTCSDKError
.java.util.List<CameraDevice> getCameraDeviceList()
CameraDevice
.java.lang.String getSelectedCameraId()
boolean isFrontCamera(java.lang.String cameraId)
cameraId
- The ID of camera to be checked, see CameraDevice
.boolean isBackCamera(java.lang.String cameraId)
cameraId
- The ID of camera to be checked, see CameraDevice
.MobileRTCSDKError stopAttendeeVideo(long userId)
userId
- The ID of user to be muted in meeting.MobileRTCSDKError
.MobileRTCSDKError askAttendeeStartVideo(long userId)
userId
- The ID of user who needs to turn on video in meeting.MobileRTCSDKError
.boolean isUserVideoSpotLighted(long userId)
userId
- The user ID to be checked in meeting.MobileRTCSDKError spotLightVideo(boolean on, long userId)
on
- TRUE means to spotlight user's video; FALSE not.userId
- The ID of user whose video will be spotlighted in the meeting.MobileRTCSDKError
.long getPinnedUser()
boolean isUserPinned(long userId)
userId
- The user ID in meeting.MobileRTCSDKError pinVideo(boolean on, long userId)
on
- TRUE means the user's video is pinned. FALSE not.userId
- The user ID.MobileRTCSDKError
.