- onAudioDeviceChanged(int, Set<Integer>, boolean) - Method in interface com.netease.nrtc.sdk.NRtcCallback
-
语音播放设备发生改变
- onAudioEffectPlayEvent(int, int) - Method in interface com.netease.nrtc.sdk.NRtcCallback
-
音效播放事件回调
- onAudioEffectPreload(int, int) - Method in interface com.netease.nrtc.sdk.NRtcCallback
-
音效预加载结果回调
- onAudioFrameFilter(AudioFrame) - Method in interface com.netease.nrtc.sdk.NRtcCallback
-
语音数据处理外部处理接口, 此接口需要同步处理,不要改变语音的时长.
- onAudioMixingProgressUpdated(long, long) - Method in interface com.netease.nrtc.sdk.NRtcCallback
-
汇报混音进度
- onAudioRecordingCompletion(String) - Method in interface com.netease.nrtc.sdk.NRtcCallbackEx
-
语音录制结束
- onAVRecordingCompletion(long, String) - Method in interface com.netease.nrtc.sdk.NRtcCallbackEx
-
用户音视频数据录制结束
- onByteBufferFrameCaptured(byte[], int, int, int, int, int, int, long, boolean) - Method in interface com.netease.nrtc.sdk.video.IVideoCapturer.VideoCapturerObserver
-
外部调用,用于提交每一帧视频数据
- onByteBufferFrameCaptured(ByteBuffer, int, int, int, int, int, int, long, boolean) - Method in interface com.netease.nrtc.sdk.video.IVideoCapturer.VideoCapturerObserver
-
- onCallEstablished() - Method in interface com.netease.nrtc.sdk.NRtcCallback
-
会话建立,当除自己外的第一个用户加入进来时触发.
- onCapturerStarted(boolean) - Method in interface com.netease.nrtc.sdk.video.IVideoCapturer.VideoCapturerObserver
-
外部调用,用于通知SDK外部是否已经成功开启视频数据提交
- onCapturerStopped() - Method in interface com.netease.nrtc.sdk.video.IVideoCapturer.VideoCapturerObserver
-
外部调用,用于通知SDK外部已经停止视频数据提交
- onConnectionTypeChanged(int) - Method in interface com.netease.nrtc.sdk.NRtcCallback
-
网络断开或者连上提示
- onDeviceEvent(int, String) - Method in interface com.netease.nrtc.sdk.NRtcCallback
-
语音采集和视频采集设备事件
- onError(int, int) - Method in interface com.netease.nrtc.sdk.NRtcCallback
-
错误回调.
- onFirstVideoFrameAvailable(long) - Method in interface com.netease.nrtc.sdk.NRtcCallback
-
第一帧视频画面到达
- onFirstVideoFrameRendered(long) - Method in interface com.netease.nrtc.sdk.NRtcCallback
-
视频绘制第一帧
- onFrame(VideoFrame) - Method in class com.netease.nrtc.sdk.video.ExternalVideoRender
-
- onJoinedChannel(long, String, String, int) - Method in interface com.netease.nrtc.sdk.NRtcCallback
-
自己成功加入频道.
- onLeftChannel(SessionStats) - Method in interface com.netease.nrtc.sdk.NRtcCallback
-
自己离开频道,同时返回用户客户端通话的上下行流量(此流量和服务器统计流量不一定相同).
- onLiveEvent(int) - Method in interface com.netease.nrtc.sdk.NRtcCallback
-
直播事件
- onLowStorageSpaceWarning(long) - Method in interface com.netease.nrtc.sdk.NRtcCallbackEx
-
存储空间不足警告,出现警告时及时关闭所有的录制服务,当存储空间低于10M时会自动关闭所有的录制功能
- onNetDetectResult(String, int, int, int, int, int, int, String) - Method in interface com.netease.nrtc.sdk.NRtcNetDetectCallback
-
网络探测结果回调
- onNetworkQuality(long, int, NetStats) - Method in interface com.netease.nrtc.sdk.NRtcCallback
-
用户网络质量汇报.
- onPublishVideoResult(int) - Method in interface com.netease.nrtc.sdk.NRtcCallback
-
发布视频流回调
- onRemotePublishVideo(long) - Method in interface com.netease.nrtc.sdk.NRtcCallback
-
当远端用户开始发布视频流时回调
- onRemoteUnpublishVideo(long) - Method in interface com.netease.nrtc.sdk.NRtcCallback
-
当远端用户停止发布视频流时回调
- onReportSpeaker(int, long[], int[], int) - Method in interface com.netease.nrtc.sdk.NRtcCallback
-
汇报正在说话的用户
- onResult(int, String) - Method in interface com.netease.nrtc.sdk.NRtcRoomServerCallback
-
NRtcConstants.RoomServerCode
300-非互动直播,
301-非主播,
400-错误请求,
401-认证错误,
404-请求不存在(频道号),
405-房间下的uid不存在,
417-请求数据不对,
500-内部错误(TurnServer请求异常),
600-服务器内部错误
- onSessionStats(SessionStats) - Method in interface com.netease.nrtc.sdk.NRtcCallback
-
定期汇报统计信息,每两秒触发一次
- onSubscribeAudioResult(int) - Method in interface com.netease.nrtc.sdk.NRtcCallback
-
订阅所有的活跃音频流时回调
- onSubscribeVideoResult(long, int) - Method in interface com.netease.nrtc.sdk.NRtcCallback
-
订阅视频流回调
- onTakeSnapshotResult(long, boolean, String) - Method in interface com.netease.nrtc.sdk.NRtcCallbackEx
-
截图结果
- onTextureFrameCaptured(int, int, int, float[], int, int, long, boolean) - Method in interface com.netease.nrtc.sdk.video.IVideoCapturer.VideoCapturerObserver
-
暂不支持外部使用
- onUnpublishVideoResult(int) - Method in interface com.netease.nrtc.sdk.NRtcCallback
-
停止发布视频流回调
- onUnsubscribeAudioResult(int) - Method in interface com.netease.nrtc.sdk.NRtcCallback
-
取消订阅所有的活跃音频流时回调
- onUnsubscribeVideoResult(long, int) - Method in interface com.netease.nrtc.sdk.NRtcCallback
-
取消订阅视频流回调
- onUserEnableVideo(long, boolean) - Method in interface com.netease.nrtc.sdk.NRtcCallback
-
用户是否关闭视频功能。
当用户关闭视频功能时,他会停止发送和接收视频数据
- onUserJoined(long) - Method in interface com.netease.nrtc.sdk.NRtcCallback
-
用户加入频道.
- onUserLeft(long, RtcStats, int) - Method in interface com.netease.nrtc.sdk.NRtcCallback
-
用户离开频道.
- onUserMuteAudio(long, boolean) - Method in interface com.netease.nrtc.sdk.NRtcCallback
-
用户关闭音频的发送。
- onUserMuteVideo(long, boolean) - Method in interface com.netease.nrtc.sdk.NRtcCallback
-
用户是否关闭视频的发送
- onVideoCapturerStarted(boolean) - Method in interface com.netease.nrtc.sdk.NRtcCallback
-
视频采集开始是否成功
- onVideoCapturerStopped() - Method in interface com.netease.nrtc.sdk.NRtcCallback
-
视频采集已关闭
- onVideoFpsReported(long, int) - Method in interface com.netease.nrtc.sdk.NRtcCallback
-
用户视频fps更新
- onVideoFrameFilter(VideoFrame, boolean) - Method in interface com.netease.nrtc.sdk.NRtcCallback
-
视频数据外部处理接口, 此接口需要同步执行.
- onVideoFrameResolutionChanged(long, int, int, int) - Method in interface com.netease.nrtc.sdk.NRtcCallback
-
视频画面尺寸改变
- ORDINARY - Static variable in interface com.netease.nrtc.sdk.NRtcConstants.NetworkQuality
-
一般
- ORIENTATION_LANDSCAPE_LEFT - Static variable in interface com.netease.nrtc.sdk.NRtcConstants.CaptureVideoOrientation
-
Indicates that video should be oriented horizontally, home button on the left.
- ORIENTATION_LANDSCAPE_RIGHT - Static variable in interface com.netease.nrtc.sdk.NRtcConstants.CaptureVideoOrientation
-
Indicates that video should be oriented horizontally, home button on the right.
- ORIENTATION_PORTRAIT - Static variable in interface com.netease.nrtc.sdk.NRtcConstants.CaptureVideoOrientation
-
Indicates that video should be oriented vertically, home button on the bottom.
- ORIENTATION_PORTRAIT_UPSIDEDOWN - Static variable in interface com.netease.nrtc.sdk.NRtcConstants.CaptureVideoOrientation
-
Indicates that video should be oriented vertically, home button on the top.