TKRoomManagerObserver Overview
TKPlayBackManager is an interface class provided by the SDK for course playback functionality, which defines the main interfaces related to playback room calls. The main class is TKPlayBackManager. Below are the properties and methods defined within this class.
TKPlayBackManager
- Initialization and Registration Setup
Interface Name |
Interface Function |
getInstance |
Instantiate the SDK singleton object |
destroy |
Destroy the SDK object |
setLoggerInfo |
Set the SDK log level for printing |
init |
Initialize the SDK |
registerRoomObserver |
Set the playback room signaling callback delegate |
- IMain Playback Room Interface
Interface Name |
Interface Function |
joinPlayBackRoom |
Enter a regular room |
leaveRoom |
Leave the room |
getRoomProperties |
Get room-related attributes |
getUser |
Get user object |
playVideo |
Play video |
playAudio |
Play audio |
unPlayVideo |
Stop playing video |
unPlayAudio |
Stop playing audio |
seekPlayback |
Set playback progress |
pausePlayback |
Pause playback |
resumePlayBack |
Resume playback |
- Share and Play Media Stream
Interface Name |
Interface Function |
playMedia |
Play or pause shared media stream |
unPlayMedia |
Stop playing shared media stream |
- Play Desktop Sharing and Movie File Streams
Interface Name |
Interface Function |
playScreen |
Play desktop sharing audio and video streams |
unPlayScreen |
Stop playing desktop sharing audio and video streams |
playFile |
Play shared movie file streams |
unPlayFile |
Stop playing shared movie file streams |