Skip to content

Commit

Permalink
修复SampleData函数导致高采样率有杂音的bug,新增RecordApp的vue demo
Browse files Browse the repository at this point in the history
  • Loading branch information
xiangyuecn committed Nov 26, 2020
1 parent 44b2178 commit 2a0f9a8
Show file tree
Hide file tree
Showing 19 changed files with 670 additions and 43 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,15 @@
**Recorder H5**
[ [H5在线测试](https://xiangyuecn.gitee.io/recorder/) ]
[ [H5 QuickStart](https://xiangyuecn.gitee.io/recorder/QuickStart.html) ]
[ [vue+webpack测试](https://xiangyuecn.gitee.io/recorder/assets/demo-vue) ]
[ [H5 vue](https://xiangyuecn.gitee.io/recorder/assets/demo-vue) ]



**RecordApp**
[ [RecordApp测试](https://jiebian.life/web/h5/github/recordapp.aspx) ]
[ [RecordApp QuickStart](https://jiebian.life/web/h5/github/recordapp.aspx?path=/app-support-sample/QuickStart.html) ]
[ [Android、IOS App 源码](https://github.com/xiangyuecn/Recorder/tree/master/app-support-sample) ]
[ [App QuickStart](https://jiebian.life/web/h5/github/recordapp.aspx?path=/app-support-sample/QuickStart.html) ]
[ [App vue](https://jiebian.life/web/h5/github/recordapp.aspx?path=/assets/demo-vue/recordapp.html) ]
[ [Android、IOS App源码](https://github.com/xiangyuecn/Recorder/tree/master/app-support-sample) ]



Expand Down
2 changes: 2 additions & 0 deletions app-support-sample/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@

[在线测试](https://jiebian.life/web/h5/github/recordapp.aspx)`RecordApp`源码在[/src/app-support](https://github.com/xiangyuecn/Recorder/tree/master/src/app-support)目录,当前`/app-support-sample`目录为参考配置的演示目录。`RecordApp``Recorder`提供基础支持,所以`Recorder`的源码也是属于`RecordApp`的一部分。

提供了一个vue版的demo,在 [/assets/demo-vue](https://github.com/xiangyuecn/Recorder/tree/master/assets/demo-vue) 目录中,[在线测试](https://jiebian.life/web/h5/github/recordapp.aspx?path=/assets/demo-vue/recordapp.html)


# :open_book:快速使用

Expand Down
6 changes: 5 additions & 1 deletion app-support-sample/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,11 @@

</div>
<div>
<span class="lb">GitHub :</span> <a href="https://github.com/xiangyuecn/Recorder/tree/master/app-support-sample">https://github.com/xiangyuecn/Recorder/ => app-support-sample</a>
<span class="lb">GitHub :</span> <a href="https://github.com/xiangyuecn/Recorder/tree/master/app-support-sample">前往GitHub仓库</a>

<span class="lb">更多Demo :</span> <a href="https://xiangyuecn.gitee.io/recorder/assets/工具-代码运行和静态分发Runtime.html" target="_blank">在线编辑和运行</a>
| <a href="https://xiangyuecn.gitee.io/recorder/assets/demo-vue" target="_blank">H5 vue</a>
| <a href="https://jiebian.life/web/h5/github/recordapp.aspx?path=/assets/demo-vue/recordapp.html" target="_blank">App vue</a>
</div>
<div style="margin-top:6px;">
<span class="lb">QuickStart :</span>
Expand Down
5 changes: 3 additions & 2 deletions assets/demo-vue/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# vue+webpack测试

[在线测试](https://xiangyuecn.gitee.io/recorder/assets/demo-vue),主要文件为[component/main.vue](https://github.com/xiangyuecn/Recorder/blob/master/assets/demo-vue/component/main.vue)
- [Recorder H5在线测试](https://xiangyuecn.gitee.io/recorder/assets/demo-vue),主要文件为 [component/recorder.vue](https://github.com/xiangyuecn/Recorder/blob/master/assets/demo-vue/component/recorder.vue),支持PC、Android,但IOS上仅Safari支持录音。
- [RecordApp 在线测试](https://jiebian.life/web/h5/github/recordapp.aspx?path=/assets/demo-vue/recordapp.html),主要文件为 [component/recordapp.vue](https://github.com/xiangyuecn/Recorder/blob/master/assets/demo-vue/component/recordapp.vue),RecordApp除了Recorder支持的外,支持Hybrid App,IOS上支持微信网页和小程序web-view。

# 运行方法
## 【1】编译vue源码
Expand All @@ -9,4 +10,4 @@ cnpm install
npm run build-dev
```
## 【2】浏览器访问
然后就可以打开index.html查看效果了
然后就可以打开`index.html`查看集成`Recorder`的效果,打开`recordapp.html`查看集成`RecordApp`的效果。
Loading

0 comments on commit 2a0f9a8

Please sign in to comment.