Overview of TKRoomDefines.h
TKRoomDefines
Defines the enums and instance object classes used in TKRoomSDK.
pubMsg/deleteMsg
- The key definitions for the values passed in the toID parameter when calling the pubMsg and delMsg interfaces to send custom signaling
Field name | Field description |
---|---|
TKRoomPubMsgTellAll | Everyone |
TKRoomPubMsgTellAllExceptSender | Everyone except oneself |
TKRoomPubMsgTellAllExceptAuditor | Everyone except the auditor |
TKRoomPubMsgTellNone | Notify no one |
Initialize with init
- Call initWithAppKey for initialization. The optional parameter is related to room settings. For details, refer to the definition of the TKRoomConfig object
ENUM
- The enumeration definitions used in the SDK
Enumeration name | Enumeration description |
---|---|
TKRoomErrorCode | Error code |
TKRoomWarningCode | Warning |
TKMediaType | Media type |
TKPublishState | Publishing status |
TKMediaState | Media stream publishing status |
TKVideoStreamType | Video stream type |
TKVideoCodecType | Video encoding format type |
TKRoomTypes | Room type |
TKRenderMode | Video rendering mode |
TKLogLevel | Log level |
TKUserRoleType | User role |
TKRecordType | Recording file type |
TKRecordState | Recording status |
TKNetQuality | Network quality |
TKOperator | Query |
TKSampleFormat | Audio format |
INSTANCE OBJECT CLASS
- The instance object classes used in the SDK
Class name | Class description |
---|---|
TKVideoProfile | Video attributes |
TKVideoCanvas | Video rendering window |
TKAudioFrame | Audio data |
TKVideoFrame | Video data |
TKAudioStats | Audio statistics |
TKVideoStats | Video statistics |
TKRtcStats | Link statistics |