RongCallEngine

public class RongCallEngine

Constructors

Link copied to clipboard
public void RongCallEngine()

Properties

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

Functions

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