Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
增加移动端浏览器兼容性说明
  • Loading branch information
joyceehe authored Mar 5, 2021
1 parent a4d5e4c commit 35fbd0f
Showing 1 changed file with 62 additions and 3 deletions.
65 changes: 62 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
```javascript
const webAudioSpeechRecognizer = new WebAudioSpeechRecognizer();
```
WebAudioSpeechRecognizer 类,提供 start()、stop()和获取识别结果事件,具体调用参考示例以及examples
WebAudioSpeechRecognizer 类,提供 start()、stop()和获取识别结果事件,具体调用参考示例以及examples
3. 进阶版(自定义数据源)
```javascript
const speechRecognizer = new SpeechRecognizer();
Expand Down Expand Up @@ -149,5 +149,64 @@ WebRecorder类 提供start()、stop()方法、OnReceivedData()和OnError()事件
具体参见 [examples](https://github.com/TencentCloud/tencentcloud-speech-sdk-js/examples) 目录,该目录下包含各语音服务的示例代码。
# 浏览器兼容性问题
1、sdk内置录音采用 MediaDevices接口,不兼容ie 浏览器,其他浏览器兼容性具体文档可参考 https://developer.mozilla.org/zh-CN/docs/Web/API/MediaDevices
1、sdk内置录音采用 MediaDevices接口,不兼容ie 浏览器,其他浏览器兼容性具体文档可参考 https://developer.mozilla.org/zh-CN/docs/Web/API/MediaDevices
2、目前经验证支持sdk的手机型号、浏览器(持续更新中~)
<table>
<thead>
<tr><th>手机型号</th><th>手机版本</th><th>浏览器</th><th>浏览器版本</th></tr>
</thead>
<tbody>
<tr><td rowspan="3">小米8</td><td rowspan="3">MIUI 12.0.3 (Android版本 10)</td><td>小米浏览器</td><td>V13.8.12</td></tr>
<tr><td>chrome浏览器</td><td>chrome 78.0.3904.96</td></tr>
<tr><td>QQ浏览器</td><td>11.2.1.1506</td></tr>
<tr><td rowspan="2">小米 MIX2</td><td rowspan="2">MIUI 12.0.1 (Android版本 9)</td><td>小米浏览器</td><td>V13.7.16</td></tr>
<tr><td>chrome浏览器</td><td>chrome 78.0.3904.96</td></tr>
<tr><td rowspan="4">小米6</td><td rowspan="4">(Android版本 8)</td><td>小米浏览器</td><td>V13.8.12</td></tr>
<tr><td>chrome浏览器</td><td>chrome V81.0.4044.117</td></tr>
<tr><td>QQ浏览器</td><td>V11.2.0.0508</td></tr>
<tr><td>火狐浏览器</td><td>V84.1.4</td></tr>
<tr><td rowspan="4">OPPO R11 Plus</td><td rowspan="4">(Android版本 9)</td><td>自带浏览器</td><td>V10.7.16.2_a088588_210118</td></tr>
<tr><td>chrome浏览器</td><td>V78.0.3904.96</td></tr>
<tr><td>QQ浏览器</td><td>V11.2.0.0504</td></tr>
<tr><td>火狐浏览器</td><td>V85.1.0</td></tr>
<tr><td rowspan="4">ViVo X23</td><td rowspan="4">(Android版本 8.0.1)</td><td>自带浏览器</td><td>V8.9.14.9</td></tr>
<tr><td>chrome浏览器</td><td>V70.0.3538.110</td></tr>
<tr><td>QQ浏览器</td><td>V11.2.0.0504</td></tr>
<tr><td>火狐浏览器</td><td>V85.1.0</td></tr>
<tr><td rowspan="4">三星SM-G955</td><td rowspan="4">(Android版本 9)</td><td>自带浏览器</td><td>V13.2.1.70</td></tr>
<tr><td>chrome浏览器</td><td>V81.0.4044.117</td></tr>
<tr><td>QQ浏览器</td><td>V11.0.8.8812 LAB</td></tr>
<tr><td>火狐浏览器</td><td>V84.1.4</td></tr>
<tr><td rowspan="4">iPhone8</td><td rowspan="4">iOS 14.3</td><td>Safari</td><td></td></tr>
<tr><td>chrome浏览器</td><td>87.0.4280.77</td></tr>
<tr><td>QQ浏览器</td><td>11.2.2.4684</td></tr>
<tr><td>UC 浏览器</td><td>V13.2.3.1428</td></tr>
<tr><td>IPhone XS Max</td><td>ios 14.2</td><td>safari</td><td></td></tr>
<tr><td>IPhone 8</td><td>ios 13.3.1</td><td>safari</td><td></td></tr>
<tr><td>IPhone 7 Plus</td><td>ios 13.6</td><td>safari</td><td></td></tr>
<tr><td>IPhone 12</td><td>ios 14.3</td><td>chrome浏览器</td><td>V87.0.4280.77</td></tr>
</tbody>
</table>
3、目前经验证不支持sdk的手机型号、浏览器(持续更新中~)
<table>
<thead>
<tr><th>手机型号</th><th>手机版本</th><th>浏览器</th><th>浏览器版本</th></tr>
</thead>
<tbody>
<tr><td>小米8</td><td>MIUI 12.0.3 (Android版本 10)</td><td>UC浏览器</td><td>V13.2.3.1103</td></tr>
<tr><td rowspan="2">小米 MIX2</td><td rowspan="2">MIUI 12.0.1 (Android版本 9)</td><td>QQ浏览器</td><td>11.2.1.1506</td></tr>
<tr><td>UC浏览器</td><td>V13.2.3.1103</td></tr>
<tr><td rowspan="3">IPhone XS Max</td><td rowspan="3">ios 14.2</td><td>chrome浏览器</td><td>V83.0.4103.88</td></tr>
<tr><td>QQ浏览器</td><td>V11.1.5.4664</td></tr>
<tr><td>火狐浏览器</td><td>V30.0</td></tr>
<tr><td rowspan="3">IPhone 8</td><td rowspan="3">ios 13.3.1</td><td>chrome浏览器</td><td>V87.0.4280.77</td></tr>
<tr><td>QQ浏览器</td><td>V10.6.3.4472</td></tr>
<tr><td>火狐浏览器</td><td>V30.0</td></tr>
<tr><td rowspan="3">IPhone 7 Plus</td><td rowspan="3">ios 13.6</td><td>chrome浏览器</td><td>V87.0.4280.77</td></tr>
<tr><td>QQ浏览器</td><td>V11.2.2.4684</td></tr>
<tr><td>火狐浏览器</td><td>V30.0</td></tr>
</tbody>
</table>

0 comments on commit 35fbd0f

Please sign in to comment.