Commit 954af022 authored by 毛线's avatar 毛线

no message

parent 5cc39602
...@@ -27,7 +27,8 @@ export default { ...@@ -27,7 +27,8 @@ export default {
'videoPlay', 'videoPlay',
]), ]),
...mapState('audio', [ ...mapState('audio', [
'volumeMachine' 'volumeMachine',
'uiClick',
]), ]),
}, },
watch: { watch: {
...@@ -88,10 +89,12 @@ export default { ...@@ -88,10 +89,12 @@ export default {
videoDom.addEventListener('canplay', function(e) { videoDom.addEventListener('canplay', function(e) {
videoDom.play() videoDom.play()
}) })
if (this.uiClick) {
this.$refs.jswebrtc.muted = false
this.$refs.jswebrtc.volume = this.volumeMachine / 100
console.log('设置声音')
}
console.log(obj, '播放器开始播放!') console.log(obj, '播放器开始播放!')
// this.$refs.jswebrtc.muted = false
// this.$refs.jswebrtc.volume = this.volumeMachine / 100
} }
}) })
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment