Zoom Meeting Video
- Description:
- Zoom Meeting Video
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
onUserVideoStatusChange |
function | Callback event of the user video status changes. |
onActiveSpeakerVideoUserChanged |
function | Callback event of the active speaker video user changes. |
onActiveVideoUserChanged |
function | Callback event of the active video user changes. |
onSpotlightedUserListChangeNotification |
function | Callback event for when the video spotlight user list changes. |
Returns:
- Type
- ZoomMeetingVideo
- Description:
- Zoom Meeting Video
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
onUserVideoStatusChange |
function | Callback event of the user video status changes. |
onActiveSpeakerVideoUserChanged |
function | Callback event of the active speaker video user changes. |
onActiveVideoUserChanged |
function | Callback event of the active video user changes. |
onSpotlightedUserListChangeNotification |
function | Callback event for when the video spotlight user list changes. |
Returns:
- Type
- ZoomMeetingVideo
Methods
(inner) MeetingVideo_CanPinToFirstView(userid) → {Object}
- Description:
- Determines if it is able to pin the video of the specified user to the first view.
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
userid |
Number | Specifies the user ID to be determined. |
Returns:
{err, result} err is SDKError. result is PinResult and validates only when err is SDKERR_SUCCESS.
- Type
- Object
(inner) MeetingVideo_CanPinToFirstView(userid) → {Object}
- Description:
- Determines if it is able to pin the video of the specified user to the first view.
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
userid |
Number | Specifies the user ID to be determined. |
Returns:
{err, result} err is SDKError. result is PinResult and validates only when err is SDKERR_SUCCESS.
- Type
- Object
(inner) MeetingVideo_CanPinToSecondView(userid) → {Object}
- Description:
- Determines if it is able to pin the video of the specified user to the second view.
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
userid |
Number | Specifies the user ID to be determined. |
Returns:
{err, result} err is SDKError. result is PinResult and validates only when err is SDKERR_SUCCESS.
- Type
- Object
(inner) MeetingVideo_CanPinToSecondView(userid) → {Object}
- Description:
- Determines if it is able to pin the video of the specified user to the second view.
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
userid |
Number | Specifies the user ID to be determined. |
Returns:
{err, result} err is SDKError. result is PinResult and validates only when err is SDKERR_SUCCESS.
- Type
- Object
(inner) MeetingVideo_CanSpotlight(userid) → {Object}
- Description:
- Determines if it is able to spotlight the video of the specified user in the meeting.
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
userid |
Number | Specifies the user ID to be determined. |
Returns:
{err, result} err is SDKError. result is SpotlightResult and validates only when err is SDKERR_SUCCESS.
- Type
- Object
(inner) MeetingVideo_CanSpotlight(userid) → {Object}
- Description:
- Determines if it is able to spotlight the video of the specified user in the meeting.
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
userid |
Number | Specifies the user ID to be determined. |
Returns:
{err, result} err is SDKError. result is SpotlightResult and validates only when err is SDKERR_SUCCESS.
- Type
- Object
(inner) MeetingVideo_CanUnSpotlight(userid) → {Object}
- Description:
- Determines if it is able to unspotlight the video of the specified user in the meeting.
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
userid |
Number | Specifies the user ID to be determined. |
Returns:
{err, result} err is SDKError. result is SpotlightResult and validates only when err is SDKERR_SUCCESS.
- Type
- Object
(inner) MeetingVideo_CanUnSpotlight(userid) → {Object}
- Description:
- Determines if it is able to unspotlight the video of the specified user in the meeting.
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
userid |
Number | Specifies the user ID to be determined. |
Returns:
{err, result} err is SDKError. result is SpotlightResult and validates only when err is SDKERR_SUCCESS.
- Type
- Object
(inner) MeetingVideo_EnableFollowHostVideoOrder(bEnable) → {Number}
- Description:
- Enables or disable follow host video order mode.
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
bEnable |
Boolean | true indicates to set to enable the follow host video order mode. |
Returns:
If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise, this function returns an error.
- Type
- Number
(inner) MeetingVideo_EnableFollowHostVideoOrder(bEnable) → {Number}
- Description:
- Enables or disable follow host video order mode.
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
bEnable |
Boolean | true indicates to set to enable the follow host video order mode. |
Returns:
If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise, this function returns an error.
- Type
- Number
(inner) MeetingVideo_GetLocalVideoOrderList() → {Array}
- Description:
- Gets the local video order list.
- Source:
Returns:
The local video order list, or an empty array if the operation fails.
- Type
- Array
(inner) MeetingVideo_GetLocalVideoOrderList() → {Array}
- Description:
- Gets the local video order list.
- Source:
Returns:
The local video order list, or an empty array if the operation fails.
- Type
- Array
(inner) MeetingVideo_GetPinnedUserListFromFirstView() → {Array}
- Description:
- Gets the list of all the pinned user in the first view.
- Source:
Returns:
The list of the pinned user in the first view, or an empty array if the operation fails.
- Type
- Array
(inner) MeetingVideo_GetPinnedUserListFromFirstView() → {Array}
- Description:
- Gets the list of all the pinned user in the first view.
- Source:
Returns:
The list of the pinned user in the first view, or an empty array if the operation fails.
- Type
- Array
(inner) MeetingVideo_GetPinnedUserListFromSecondView() → {Array}
- Description:
- Gets the list of all the pinned user in the second view.
- Source:
Returns:
The list of the pinned user in the second view, or an empty array if the operation fails.
- Type
- Array
(inner) MeetingVideo_GetPinnedUserListFromSecondView() → {Array}
- Description:
- Gets the list of all the pinned user in the second view.
- Source:
Returns:
The list of the pinned user in the second view, or an empty array if the operation fails.
- Type
- Array
(inner) MeetingVideo_GetSpotlightedUserList() → {Array}
- Description:
- Gets the list of all the spotlighted user in the meeting.
- Source:
Returns:
The list of the spotlighted user in the meeting, or an empty array if the operation fails.
- Type
- Array
(inner) MeetingVideo_GetSpotlightedUserList() → {Array}
- Description:
- Gets the list of all the spotlighted user in the meeting.
- Source:
Returns:
The list of the spotlighted user in the meeting, or an empty array if the operation fails.
- Type
- Array
(inner) MeetingVideo_GetVideoOrderList() → {Array}
- Description:
- Gets the host video order list.
- Source:
Returns:
The host video order list, or an empty array if the operation fails.
- Type
- Array
(inner) MeetingVideo_GetVideoOrderList() → {Array}
- Description:
- Gets the host video order list.
- Source:
Returns:
The host video order list, or an empty array if the operation fails.
- Type
- Array
(inner) MeetingVideo_HideOrShowNoVideoUserOnVideoWall(bHide) → {Number}
- Description:
- Display or not the user who does not turn on the video in the video all mode.
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
bHide |
Boolean | bHide or not |
Returns:
If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise, this function returns an error.
- Type
- Number
(inner) MeetingVideo_HideOrShowNoVideoUserOnVideoWall(bHide) → {Number}
- Description:
- Display or not the user who does not turn on the video in the video all mode.
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
bHide |
Boolean | bHide or not |
Returns:
If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise, this function returns an error.
- Type
- Number
(inner) MeetingVideo_IsFollowHostVideoOrderOn() → {Boolean}
- Description:
- Determines if the follow host video mode is enabled.
- Source:
Returns:
true indicates to enable the mode.
- Type
- Boolean
(inner) MeetingVideo_IsFollowHostVideoOrderOn() → {Boolean}
- Description:
- Determines if the follow host video mode is enabled.
- Source:
Returns:
true indicates to enable the mode.
- Type
- Boolean
(inner) MeetingVideo_IsSupportFollowHostVideoOrder() → {Boolean}
- Description:
- Determines if the following host video order feature is supported.
- Source:
Returns:
true indicates to support the following host video order feature.
- Type
- Boolean
(inner) MeetingVideo_IsSupportFollowHostVideoOrder() → {Boolean}
- Description:
- Determines if the following host video order feature is supported.
- Source:
Returns:
true indicates to support the following host video order feature.
- Type
- Boolean
(inner) MeetingVideo_MuteVideo(userid) → {Number}
- Description:
- Turn off the user's own video.
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
userid |
Number | Specifies which the user's video to mute |
Returns:
If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise, this function returns an error.
- Type
- Number
(inner) MeetingVideo_MuteVideo(userid) → {Number}
- Description:
- Turn off the user's own video.
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
userid |
Number | Specifies which the user's video to mute |
Returns:
If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise, this function returns an error.
- Type
- Number
(inner) MeetingVideo_PinVideoToFirstView(userid) → {Number}
- Description:
- Pin the video of the assigned user to the first view.
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
userid |
Number | Specifies which the user's video to pin |
Returns:
If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise, this function returns an error.
- Type
- Number
(inner) MeetingVideo_PinVideoToFirstView(userid) → {Number}
- Description:
- Pin the video of the assigned user to the first view.
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
userid |
Number | Specifies which the user's video to pin |
Returns:
If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise, this function returns an error.
- Type
- Number
(inner) MeetingVideo_PinVideoToSecondView(userid) → {Number}
- Description:
- Pin the video of the assigned user to the second view.
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
userid |
Number | Specifies which the user's video to pin |
Returns:
If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise, this function returns an error.
- Type
- Number
(inner) MeetingVideo_PinVideoToSecondView(userid) → {Number}
- Description:
- Pin the video of the assigned user to the second view.
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
userid |
Number | Specifies which the user's video to pin |
Returns:
If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise, this function returns an error.
- Type
- Number
(inner) MeetingVideo_SetActiveSpeakerVideoUserChangedCB(onActiveSpeakerVideoUserChanged) → {Boolean}
- Description:
- Set onActiveSpeakerVideoUserChanged callback.
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
onActiveSpeakerVideoUserChanged |
function |
Returns:
true or false
- Type
- Boolean
(inner) MeetingVideo_SetActiveSpeakerVideoUserChangedCB(onActiveSpeakerVideoUserChanged) → {Boolean}
- Description:
- Set onActiveSpeakerVideoUserChanged callback.
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
onActiveSpeakerVideoUserChanged |
function |
Returns:
true or false
- Type
- Boolean
(inner) MeetingVideo_SetActiveVideoUserChangedCB(onActiveVideoUserChanged) → {Boolean}
- Description:
- Set onActiveVideoUserChanged callback.
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
onActiveVideoUserChanged |
function |
Returns:
true or false
- Type
- Boolean
(inner) MeetingVideo_SetActiveVideoUserChangedCB(onActiveVideoUserChanged) → {Boolean}
- Description:
- Set onActiveVideoUserChanged callback.
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
onActiveVideoUserChanged |
function |
Returns:
true or false
- Type
- Boolean
(inner) MeetingVideo_SetMeetingVideoStatusCB(onUserVideoStatusChange) → {Boolean}
- Description:
- Set onUserVideoStatusChange callback.
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
onUserVideoStatusChange |
function |
Returns:
true or false
- Type
- Boolean
(inner) MeetingVideo_SetMeetingVideoStatusCB(onUserVideoStatusChange) → {Boolean}
- Description:
- Set onUserVideoStatusChange callback.
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
onUserVideoStatusChange |
function |
Returns:
true or false
- Type
- Boolean
(inner) MeetingVideo_SetSpotlightedUserListChangeNotificationCB(onSpotlightedUserListChangeNotification) → {Boolean}
- Description:
- Set onSpotlightedUserListChangeNotification callback.
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
onSpotlightedUserListChangeNotification |
function |
Returns:
true or false
- Type
- Boolean
(inner) MeetingVideo_SetSpotlightedUserListChangeNotificationCB(onSpotlightedUserListChangeNotification) → {Boolean}
- Description:
- Set onSpotlightedUserListChangeNotification callback.
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
onSpotlightedUserListChangeNotification |
function |
Returns:
true or false
- Type
- Boolean
(inner) MeetingVideo_SetVideoQualityPreference(mode, minimumFrameRate, maximumFrameRate) → {Number}
- Description:
- Set the video quality preference that automatically adjust user's video to prioritize frame rate versus resolution based on the current bandwidth available.
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
mode |
Number | 0: Balance mode; 1: Smoothness mode; 2: Sharpness mode; 3: Custom mode |
minimumFrameRate |
Number | 0 for the default value,minimum_frame_rate should be less than maximum_frame_rate, range: from 0 to 30 .out of range for frame-rate will use default frame-rate of Zoom |
maximumFrameRate |
Number | 0 for the default value,maximum_frame_rate should be less and equal than 30, range: from 0 to 30.out of range for frame-rate will use default frame-rate of Zoom |
Returns:
If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise, this function returns an error.
- Type
- Number
(inner) MeetingVideo_SetVideoQualityPreference(mode, minimumFrameRate, maximumFrameRate) → {Number}
- Description:
- Set the video quality preference that automatically adjust user's video to prioritize frame rate versus resolution based on the current bandwidth available.
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
mode |
Number | 0: Balance mode; 1: Smoothness mode; 2: Sharpness mode; 3: Custom mode |
minimumFrameRate |
Number | 0 for the default value,minimum_frame_rate should be less than maximum_frame_rate, range: from 0 to 30 .out of range for frame-rate will use default frame-rate of Zoom |
maximumFrameRate |
Number | 0 for the default value,maximum_frame_rate should be less and equal than 30, range: from 0 to 30.out of range for frame-rate will use default frame-rate of Zoom |
Returns:
If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise, this function returns an error.
- Type
- Number
(inner) MeetingVideo_SpotlightVideo(userid) → {Number}
- Description:
- Spotlight the video of the assigned user to the first view.
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
userid |
Number | Specifies which the user's video to pin |
Returns:
If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise, this function returns an error.
- Type
- Number
(inner) MeetingVideo_SpotlightVideo(userid) → {Number}
- Description:
- Spotlight the video of the assigned user to the first view.
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
userid |
Number | Specifies which the user's video to pin |
Returns:
If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise, this function returns an error.
- Type
- Number
(inner) MeetingVideo_UnMuteVideo(userid) → {Number}
- Description:
- Turn on the user's own video.
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
userid |
Number | Specifies which the user's video to unmute |
Returns:
If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise, this function returns an error.
- Type
- Number
(inner) MeetingVideo_UnMuteVideo(userid) → {Number}
- Description:
- Turn on the user's own video.
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
userid |
Number | Specifies which the user's video to unmute |
Returns:
If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise, this function returns an error.
- Type
- Number
(inner) MeetingVideo_UnPinAllVideosFromFirstView() → {Number}
- Description:
- Unpin all the videos from the first view.
- Source:
Returns:
If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise, this function returns an error.
- Type
- Number
(inner) MeetingVideo_UnPinAllVideosFromFirstView() → {Number}
- Description:
- Unpin all the videos from the first view.
- Source:
Returns:
If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise, this function returns an error.
- Type
- Number
(inner) MeetingVideo_UnPinVideoFromFirstView(userid) → {Number}
- Description:
- Unpin the video of the assigned user from the first view.
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
userid |
Number | Specifies the user ID to be unpinned. |
Returns:
If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise, this function returns an error.
- Type
- Number
(inner) MeetingVideo_UnPinVideoFromFirstView(userid) → {Number}
- Description:
- Unpin the video of the assigned user from the first view.
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
userid |
Number | Specifies the user ID to be unpinned. |
Returns:
If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise, this function returns an error.
- Type
- Number
(inner) MeetingVideo_UnPinVideoFromSecondView(userid) → {Number}
- Description:
- Unpin the video of the assigned user from the second view.
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
userid |
Number | Specifies the user ID to be unpinned. |
Returns:
If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise, this function returns an error.
- Type
- Number
(inner) MeetingVideo_UnPinVideoFromSecondView(userid) → {Number}
- Description:
- Unpin the video of the assigned user from the second view.
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
userid |
Number | Specifies the user ID to be unpinned. |
Returns:
If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise, this function returns an error.
- Type
- Number
(inner) MeetingVideo_UnSpotlightAllVideos() → {Number}
- Description:
- Unspotlight all videos.
- Source:
Returns:
If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise, this function returns an error.
- Type
- Number
(inner) MeetingVideo_UnSpotlightAllVideos() → {Number}
- Description:
- Unspotlight all videos.
- Source:
Returns:
If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise, this function returns an error.
- Type
- Number
(inner) MeetingVideo_UnSpotlightVideo(userid) → {Number}
- Description:
- Unspotlight the video of the assigned user.
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
userid |
Number | Specifies which the user's video to unspotlight |
Returns:
If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise, this function returns an error.
- Type
- Number
(inner) MeetingVideo_UnSpotlightVideo(userid) → {Number}
- Description:
- Unspotlight the video of the assigned user.
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
userid |
Number | Specifies which the user's video to unspotlight |
Returns:
If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise, this function returns an error.
- Type
- Number
Events
onActiveSpeakerVideoUserChanged
- Description:
- Callback event of the active speaker video user changes.
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
userId |
String | The ID of user who becomes the new active speaker. |
onActiveSpeakerVideoUserChanged
- Description:
- Callback event of the active speaker video user changes.
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
userId |
String | The ID of user who becomes the new active speaker. |
onActiveVideoUserChanged
- Description:
- Callback event of the active video user changes.
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
userId |
String | The ID of user who becomes the new active speaker. |
onActiveVideoUserChanged
- Description:
- Callback event of the active video user changes.
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
userId |
String | The ID of user who becomes the new active speaker. |
onSpotlightedUserListChangeNotification
- Description:
- Callback event for when the video spotlight user list changes. Spotlight user means that the view will show only the specified user and won't change the view even other users speak.
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
lstSpotlightedUserID |
Array | spot light user list. |
onSpotlightedUserListChangeNotification
- Description:
- Callback event for when the video spotlight user list changes. Spotlight user means that the view will show only the specified user and won't change the view even other users speak.
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
lstSpotlightedUserID |
Array | spot light user list. |
onUserVideoStatusChange
- Description:
- Callback event of the user video status changes.
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
userId |
String | The user ID whose video status changes |
status |
String | New video status ZoomMeetingVideoStatus. Video_NotReceiving means the user is still sending, but a previously received video stream is no longer available. Camera-on without a subscribed stream is On. It is not reported for the local user. |
onUserVideoStatusChange
- Description:
- Callback event of the user video status changes.
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
userId |
String | The user ID whose video status changes |
status |
String | New video status ZoomMeetingVideoStatus. Video_NotReceiving means the user is still sending, but a previously received video stream is no longer available. Camera-on without a subscribed stream is On. It is not reported for the local user. |