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