Overview of TKRoomManagerDelegate.h
Notification
CUSTOMIZE NOTIFICATIONS
This is a special customized notification that does not require listening. Relevant information, including errors and link-related statistics, can be obtained in the userInfo of the Notification.
Notification Name | Notification Function |
---|---|
TKRoomManagerJoinRoomSuccessNotification | Notification of Successful Room Entry |
TKRoomManagerJoinRoomFailedNotification | Notification of Failed Room Entry |
DEVICE DETECTION NOTIFICATION
Whether the room configuration item has enabled device detection. If enabled, the SDK will listen for the device detection completion notification. If the SDK receives the detection completion notification, it will then proceed with the room joining process. If the SDK fails to receive the detection completion notification, the room joining process will remain in a waiting state until the SDK receives the detection completion notification.
For information on room configuration items, please refer to the relevant backend documentation.
Notification Name | Notification Function |
---|---|
TKRoomManagerContinueCheckRoomNotification | Notification of Completed Device Detection |
TKRoomManagerDelegate Agreement
The protocol <TKRoomManagerDelegate> is the main signaling callback for rooms in the TKRoomSDK.
Callback Method Name | Function of the Method |
---|---|
roomManagerRoomJoined | Callback for Successful Entry into the Room |
roomManagerGroupJoined | Callback for Successful Entry into the Group |
roomManagerRoomLeft | Callback for Leaving the Room |
roomManagerOnConnectionLost | Callback for Socket Disconnection |
roomManagerDidOccuredError | Callback for Errors |
roomManagerDidOccuredWaring | Callback for Warnings |
roomManagerUserJoined | Callback for User Entering the Room |
roomManagerUserLeft | Callback for User Leaving the Room |
roomManagerKickedOut | Callback for Being Kicked Out of the Room |
roomManagerUserPropertyChanged | Callback for User Attributes Change |
roomManagerOnUserVideoStatus | Callback for User Video Status Change |
roomManagerOnUserAudioStatus | Callback for User Audio Status Change |
roomManagerOnRemotePubMsgWithMsgID | Callback for Receiving Custom Signaling Published by Other Users |
roomManagerOnRemoteDelMsgWithMsgID | Callback for Receiving Custom Signaling Deletion by Other Users |
roomManagerMessageReceived | Callback for Receiving Chat Messages |
roomManagerOnServerRecordStateChanged | Callback for Server Recording Status |
roomManagerOnVideoStatsReport | Callback for Data Statistics When Subscribing to Other Users' Videos |
roomManagerOnAudioStatsReport | Callback for Data Statistics When Subscribing to Other Users' Audio |
roomManagerOnRtcStatsReport | Callback for Upstream and Downstream Audio and Video Data Statistics |
roomManagerOnAudioVolumeWithPeerID | Callback for User Volume Changes |
roomManagerOnAudioRoomSwitch | Callback for Whether the Classroom Has Been Switched to an Audio-Only Classroom |
roomManagerOnFirstVideoFrameWithPeerID | Callback for Receiving the First Frame of Video Data When Playing a User's Audio and Video |
roomManagerOnVideoStateChange | Callback for Video Status Changes During the Playback of a User's Audio and Video |
roomManagerOnAudioStateChange | Callback for Audio Status Changes During the Playback of a User's Audio and Video |
roomManagerOnFirstAudioFrameWithPeerID | Callback for Receiving the First Frame of Audio Data When Playing a User's Audio and Video |
roomManagerOnShareMediaState | Callback for Media Stream Status Changes When a User Shares a Media Stream |
roomManagerUpdateMediaStream | Callback for Updating Media Stream Information |
roomManagerMediaLoaded | Callback for Loading the First Frame of a Media Stream |
roomManagerOnShareScreenState | Callback for Status Changes When a User Shares Their Desktop |
roomManagerOnShareFileState | Callback for Status Changes When a User Shares a Movie |
TKMediaFrameDelegate Agreement
Callback Method Name | Function of the Method |
---|---|
onCaptureAudioFrame | Callback for Locally Captured Audio Data |
onCaptureVideoFrame | Callback for Locally Captured Video Data |
onRenderAudioFrame | Callback for Receiving Remote Audio Data |
onRenderVideoFrame | Callback for Receiving Remote Video |