dev #63
@ -95,8 +95,10 @@ 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