static void addChatroomGetListListener(IChatroomGetListListener* pChatroomGetListListener);
static void getLiveList(string strUserId, int listType);
void setRtcMediaType(LIVE_MEDIA_TYPE mediaTypeEnum);
string createLive(string strName, int chatroomType, int channelType);
bool startLive(string liveID);
bool watchLive(string liveID);
void applyToBroadcaster(string toID);
void agreeApplyToBroadcaster(string toID);
void refuseApplyToBroadcaster(string toID);
void inviteToBroadcaster(string toID);
void agreeInviteToBroadcaster(string toID);
void refuseInviteToBroadcaster(string toID);
void commandToAudience(string toID);
void leaveLive();
void changeToBig(string userID);
void changeToSmall(string userID);
void setAudioEnable(bool bEnable);
void setVideoEnable(bool bEnable);
CIMMessage* sendMessage(string strMessage);
CIMMessage* sendPrivateMessage(string toID, string strMessage);
bool muteMember(string liveId, string memberID, int muteSeconds);
bool unMuteMember(string liveId, string memberID);
bool kickMember(string liveId, string memberID);
bool saveToList(string userId, int type, string liveId, string data);
void deleteFromList(string userId, int type, string liveId);
void pushRtmp(string rtmpurl);
void stopPushRtmp();
void insertAudioRaw(uint8_t* audioData, int dataLen);
void insertVideoRaw(uint8_t* videoData, int dataLen, int isBig);
int cropVideoRawNV12(int w, int h, uint8_t* videoData, int dataLen, int yuvProcessPlan, int rotation, int needMirror, uint8_t* outVideoDataBig, uint8_t* outVideoDataSmall);
void querySoundData(uint8_t** pData, int* nLength);
|