jUri
jUri
Same problem here. @thakurmayu07 so, the problem is solved? Can you link a commit?
@begeekmyfriend 16khz doesnt really solve the problem. Here is stream with 16khz audio: https://www.youtube.com/watch?v=3ZXoZMTezmk @thakurmayu07 have you tried to go below 16k? My MediaCodec crashes if there are lower values
It seems to me the issue is in AAC part. ADTS headers writes in some wrong way
I don't know what exactly wrong, I am trying to solve it for a while. Maybe they are written too often?
No details provided by youtube... does it mean they accept any of them? https://i.imgur.com/vHgNvC0.jpg https://support.google.com/youtube/answer/2853702?hl=en
@begeekmyfriend I tried streaming using both solutions, but it didn't solve issue. But I noticed something very strange: When I stream LIVE I hear audio flickering, but when youtube saves...
yasea he v2 24000: youtube stream is not starting. yasea he v2 44100: youtube stream is not starting. yasea master 16000: stream is ok, audio is ok(I swear yesterday audio...
My bad, I meant 44.1khz, of course. 48k is flickering.
@begeekmyfriend I still havent found a solution. Why we have MediaCodec converting PCM to aac, and why we have to add adts manually?
@begeekmyfriend I don't see those parts of header in yeasea's writeAdtsHeader: https://i.imgur.com/OOKGZ7c.jpg P.S. mp4 record sounds great, but it doesn't relate to AAC we are talking about, right?