| | |
| | | * @Author: Morpheus |
| | | * @Date: 2021-03-17 15:21:33 |
| | | * @Last Modified by: Morpheus |
| | | * @Last Modified time: 2021-03-25 14:59:09 |
| | | * @Last Modified time: 2021-03-26 11:05:55 |
| | | */ |
| | | <template> |
| | | <basic-container> |
| | |
| | | :visible.sync="dialogTableVisible" |
| | | :append-to-body="true" |
| | | :close-on-click-modal="false" |
| | | @opened="videoConversationReal = true" |
| | | @opened="realOpenVideoDialog" |
| | | @close="(videoConversationReal = false), (oldVideoSatart = false)" |
| | | > |
| | | <el-dialog |
| | |
| | | }, |
| | | created() { |
| | | this.dateTime = this.getDate(); |
| | | Recorder.getPermission().then(() => {}); |
| | | |
| | | this.recorder = new Recorder({ |
| | | sampleBits: 16, // 采样位数,支持 8 或 16,默认是16 |
| | | sampleRate: 8000, // 采样率,支持 11025、16000、22050、24000、44100、48000,根据浏览器默认值,我的chrome是48000 |
| | | numChannels: 1, // 声道,支持 1 或 2, 默认是1 |
| | | // compiling: false,(0.x版本中生效,1.x增加中) // 是否边录边转换,默认是false |
| | | }); |
| | | }, |
| | | methods: { |
| | | rowSave(row, done, loading) { |
| | |
| | | //警情追踪 |
| | | this.$router.push({ path: "/policeTracking/track", query: row }); |
| | | }, |
| | | realOpenVideoDialog() { |
| | | Recorder.getPermission().then(() => {}); |
| | | this.videoConversationReal = true; |
| | | }, |
| | | }, |
| | | }; |
| | | </script> |