void addListener(IXHVoipManagerListener voipManagerListener);
void setRtcMediaType(XHConstants.XHRtcMediaTypeEnum mediaTypeEnum);
XHConstants.XHRtcMediaTypeEnum getRtcMediaType();
void switchCamera();
void switchCamera(int cameraId);
void setupView(StarPlayer selfPlayer, StarPlayer targetPlayer, IXHResultCallback callback);
void call(Context context,String toID, IXHResultCallback callback);
void audioCall(Context context,String toID, IXHResultCallback callback);
void cancel(IXHResultCallback callback);
void accept(Context context,String fromID, IXHResultCallback callback);
void refuse(IXHResultCallback callback);
void hangup(IXHResultCallback callback);
void setAudioEnable(Boolean enable);
void setVideoEnable(Boolean enable);
void setRecorder(IXHRecorder recorder);
void resetRecorder(IXHRecorder recorder);
|