Browse Source

更新说明文档

Riant 6 years ago
parent
commit
fdfe4b2a75
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      README.md

+ 3
- 1
README.md View File

124
   onWarning: data => {},
124
   onWarning: data => {},
125
   onLeaveChannel: data => {},
125
   onLeaveChannel: data => {},
126
   onAudioVolumeIndication: data => {},
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
 | onLeaveChannel            | 退出频道         |
140
 | onLeaveChannel            | 退出频道         |
140
 | onAudioVolumeIndication            | 音量提示回调         |
141
 | onAudioVolumeIndication            | 音量提示回调         |
141
 | onStreamMessage | 接收到对方数据流消息的回调 |
142
 | onStreamMessage | 接收到对方数据流消息的回调 |
143
+| onStreamMessageError | 接收到对方数据流消息错误的回调 |
142
 
144
 
143
 
145
 
144
 ##### AgoraView 组件
146
 ##### AgoraView 组件