NIMSDK-AOS  9.19.0
AVChatDeviceEvent.java
浏览该文件的文档.
1 /*
2  * Copyright (c) 2014-2018 NetEase, Inc.
3  * All right reserved.
4  */
5 
6 package com.netease.nimlib.sdk.avchat.constant;
7 
8 import com.netease.nrtc.engine.rawapi.RtcDeviceEvent;
9 
10 /**
11  * 设备操作事件
12  */
13 public interface AVChatDeviceEvent {
14 
15 
16  /**
17  * 正在打开摄像头
18  */
19  int VIDEO_CAMERA_OPENING = RtcDeviceEvent.CAMERA_OPENING;
20 
21  /**
22  * 摄像头打开失败
23  */
24  int VIDEO_CAMERA_OPEN_ERROR = RtcDeviceEvent.CAMERA_OPEN_ERROR;
25 
26  /**
27  * 摄像头数据冻结
28  */
29  int VIDEO_CAMERA_RUNNING_FREEZED = RtcDeviceEvent.CAMERA_RUNNING_FREEZED;
30 
31  /**
32  * 摄像头关闭
33  */
34  int VIDEO_CAMERA_CLOSED = RtcDeviceEvent.CAMERA_CLOSED;
35 
36 
37  /**
38  * 摄像头成功打开
39  */
40  int VIDEO_CAMERA_OPENED = RtcDeviceEvent.CAMERA_OPENED;
41 
42 
43  /**
44  * 切换摄像头成功
45  */
46  int VIDEO_CAMERA_SWITCH_OK = RtcDeviceEvent.CAMERA_SWITCH_OK;
47 
48  /**
49  * 切换摄像头失败
50  */
51  int VIDEO_CAMERA_SWITCH_ERROR = RtcDeviceEvent.CAMERA_SWITCH_ERROR;
52 
53 
54 
55  /**
56  * 录音设备正在打开
57  */
58  int AUDIO_RECORDER_OPENING = RtcDeviceEvent.AUDIO_RECORDER_OPENING;
59 
60  /**
61  * 录音设备打开失败
62  */
63  int AUDIO_RECORDER_OPEN_ERROR = RtcDeviceEvent.AUDIO_RECORDER_OPEN_ERROR;
64 
65  /**
66  * 录音设备关闭
67  */
68  int AUDIO_RECORDER_CLOSED = RtcDeviceEvent.AUDIO_RECORDER_CLOSED;
69 
70  /**
71  * 录音设备成功打开
72  */
73  int AUDIO_RECORDER_OPENED = RtcDeviceEvent.AUDIO_RECORDER_OPENED;
74 
75  /**
76  * 录音设备读取数据失败
77  */
78  int AUDIO_RECORDER_RUNNING_FREEZED = RtcDeviceEvent.AUDIO_RECORDER_RUNNING_FREEZED;
79 
80  /**
81  * 伴音开始
82  */
83  int AUDIO_MIXING_STARTED = RtcDeviceEvent.AUDIO_MIXING_STARTED;
84 
85  /**
86  * 伴音出错
87  */
88  int AUDIO_MIXING_ERROR = RtcDeviceEvent.AUDIO_MIXING_ERROR;
89 
90  /**
91  * 伴音结束
92  */
93  int AUDIO_MIXING_FINISHED = RtcDeviceEvent.AUDIO_MIXING_FINISHED;
94 
95 
96 
97 }
int AUDIO_RECORDER_RUNNING_FREEZED
录音设备读取数据失败