ICallEngine

public interface ICallEngine

Created by mamingyang on 18/4/20.

Functions

Link copied to clipboard
public abstract void answerDegradeNormalUserToObserver(String hostId)
Link copied to clipboard
public abstract int answerHostControlUserDevice(String userID, int dType, boolean isOpen, boolean isAccept)
麦克风/摄像头被主持人打开时, 被打开人的应答调用
Link copied to clipboard
public abstract int answerUpgradeObserverToNormalUser(String userID, boolean isAccept)
Link copied to clipboard
public abstract int complain(String callId, String description)
Link copied to clipboard
public abstract void create(Context context, String vendorKey, ICallEngineListener engineListener)
Link copied to clipboard
public abstract void destroy()
Link copied to clipboard
public abstract int disableVideo()
Link copied to clipboard
public abstract int enableAudioVolumeIndication(int interval, int smooth)
Link copied to clipboard
public abstract void enableMultiPlatformMode()
开启多平台模式
Link copied to clipboard
public abstract int enableVideo()
Link copied to clipboard
public abstract String getCallId()
Link copied to clipboard
public abstract List<RCRTCRemoteUser> getRemoteUsers()
返回当前房间远端用户列表
Link copied to clipboard
public abstract int getServerRecordingStatus()
Link copied to clipboard
public abstract boolean isSpeakerphoneEnabled()
Link copied to clipboard
public abstract int joinChannel(String key, String channelName, String optionalInfo, String mediaId, Role role, boolean openCamera, boolean openMic, int roomType)
Link copied to clipboard
public abstract void joinRoomAndPublishResource(String channelName)
Link copied to clipboard
public abstract int leaveChannel(int val)
Link copied to clipboard
public abstract void monitorBluetoothHeadsetEvent(boolean monitor)
Link copied to clipboard
public abstract void monitorConnectionEvent(boolean monitor)
Link copied to clipboard
public abstract void monitorHeadsetEvent(boolean monitor)
Link copied to clipboard
public abstract int muteAllRemoteAudioStreams(boolean muted)
Link copied to clipboard
public abstract int muteAllRemoteVideoStreams(boolean muted)
Link copied to clipboard
public abstract int muteLocalAudioStream(boolean muted)
Link copied to clipboard
public abstract int muteLocalVideoStream(boolean muted)
Link copied to clipboard
public abstract int muteRemoteAudioStream(String mediaId, boolean muted)
Link copied to clipboard
public abstract int muteRemoteVideoStream(String mediaId, boolean muted)
Link copied to clipboard
public abstract void publishCustomVideoStream(String tag, PublishCallBack callBack)
Link copied to clipboard
public abstract void publishMediaResource(int mediaType, IMediaResourceListener iMediaResourceListener)
Link copied to clipboard
public abstract int rate(String callId, int rating, String description)
Link copied to clipboard
public abstract int requestNormalUser()
Link copied to clipboard
public abstract int requestWhiteBoard()
Link copied to clipboard
public abstract void setAudioConfig(Builder builder)
音频相关配置
Link copied to clipboard
public abstract void setAudioOnly(boolean isAudioOnly)
设置是否仅音频通话,默认false
Link copied to clipboard
public abstract void setCameraOrientation(int cameraDisplayOrientation, int frameOrientation)
设置Camera DisplayOrientation和FrameOrientation im连接成功之后,startCall之前 设置有效
Link copied to clipboard
public abstract int setChannelProfile(int profile)
Link copied to clipboard
public abstract int setEnableBeauty(Boolean enable)
Link copied to clipboard
public abstract int setEnableSpeakerphone(boolean enabled)
Link copied to clipboard
public abstract void setJoinType(RCRTCJoinType joinType)
设置多端在线时的呼叫策略
Link copied to clipboard
public abstract void setLocalAudioPCMBufferListener(IRCRTCAudioDataListener iCallEngineAudioPCMBufferListener)
Link copied to clipboard
public abstract int setLocalRenderMode(int mode)
Link copied to clipboard
public abstract int setLogFile(String filePath)
Link copied to clipboard
public abstract int setLogFilter(int filter)
Link copied to clipboard
public abstract void setMultiPlatformLocalVideoView(String tag, RCRTCBaseView videoView)
设置远端视频流的预览视图
Link copied to clipboard
public abstract void setMultiPlatformRemoteVideoView(String userId, String tag, RCRTCBaseView videoView)
设置远端视频流的预览视图
Link copied to clipboard
public abstract int setRemoteRenderMode(String mediaId, int mode)
Link copied to clipboard
public abstract void setRTCConfig(Builder builder)
RTC初始化相关配置
Link copied to clipboard
public abstract int setSpeakerphoneVolume(int volume)
Link copied to clipboard
public abstract SurfaceView setupLocalVideo()
Link copied to clipboard
public abstract SurfaceView setupRemoteVideo(String streamId)
Link copied to clipboard
public abstract void setUserType(int type)
Link copied to clipboard
public abstract void setVideoConfig(Builder builder)
视频分辨率、码率相关配置
Link copied to clipboard
public abstract void setVideoFrameListener(ICallEngineVideoFrameListener iVideoFrameListener)
Link copied to clipboard
public abstract int startAudioRecording(String filePath)
Link copied to clipboard
public abstract void startCapture()
Link copied to clipboard
public abstract int startEchoTest()
Link copied to clipboard
public abstract int startPreview(StartCameraCallback startCameraCallback)
public abstract void startPreview(int cameraId, boolean mirror, StartCameraCallback callback)
Link copied to clipboard
public abstract int startServerRecording(String key)
Link copied to clipboard
public abstract int stopEchoTest()
Link copied to clipboard
public abstract int stopPreview()
Link copied to clipboard
public abstract int stopServerRecording(String key)
Link copied to clipboard
public abstract int switchCamera()

public abstract void switchCamera(int cameraId, boolean mirror, CameraSwitchCallBack callBack)
按照指定cameraid切换摄像头
Link copied to clipboard
public abstract void switchView(String mediaId1, String mediaId2)
Link copied to clipboard
public abstract void unpublishCustomVideoStream(RCRTCOutputStream outputStream, IRCRTCResultCallback callBack)
Link copied to clipboard
public abstract void unPublishMediaResource(IMediaResourceListener iMediaResourceListener)