# RongCallEngine

public class RongCallEngine

## Constructors

RongCallEngine
Link copied to clipboard
public void RongCallEngine()

## Properties

ERROR_ENGINE
Link copied to clipboard
public final static int ERROR_ENGINE
ERROR_INIT_VIDEO
Link copied to clipboard
public final static int ERROR_INIT_VIDEO
ERROR_JOIN_ROOM
Link copied to clipboard
public final static int ERROR_JOIN_ROOM
ERROR_KICKED
Link copied to clipboard
public final static int ERROR_KICKED
ERROR_SERVICE_NOT_OPENED
Link copied to clipboard
public final static int ERROR_SERVICE_NOT_OPENED

## Functions

answerDegradeNormalUserToObserver
Link copied to clipboard
public void answerDegradeNormalUserToObserver(String hostId)
answerHostControlUserDevice
Link copied to clipboard
public int answerHostControlUserDevice(String userID, int dType, boolean isOpen, boolean isAccept)
answerUpgradeObserverToNormalUser
Link copied to clipboard
public int answerUpgradeObserverToNormalUser(String userID, boolean isAccept)
complain
Link copied to clipboard
public int complain(String callId, String description)
create
Link copied to clipboard
public void create(Context context, String vendorKey, ICallEngineListener listener)
destroy
Link copied to clipboard
public void destroy()
disableVideo
Link copied to clipboard
public int disableVideo()
enableAudioVolumeIndication
Link copied to clipboard
public int enableAudioVolumeIndication(int interval, int smooth)
enableCustomEncryption
Link copied to clipboard
public void enableCustomEncryption(boolean encryptAudio, boolean encryptVideo)
enableMultiPlatformMode
Link copied to clipboard
public void enableMultiPlatformMode()
enableVideo
Link copied to clipboard
public int enableVideo()
getCallId
Link copied to clipboard
public String getCallId()
getRemoteUsers
Link copied to clipboard
public List<RCRTCRemoteUser> getRemoteUsers()
getServerRecordingStatus
Link copied to clipboard
public int getServerRecordingStatus()
isSpeakerphoneEnabled
Link copied to clipboard
public boolean isSpeakerphoneEnabled()
joinChannel
Link copied to clipboard
public int joinChannel(String key, String channelName, String optionalInfo, String mediaId, Role role, boolean openCamera, boolean openMic, int roomType, String srcLanguage)
joinRoomAndPublishResource
Link copied to clipboard
public void joinRoomAndPublishResource(String channelName)
leaveChannel
Link copied to clipboard
public int leaveChannel(int val)
monitorBluetoothHeadsetEvent
Link copied to clipboard
public void monitorBluetoothHeadsetEvent(boolean monitor)
monitorConnectionEvent
Link copied to clipboard
public void monitorConnectionEvent(boolean monitor)
monitorHeadsetEvent
Link copied to clipboard
public void monitorHeadsetEvent(boolean monitor)
muteAllRemoteAudioStreams
Link copied to clipboard
public int muteAllRemoteAudioStreams(boolean muted)
muteAllRemoteVideoStreams
Link copied to clipboard
public int muteAllRemoteVideoStreams(boolean muted)
muteLocalAudioStream
Link copied to clipboard
public int muteLocalAudioStream(boolean muted)
muteLocalVideoStream
Link copied to clipboard
public int muteLocalVideoStream(boolean muted)
muteRemoteAudioStream
Link copied to clipboard
public int muteRemoteAudioStream(String mediaId, boolean muted)
muteRemoteVideoStream
Link copied to clipboard
public int muteRemoteVideoStream(String mediaId, boolean muted)
onAudioInputLevel
Link copied to clipboard
public void onAudioInputLevel(String audioLevel)
onAudioReceivedLevel
Link copied to clipboard
public void onAudioReceivedLevel(HashMap<String, String> audioLevel)
onConnectionStats
Link copied to clipboard
public void onConnectionStats(StatusReport report)
onReceiveASRContent
Link copied to clipboard
public void onReceiveASRContent(RCRTCASRContent realTimeSubtitle)
onReceiveRealtimeTranslationContent
Link copied to clipboard
public void onReceiveRealtimeTranslationContent(RCRTCRealtimeTranslationContent content)
onReceiveStartASR
Link copied to clipboard
public void onReceiveStartASR()
onReceiveStopASR
Link copied to clipboard
public void onReceiveStopASR()
publishCustomVideoStream
Link copied to clipboard
public void publishCustomVideoStream(String tag, PublishCallBack callBack)
publishMediaResource
Link copied to clipboard
public void publishMediaResource(int mediaType, IMediaResourceListener iMediaResourceListener)
rate
Link copied to clipboard
public int rate(String callId, int rating, String description)
receiveSubtitle
Link copied to clipboard
public void receiveSubtitle(boolean receive)
requestNormalUser
Link copied to clipboard
public int requestNormalUser()
requestWhiteBoard
Link copied to clipboard
public int requestWhiteBoard()
setAudioConfig
Link copied to clipboard
public void setAudioConfig(Builder builder)
setAudioOnly
Link copied to clipboard
public void setAudioOnly(boolean isAudioOnly)
setCameraOrientation
Link copied to clipboard
public void setCameraOrientation(int cameraDisplayOrientation, int frameOrientation)
setChannelProfile
Link copied to clipboard
public int setChannelProfile(int profile)
setEnableBeauty
Link copied to clipboard
public int setEnableBeauty(Boolean enable)
setEnableSpeakerphone
Link copied to clipboard
public int setEnableSpeakerphone(boolean enabled)
setJoinType
Link copied to clipboard
public void setJoinType(RCRTCJoinType joinType)
setLocalAudioPCMBufferListener
Link copied to clipboard
public void setLocalAudioPCMBufferListener(IRCRTCAudioDataListener listener)
setLocalRenderMode
Link copied to clipboard
public int setLocalRenderMode(int mode)
setLogFile
Link copied to clipboard
public int setLogFile(String filePath)
setLogFilter
Link copied to clipboard
public int setLogFilter(int filter)
setMultiPlatformLocalVideoView
Link copied to clipboard
public void setMultiPlatformLocalVideoView(String tag, RCRTCBaseView videoView)
setMultiPlatformRemoteVideoView
Link copied to clipboard
public void setMultiPlatformRemoteVideoView(String userId, String tag, RCRTCBaseView videoView)
setRemoteRenderMode
Link copied to clipboard
public int setRemoteRenderMode(String mediaId, int mode)
setRTCConfig
Link copied to clipboard
public void setRTCConfig(Builder builder)
setSpeakerphoneVolume
Link copied to clipboard
public int setSpeakerphoneVolume(int volume)
setSubtitleListener
Link copied to clipboard
public void setSubtitleListener(IRongCallASRListener listener)
setupLocalVideo
Link copied to clipboard
public SurfaceView setupLocalVideo()
setupRemoteVideo
Link copied to clipboard
public SurfaceView setupRemoteVideo(String streamId)
setUserType
Link copied to clipboard
public void setUserType(int type)
接收rongCallManager传递的本地用户的身份，以判断是否发布资源
setVideoConfig
Link copied to clipboard
public void setVideoConfig(Builder builder)
setVideoFrameListener
Link copied to clipboard
public void setVideoFrameListener(ICallEngineVideoFrameListener iVideoFrameListener)
startAudioRecording
Link copied to clipboard
public int startAudioRecording(String filePath)
startCapture
Link copied to clipboard
public void startCapture()
startEchoTest
Link copied to clipboard
public int startEchoTest()
startPreview
Link copied to clipboard
public int startPreview(StartCameraCallback startCameraCallback)
public void startPreview(int cameraId, boolean mirror, StartCameraCallback callback)
startServerRecording
Link copied to clipboard
public int startServerRecording(String key)
startSubtitle
Link copied to clipboard
public void startSubtitle(Boolean start, IRCRTCResultCallback callback)
startTranslation
Link copied to clipboard
public void startTranslation(String destLang, IRCRTCResultCallback callback)
stopEchoTest
Link copied to clipboard
public int stopEchoTest()
stopPreview
Link copied to clipboard
public int stopPreview()
stopServerRecording
Link copied to clipboard
public int stopServerRecording(String key)
stopTranslation
Link copied to clipboard
public void stopTranslation(IRCRTCResultCallback callback)
switchCamera
Link copied to clipboard
public int switchCamera()
public void switchCamera(int cameraId, boolean mirror, CameraSwitchCallBack callBack)
switchView
Link copied to clipboard
public void switchView(String mediaId1, String mediaId2)
unpublishCustomVideoStream
Link copied to clipboard
public void unpublishCustomVideoStream(RCRTCOutputStream outputStream, IRCRTCResultCallback callBack)
unPublishMediaResource
Link copied to clipboard
public void unPublishMediaResource(IMediaResourceListener iMediaResourceListener)