Compare commits
2 Commits
2fb04cbc52
...
1ad5458a6b
| Author | SHA1 | Date | |
|---|---|---|---|
| 1ad5458a6b | |||
| b62a22b25d |
@ -95,8 +95,10 @@ class AVPlayer {
|
||||
let fdPath = await playSrc.open('r')
|
||||
let audioPlayer = media.createAudioPlayer()
|
||||
// console.info('surenjun fdPath=>',fdPath)
|
||||
console.info(TAG,'audioPlayer => 准备加载资源播放')
|
||||
audioPlayer.on('dataLoad', () => {
|
||||
this.voiceStatus = 'playing'
|
||||
console.info(TAG,'audioPlayer => 播放资源开始')
|
||||
audioPlayer.play()
|
||||
})
|
||||
return new Promise(async (resolve)=>{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user