Software Archive
Read-only legacy content

Streaming de Áudio no formato AAC

Jonathan_d_3
Beginner
551 Views

Preciso de algo simples e objetivo, reproduzir o audio que chega por um IP:Porta porém no formato AAC, o que fazer? Por favor preciso de ajuda urgente!!!!

0 Kudos
2 Replies
Dale_S_Intel
Employee
551 Views

Well, I'm slightly unsure whether your question is how to play audio in general vs how to play AAC encoded audio.

In the former case, I'd take a look at the "hello-cordova" sample app and look at the code associated with the "BarkCordova" button as an example.  I don't know exactly how/if various codecs work with that Cordova plugin (cordova-plugin-media) but you could try replacing the "bark.wav" file with an AAC file to check real quick.

If that doesn't work, you can try looking at some other plugins like this you could try looking at a plugin like https://github.com/wnyc/cordova-plugin-playerhater.

Let us know if that works or not, otherwise I can look into it more deeply.

Dale

 

0 Kudos
Anusha_M_Intel1
Employee
551 Views
 
I need something simple and objective, play the audio arriving for an IP : Port but in AAC format , what to do? Please need urgent help
Hell Cordova is a great sample. If you want a simpler code base concentrating only on audio playing, you can also take a look at the Audio Player sample - https://github.com/gomobile/sample-audio-player
 
It ships with the XDK also and uses the Cordova media plugin and a low latency audio plugin. You can try that code with an aac file. Else give this plugin a try - https://github.com/wnyc/cordova-plugin-playerhater?files=1. It uses an acc file in the sample code that illustrates plugin usage. 
0 Kudos
Reply