alibaba / alibaba/CicadaPlayer

setUpAudioDecoder error

Open
#730 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
771
Forks
209
PR merge metrics
No merged PRs in 30d

Description

2023-07-03 14:29:02.721216+0800 CicadaDemo[67592:11492223] I/AliFrameWork [0.9] [ApsaraPlayerService] :preferAudio 0
2023-07-03 14:29:02.721481+0800 CicadaDemo[67592:11492223] I/AliFrameWork [0.9] [ApsaraPlayerService] :preferAudio 0
2023-07-03 14:29:05.999179+0800 CicadaDemo[67592:11492223] 0
2023-07-03 14:29:06.001160+0800 CicadaDemo[67592:11492223] I/AliFrameWork [0.9] [AFAudioSession] :setActive when app acitve is :1
Entity: line 36: parser error : Extra content at the end of the document

^
2023-07-03 14:29:07.105365+0800 CicadaDemo[67592:11494208] I/AliFrameWork [0.9] [] :[dash] get utc time in mpd failed, use default ntp server
2023-07-03 14:29:07.207751+0800 CicadaDemo[67592:11494208] I/AliFrameWork [0.9] [DashStream] :DashStream 0, setPreferAudio, 0
2023-07-03 14:29:07.213195+0800 CicadaDemo[67592:11492223] keyPath:width, value:1920, change:{
kind = 1;
new = 1920;
}
2023-07-03 14:29:07.213446+0800 CicadaDemo[67592:11492223] keyPath:height, value:1080, change:{
kind = 1;
new = 1080;
}
2023-07-03 14:29:08.563679+0800 CicadaDemo[67592:11494226] I/AliFrameWork [0.9] [DashStream] :file have 1 streams
2023-07-03 14:29:08.563939+0800 CicadaDemo[67592:11494226] W/AliFrameWork [0.9] [DashStream] :open stream index is 0
2023-07-03 14:29:09.264852+0800 CicadaDemo[67592:11494225] I/AliFrameWork [0.9] [DashStream] :file have 1 streams
2023-07-03 14:29:09.264944+0800 CicadaDemo[67592:11494225] W/AliFrameWork [0.9] [DashStream] :open stream index is 0
2023-07-03 14:29:09.265608+0800 CicadaDemo[67592:11494208] I/AliFrameWork [0.9] [ApsaraPlayerService] :mPtsDiscontinueDelta = 20000000
2023-07-03 14:29:09.265768+0800 CicadaDemo[67592:11494175] I/AliFrameWork [0.9] [AbrBufferAlgoStrategy] :BA already change to bitrate:2170497
2023-07-03 14:29:09.267434+0800 CicadaDemo[67592:11494208] E/AliFrameWork [0.9] [SMPAVDeviceManager] :config decoder error ret= -513
2023-07-03 14:29:09.267487+0800 CicadaDemo[67592:11494208] E/AliFrameWork [0.9] [ApsaraPlayerService] :setUpAudioDecoder error -514
2023-07-03 14:29:09.267522+0800 CicadaDemo[67592:11494208] E/AliFrameWork [0.9] [ApsaraPlayerService] :setUpAVPath SetUpAudioPath failed,url is https://b-9239d1ff.kinesisvideo.us-west-2.amazonaws.com/dash/v1/getDASHManifest.mpd?SessionToken=CiB-H43YfMXdMEPP1ogZUMQGh-hw3HXvDwJiWOoQiGTCgRIQxcC6pKRzeWMAbcLhVeOr6BoZWR_QSvP1R74uoLdFgTmJYjnLTw5nFh3FSyIglKLe1hThwSlEy76UBHUgEPtgcIkp_zCBHryDWP-fFBA~ video decoder open error
2023-07-03 14:29:09.267547+0800 CicadaDemo[67592:11494208] W/AliFrameWork [0.9] [ApsaraPlayerService] :close audio stream
2023-07-03 14:29:09.278381+0800 CicadaDemo[67592:11494208] I/AliFrameWork [0.9] [CurlDataSource] :~CurlDataSource
2023-07-03 14:29:09.278430+0800 CicadaDemo[67592:11494208] I/AliFrameWork [0.9] [CurlDataSource] :~!CurlDataSource
2023-07-03 14:29:09.279914+0800 CicadaDemo[67592:11494208] I/AliFrameWork [0.9] [avcodecDecoder] :set decoder thread as :7

Contributor guide

Open the contributing guide

Research direction

No source file or test is named. Start by reproducing the logged CicadaDemo playback scenario and trace the SMPAVDeviceManager config decoder error (-513) through setUpAudioDecoder. Done means identifying the cause of the audio decoder and confirming that the affected DASH playback opens its decoder successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
audio-video-rtc
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.