live-player组件的statechange事件不会触发
<live-player id="livePlayer" :src="roomInfo.liveUrlFlv" mode="live" autoplay @statechange="stateChange" @error="error" catchtouchmove>
stateChange (e) {
console.log('live-player code:', e.detail.code) //状态码一直打印不出来
},
播放状态变化事件,就是有变化的时候才触发。(播放、暂停)