|
@@ -124,7 +124,8 @@ RtcEngine.eventEmitter({
|
124
|
124
|
onWarning: data => {},
|
125
|
125
|
onLeaveChannel: data => {},
|
126
|
126
|
onAudioVolumeIndication: data => {},
|
127
|
|
- onStreamMessage: ({uid, streamId, data}) => {}
|
|
127
|
+ onStreamMessage: ({uid, streamId, data}) => {},
|
|
128
|
+ onStreamMessageError: ({uid, streamId, error, missed, cached}) => {},
|
128
|
129
|
})
|
129
|
130
|
```
|
130
|
131
|
|
|
@@ -139,6 +140,7 @@ RtcEngine.eventEmitter({
|
139
|
140
|
| onLeaveChannel | 退出频道 |
|
140
|
141
|
| onAudioVolumeIndication | 音量提示回调 |
|
141
|
142
|
| onStreamMessage | 接收到对方数据流消息的回调 |
|
|
143
|
+| onStreamMessageError | 接收到对方数据流消息错误的回调 |
|
142
|
144
|
|
143
|
145
|
|
144
|
146
|
##### AgoraView 组件
|