Video SDK for MacOS API Reference
|
Delegate protocol to receive session related callbacks. More...
#include <ZMVideoSDKDelegate.h>
Inherits <NSObject>.
Instance Methods | |
(void) | - onSessionJoin |
Callback: Invoked when the current user joins the session. | |
(void) | - onSessionLeave |
Callback: Invoked when the current user leaves the session. | |
(void) | - onSessionLeave: |
Invoked when the current user leaves the session with reason. | |
(void) | - onError:detail: |
Callback: Invoked when errors occur. | |
(void) | - onUserJoin:userList: |
Callback: Invoked when a user joins the session. | |
(void) | - onUserLeave:userList: |
Triggered when other users leave session. | |
(void) | - onUserVideoStatusChanged:userList: |
Callback: Invoked when a user makes changes to their video, such as starting or stopping their video. | |
(void) | - onUserAudioStatusChanged:userList: |
Callback: Invoked when a user makes changes to their audio, such as muting or unmuting their audio. | |
(void) | - onUserShareStatusChanged:user:shareAction: |
Invoked when a user makes changes to their sharing status, such as starting screen sharing, starting view sharing, or stopping sharing. | |
(void) | - onShareContentSizeChanged:user:shareAction: |
Invoked when the share content size has changed. | |
(void) | - onShareContentChanged:user:shareAction: |
Callback: Invoked when a user makes changes to their share content type, such as switching camera share to normal share. Find the share type in ZMVideoSDKShareType. | |
(void) | - onFailedToStartShare:user: |
Invoked when a user failed to start sharing. | |
(void) | - onShareSettingChanged: |
Notification of the share setting has changed. | |
(void) | - onLiveStreamStatusChanged:liveStreamStatus: |
Callback: Invoked when a user makes changes to their live stream status. | |
(void) | - onChatNewMessageNotify:chatMessage: |
Callback: Invoked when receiving a chat message. | |
(void) | - onUserHostChanged:user: |
Callback: Invoked when the session host changes. | |
(void) | - onUserActiveAudioChanged:userList: |
Callback: Invoked when the active audio changes. | |
(void) | - onSessionNeedPassword: |
Callback: Invoked when the session requires a password to join. | |
(void) | - onSessionPasswordWrong: |
Callback: Invoked when the provided session password is wrong or invalid. | |
(void) | - onMixedAudioRawDataReceived: |
Callback: Invoked when mixed (all users) audio raw data received. | |
(void) | - onOneWayAudioRawDataReceived:user: |
Callback: Invoked when individual user's audio raw data received. | |
(void) | - onUserManagerChanged: |
Callback: Invoked when the manager of the session changes. | |
(void) | - onUserNameChanged: |
Callback: Invoked when a user changes their name. | |
(void) | - onSharedAudioRawDataReceived: |
Callback: Invoked when receiving shared raw audio data. | |
(void) | - onCloudRecordingStatus:recordingConsentHandler: |
Callback: Invoked when cloud recording status has paused, stopped, resumed, or otherwise changed. | |
(void) | - onUserRecordingConsent: |
Invoked when a user consents to individual recording. | |
(void) | - onCommandReceived:senderUser: |
Once the command channel is active, this callback is triggered each time a message is received. | |
(void) | - onCameraControlRequestResult:approved: |
Callback for when the current user is granted camera control access. | |
(void) | - onCameraControlRequestReceived:cameraControlRequestType:requestHandler: |
Callback interface for when the current user has received a camera control request. | |
(void) | - onCommandChannelConnectResult: |
When the SDK attempts to establish a connection for the command channel when joining a session, this callback is triggered once the connection attempt for the command channel is completed. | |
(void) | - onHostAskUnmute |
Callback: Invoked when a host requests you to unmute yourself. | |
(void) | - onInviteByPhoneStatus:reason: |
Callback: Invoked when the invite by phone status changes to any other valid status such as Calling, Ringing, Success, or Failed. | |
(void) | - onCalloutJoinSuccess:phoneNumber: |
Callback: Invoked when the invite by phone user joined session success. | |
(void) | - onMultiCameraStreamStatusChanged:user:rawDataPipe: |
Callback: Invoked when someone in a given session enables or disables multi-camera. All participants in the session receive this callback. | |
(void) | - onMicSpeakerVolumeChanged:speakerVolume: |
Notify the current mic or speaker volume when testing. | |
(void) | - onAudioDeviceStatusChanged:status: |
Notify that either mic device or speaker device status changed. | |
(void) | - onTestMicStatusChanged: |
Notify the mic status when testing. | |
(void) | - onSelectedAudioDeviceChanged |
Notify the user that a mic/speaker device is selected when testing. Then the SDK will close the mic/speaker testing. The user shall restart the test manually if he still wants to test. | |
(void) | - onCameraListChanged |
Notify that the camera list has updated. | |
(void) | - onLiveTranscriptionStatus: |
Callback: Invoked when live transcription status changes. | |
(void) | - onLiveTranscriptionMsgInfoReceived: |
Callback: Invoked when a live transcription message is received. | |
(void) | - onOriginalLanguageMsgReceived: |
Original language message received callback. | |
(void) | - onLiveTranscriptionMsgError:transcriptLanguage: |
Callback: Invoked when a live translation error occurs. | |
(void) | - onSpokenLanguageChanged: |
Notification of the spoken language has changed. | |
(void) | - onChatMsgDeleteNotification:messageID:deleteBy: |
Callback: Invoked when a user deletes a chat message. | |
(void) | - onChatPrivilegeChanged:chatPrivilegeType: |
Callback event of the chat privilege of participant has changed. | |
(void) | - onProxyDetectComplete |
Notification callback of completing the proxy detection. | |
(void) | - onProxySettingNotification: |
The callback will be triggered if the proxy requests to input the username and password. Use the handler to configure the related information. | |
(void) | - onSSLCertVerifiedFailNotification: |
The callback will be triggered when the SSL is verified. Use the handler to check the related information. | |
(void) | - onUserVideoNetworkStatusChanged:user: |
Callback event of the user's video network quality changes. | |
(void) | - onShareNetworkStatusChanged:isSendingShare: |
Callback event of the current user's share network quality changes. | |
(void) | - onCallCRCDeviceStatusChanged: |
Callback event of the call CRC device's status. | |
(void) | - onVideoCanvasSubscribeFail:user:view: |
Callback event for the vidoe canvas that failed to subscribe. | |
(void) | - onShareCanvasSubscribeFail:view:shareAction: |
Callback event for the subscribed user's share view failure reason. | |
(void) | - onAnnotationHelperCleanUp: |
Callback for the annotation helper clean up. SDK will release the ZoomVideoSDKAnnotationHelper object as well. | |
(void) | - onAnnotationPrivilegeChange:shareAction: |
Callback for the annotation privilege change. | |
(void) | - onAnnotationHelperActived: |
Callback for the annotation helper activated. Notify that annotation windows have been created. | |
(void) | - onSendFile:status: |
Invoked when send file status make change. | |
(void) | - onReceiveFile:status: |
Invoked when receive file status make change. | |
(void) | - onVideoAlphaChannelStatusChanged: |
Callback event of alpha channel mode changes. | |
(void) | - onRemoteControlStatus:user:shareAction: |
Callback for when the remote control status changes. | |
(void) | - onRemoteControlRequestReceived:shareAction:handler: |
Callback for when the current user has received a remote control request. This will be triggered when another user requests control of the current user's screen. | |
(void) | - onSpotlightVideoChanged:userList: |
Callback event of spotlighted video user changes. | |
(void) | - onBindIncomingLiveStreamResponse:streamKeyID: |
Callback event that binds incoming live stream. | |
(void) | - onUnbindIncomingLiveStreamResponse:streamKeyID: |
Callback event that unbinds incoming live stream. | |
(void) | - onIncomingLiveStreamStatusResponse:streamsStatusList: |
Callback event that gets streams status. | |
(void) | - onStartIncomingLiveStreamResponse:streamKeyID: |
Callback event that starts the binded stream. | |
(void) | - onStopIncomingLiveStreamResponse:streamKeyID: |
Callback event that stops the binded stream. | |
(void) | - onSubSessionStatusChanged:subSessionKit: |
Callback event for when the subsession status changes. | |
(void) | - onSubSessionManagerHandle: |
Callback event when a user gains or loses subsession manager privileges. | |
(void) | - onSubSessionParticipantHandle: |
Callback event when a user gains or loses subsession participant privileges. | |
(void) | - onSubSessionUsersUpdate: |
Callback event when the subsession users are updated. | |
(void) | - onBroadcastMessageFromMainSession:userName: |
Callback event when the user receives a main session broadcast message. | |
(void) | - onSubSessionUserHelpRequest: |
Callback event when the user receives a help request from a subsession. | |
(void) | - onSubSessionUserHelpRequestResult: |
Callback event when the result of the help request. | |
Delegate protocol to receive session related callbacks.
Definition at line 46 of file ZMVideoSDKDelegate.h.
|
optionalrequired |
Callback for the annotation helper activated. Notify that annotation windows have been created.
view | The view that annotating. |
|
optionalrequired |
Callback for the annotation helper clean up. SDK will release the ZoomVideoSDKAnnotationHelper object as well.
helper | The helper clean up object. |
|
optionalrequired |
Callback for the annotation privilege change.
user | The pointer to a user object who changed viewer's annotation privilege. |
shareAction | The pointer to a ZMVideoSDKShareAction object. |
|
optionalrequired |
Notify that either mic device or speaker device status changed.
type | The audio device type. |
status | The audio device status. |
|
optionalrequired |
Callback event that binds incoming live stream.
bSuccess | YES is success, otherwise false. |
streamKeyID | Corresponding stream key id. |
|
optionalrequired |
Callback event when the user receives a main session broadcast message.
message | The message content. |
name | The name of the user who broadcasted this message. |
|
optionalrequired |
Callback event of the call CRC device's status.
status | The call status. |
|
optionalrequired |
Callback: Invoked when the invite by phone user joined session success.
user | success joined user. |
phoneNumber | Phone number of callout. |
|
optionalrequired |
Callback interface for when the current user has received a camera control request.
user | The pointer to the user who sent the request. |
requestType | The request type. |
cameraControlRequestHandler | The pointer to the helper instance of the camera controller. |
|
optionalrequired |
Callback for when the current user is granted camera control access.
user | The pointer to the user who received the request. |
isApproved | The result of the camera control request. |
|
optionalrequired |
Notify that the camera list has updated.
|
optionalrequired |
Callback: Invoked when a user deletes a chat message.
chatHelper | The pointer to chat helper object. |
msgID | The deleted message's ID. |
type | Indicates by whom the message was deleted. |
|
optionalrequired |
Callback: Invoked when receiving a chat message.
chatHelper | The pointer of chat helper object. |
chatMessage | The pointer of chat message object. |
|
optionalrequired |
Callback event of the chat privilege of participant has changed.
chatHelper | The pointer to chat helper object. |
privilege | The new chat privilege. |
|
optionalrequired |
Callback: Invoked when cloud recording status has paused, stopped, resumed, or otherwise changed.
status | Cloud recording status. |
handler | When the cloud recording starts, this object is used to let the user choose whether to accept or not. |
|
optionalrequired |
When the SDK attempts to establish a connection for the command channel when joining a session, this callback is triggered once the connection attempt for the command channel is completed.
isSuccess | YES: Success, command channel is ready to be used. NO: Failure, command channel was unable to connect. |
|
optionalrequired |
Once the command channel is active, this callback is triggered each time a message is received.
commandContent | Received command. |
user | The user who sent the command. |
|
optionalrequired |
Callback: Invoked when errors occur.
ErrorType | Provides error code associated with the error. |
details | Detailed errorCode. |
|
optionalrequired |
Invoked when a user failed to start sharing.
shareHelper | The pointer to a share helper object. |
user | The pointer to a user object. |
|
optionalrequired |
Callback: Invoked when a host requests you to unmute yourself.
|
optionalrequired |
Callback event that gets streams status.
bSuccess | YES is success, otherwise false. |
streamsStatusList | The streams status list. |
|
optionalrequired |
Callback: Invoked when the invite by phone status changes to any other valid status such as Calling, Ringing, Success, or Failed.
status | Invite by phone status. |
reason | Invite by phone failed reason. |
|
optionalrequired |
Callback: Invoked when a user makes changes to their live stream status.
liveStreamHelper | The pointer of live stream helper object. |
status | The current status of live stream. |
|
optionalrequired |
Callback: Invoked when a live translation error occurs.
spokenLanguage | The spoken message language. |
transcriptLanguage | The message language you want to translate. |
|
optionalrequired |
Callback: Invoked when a live transcription message is received.
messageInfo | The live transcription message. |
|
optionalrequired |
Callback: Invoked when live transcription status changes.
status | The live transcription status. |
|
optionalrequired |
Notify the current mic or speaker volume when testing.
micVolume | Specify the volume of the mic when testing or in session. |
speakerVolume | Specify the volume of the speaker when testing. |
|
optionalrequired |
Callback: Invoked when mixed (all users) audio raw data received.
data | The pointer of audio raw data. |
|
optionalrequired |
Callback: Invoked when someone in a given session enables or disables multi-camera. All participants in the session receive this callback.
status | The status of camera. |
user | The user who enabled multi-camera. |
videoPipe | The data pipe for the multi-camera. |
|
optionalrequired |
Callback: Invoked when individual user's audio raw data received.
data | Raw audio data. |
user | The user object associated with the raw audio data. |
|
optionalrequired |
Original language message received callback.
messageInfo | The spoken language message. |
|
optionalrequired |
Notification callback of completing the proxy detection.
|
optionalrequired |
The callback will be triggered if the proxy requests to input the username and password. Use the handler to configure the related information.
handler | The handler will be destroyed once the function calls end. |
|
optionalrequired |
Invoked when receive file status make change.
receiveFile | The pointer to receive file object. |
status | The status of file transfer. |
|
optionalrequired |
Callback for when the current user has received a remote control request. This will be triggered when another user requests control of the current user's screen.
user | The pointer to a user who sent the request. |
shareAction | The pointer to a ZMVideoSDKShareAction object. |
handler | The pointer to a helper instance of the remote controller. |
|
optionalrequired |
Callback for when the remote control status changes.
status | The value of the remote control status. |
user | The remote control user. |
shareAction | The pointer to a ZMVideoSDKShareAction object. |
|
optionalrequired |
Notify the user that a mic/speaker device is selected when testing. Then the SDK will close the mic/speaker testing. The user shall restart the test manually if he still wants to test.
|
optionalrequired |
Invoked when send file status make change.
sendFile | The pointer to send file object. |
status | The status of file transfer. |
|
optional |
Callback: Invoked when the current user joins the session.
|
optionalrequired |
Callback: Invoked when the current user leaves the session.
|
optionalrequired |
Invoked when the current user leaves the session with reason.
reason | The leave reason. |
|
optionalrequired |
Callback: Invoked when the session requires a password to join.
handle | The pointer to password handler object. |
|
optionalrequired |
Callback: Invoked when the provided session password is wrong or invalid.
handle | The pointer to password handler object. |
|
optionalrequired |
Callback event for the subscribed user's share view failure reason.
user | The pointer to a user object whose view we would like to subscribe to. |
view | The view that failed to subscribe. |
shareAction | The pointer to the ZMVideoSDKShareAction object. |
|
optionalrequired |
Callback: Invoked when a user makes changes to their share content type, such as switching camera share to normal share. Find the share type in ZMVideoSDKShareType.
shareHelper | The pointer to share helper object. |
user | current start or stop share userInfo. |
shareAction | The pointer to a ZMVideoSDKShareAction object. |
|
optionalrequired |
Invoked when the share content size has changed.
shareHelper | The pointer to a share helper object. |
user | The pointer to a user object. |
shareAction | The pointer to a ZMVideoSDKShareAction object. |
|
optionalrequired |
Callback: Invoked when receiving shared raw audio data.
data | Raw audio data. |
|
optionalrequired |
Callback event of the current user's share network quality changes.
status | share network quality. |
isSendingShare | Indicates the direction of the share. If YES, it refers to the sending share; if NO, it refers to the receiving share. |
|
optionalrequired |
Notification of the share setting has changed.
setting | The share setting, see ZMVideoSDKShareSetting |
|
optionalrequired |
Notification of the spoken language has changed.
spokenLanguage | The spoken message language. |
|
optionalrequired |
Callback event of spotlighted video user changes.
videoHelper | The pointer of video helper object. |
userlist | List of users who has been spotlighted. |
|
optionalrequired |
The callback will be triggered when the SSL is verified. Use the handler to check the related information.
handler | The handler will be destroyed once the function calls end. |
|
optionalrequired |
Callback event that starts the binded stream.
bSuccess | YES is success, otherwise false. |
streamKeyID | Corresponding stream key id. |
|
optionalrequired |
Callback event that stops the binded stream.
bSuccess | YES is success, otherwise false. |
streamKeyID | Corresponding stream key id. |
|
optionalrequired |
Callback event when a user gains or loses subsession manager privileges.
manager | The subsession manager object, when the user loses manager privileges, manager is nil. |
|
optionalrequired |
Callback event when a user gains or loses subsession participant privileges.
participant | The subsession participant object, when the user loses participant privileges, participant is nil. |
|
optionalrequired |
Callback event for when the subsession status changes.
status | The subsession status. |
subSessionKitList | The subsession which status has changed. It has value only when status is Committed/Withdrawn/WithdrawFailed. |
|
optionalrequired |
Callback event when the user receives a help request from a subsession.
handler | The request handler object. |
|
optionalrequired |
Callback event when the result of the help request.
result | The result of help request. |
|
optionalrequired |
Callback event when the subsession users are updated.
subSessionKit | The subSession kit object. |
|
optionalrequired |
Notify the mic status when testing.
status | The mic status. |
|
optionalrequired |
Callback event that unbinds incoming live stream.
bSuccess | YES is success, otherwise false. |
streamKeyID | Corresponding stream key id. |
|
optionalrequired |
Callback: Invoked when the active audio changes.
audioHelper | The pointer of audio helper object. |
userArray | Active audio list. |
|
optionalrequired |
Callback: Invoked when a user makes changes to their audio, such as muting or unmuting their audio.
audioHelper | The pointer of audio helper object. |
userArray | The array contain user objoct. |
|
optionalrequired |
Callback: Invoked when the session host changes.
userHelper | The pointer of user helper object. |
user | The pointer of user object. |
|
optionalrequired |
Callback: Invoked when a user joins the session.
userHelper | User help utility. |
userArray | List of users who have just joined the session. |
|
optionalrequired |
Triggered when other users leave session.
userHelper | The pointer of user helper object. |
userArray | An array contains the users leaved. |
|
optionalrequired |
Callback: Invoked when the manager of the session changes.
user | The pointer of user object. |
|
optionalrequired |
Callback: Invoked when a user changes their name.
user | The pointer of user object. |
|
optionalrequired |
Invoked when a user consents to individual recording.
user | The pointer to the user object. |
|
optionalrequired |
Invoked when a user makes changes to their sharing status, such as starting screen sharing, starting view sharing, or stopping sharing.
shareHelper | The pointer to a share helper object. |
user | The pointer to a user object. |
shareAction | The pointer to a ZMVideoSDKShareAction object. |
|
optionalrequired |
Callback event of the user's video network quality changes.
status | Video network quality. |
user | The pointer to a user object. |
|
optionalrequired |
Callback: Invoked when a user makes changes to their video, such as starting or stopping their video.
videoHelper | The pointer of video helper object. |
userArray | The array contain user objoct. |
|
optionalrequired |
Callback event of alpha channel mode changes.
isAlphaModeOn | YES means it's in alpha channel mode. Otherwise, it's not. |
|
optionalrequired |
Callback event for the vidoe canvas that failed to subscribe.
failReason | The fail reason. |
user | The pointer to the user object whose view we would like to subscribe to. |
view | The view that failed to subscribe. |