void addListener(IXHLiveManagerListener liveManagerListener);
void setRtcMediaType(XHConstants.XHRtcMediaTypeEnum mediaTypeEnum);
void createLive(XHLiveItem liveItem,IXHResultCallback callback);
void startLive(String liveID,IXHResultCallback callback);
void watchLive(String liveID,IXHResultCallback callback);
void attachPlayerView(String userID,StarPlayer player,Boolean isBig);
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 changeToAudience(IXHResultCallback callback);
void changeToBroadcaster(IXHResultCallback callback);
void leaveLive(IXHResultCallback callback);
void switchCamera();
void switchCamera(int cameraId);
void changeToBig(String userID);
void changeToSmall(String userID);
void setAudioEnable(Boolean enable);
void setVideoEnable(Boolean enable);
XHIMMessage sendMessage(String message, IXHResultCallback callback);
XHIMMessage sendPrivateMessage(String toID, String message, IXHResultCallback callback);
void muteMember(String memberID, int muteSeconds, IXHResultCallback callback);
void unMuteMember(String memberID,IXHResultCallback callback);
void kickMember(String memberID, IXHResultCallback callback);
void pushRtmp(String rtmpurl,IXHResultCallback callback);
void stopPushRtmp(IXHResultCallback callback);
void setRecorder(IXHRecorder recorder);
void resetRecorder(IXHRecorder recorder);
void sendRealtimeData(byte[] data);
|