fyhertz / libstreaming

A solution for streaming H.264, H.263, AMR, AAC using RTP on Android
Apache License 2.0
3.49k stars 1.08k forks source link

Is there any receiver solution/example which decodes AAC format of audio? #304

Open MiTang0828 opened 3 years ago

MiTang0828 commented 3 years ago

Hi, I successfully applied this library to send H264 Video and use example of H264 receiver code. But I didn't find out any example to receive AAC or other format of audio. Does anyone could have example audio decoding code?

Tariq2518 commented 3 years ago

Looking for the same question ! do you have get it fixed?

MiTang0828 commented 3 years ago

Found out aac decode is much simpler than H264. Simply reverse the process of encoding, get payload data and should work.

Tariq2518 commented 3 years ago

can you please explain a little bit more. I am new to these things.

MiTang0828 commented 3 years ago

So did you understand to encoding part of this library? Try to flow how AAC is decoded in this library and once it get streamed over UDP, you simply reverse the process.

Tariq2518 commented 3 years ago

can you provide any example please so I can understand