Play mp3 file using pjsip - java

I am working on a project where I need to play audio files over VOIP channel. I am using OpenSource phone (SFLphone). I would like to know how to play an MP3 audio file over VOIP channel.
Application areas: Play audio lecture through VOIP channel.

Maybe you can try to use the Jack Audio Server for this purpose. Though, notice: This site is about programming. maybe this question is a little offtopic. Maybe you should try to make it on some other Stack Exchange site. If it doesn't apply to any other, then let it here.

Related

Recording and Reproducing Infrared waves in Android

I am new to stack overflow and I am developing an android app which can record and retransmit IR codes via audio input. But i dont know how to do it. Can someone please help me about it. I have built the hardware (An headphone jack with IR Emitter and IR Receiver connected to it) and i can send IR codes by first packing them into .Wav file and then playing that file using AudioTrack but i dont know how to make receiver to work. I want receiver to normally go to recording mode, record every IR code i give and then just repeat it. I have also checked the receiver via WinLIRC it works like a charm. Now its time to implement in android. Currently i am using Aurduino Nano and IR Scrutinizer software to record IR and make a .WAV file but i want this thing in android. There are some apps on playstore like AnyMote which record IR but they use built-in receiver of Android and my hardware uses Audio Input/Output for its function. I have also checked all drivers of ZaZa Remote but none of them showed support for Audio IR Receiver, it can just send IR codes using Audio IR Blaster and that is working very well. Please help me making my receiver to work.

amplifying/boosting call channel/audio volume

We made an application that makes it possible to video call between 2 devices(iOS, Android and web). Using cordova, opentok, nodejs and the cordova-opentok-plugin. During testing we noticed that the sound on an Android device is kind of low, hard to hear the other person talk.
We tested the sound from our application and compared it to tests with Google Hangouts and a normal telephone call. From these tests we can see that the audio is on maximum volume in our application. The audio stream goes through the call channel for all these applications and our own.
We tested the same device with skype, which also goes over the call channel, and the sound on skype is a lot louder than our own application and Google Hangouts or even a normal telephone call.
So it seems Skype has found a way to boost the audio in Android. Does anyone know how we could implemented such kind of a boost/amplify to the audio channel?
Thanks in advance.

Android - Play (mp3) from memory while streaming

Sorry about the weird title, I couldn't think of anything better.
In my Android App I want to stream an .mp3 file from an http server, which requires basic authentication. The task is to download the data and save it to the sdcard while playing. (Basicly streaming an mp3 from an http server but also saving the file)
I managed to download the mp3 from the server to the sdcard and to play the downloaded file with the Android MediaPlayer class. But playing only works right when the file is downloaded completely. I want my App to play WHILE downloading.
Can someone point out a good solution to this problem? I thought about using some third-party audio library to stream mp3 audio from memory but I couldn't find anything useful for my problem. Are there any good free librarys for Android that suit my needs?

How to read and play realtime sound stream in java?

I'm using Java to read and play some real time audio streams such as the voice from radio station.
I have the real time web address like this one and it can be played in a web browser.
How can I play it using Java language?
Thanks.
MP3SPI is a Java Service Provider Interface that adds MP3 (MPEG 1/2/2.5 Layer 1/2/3) audio format support for Java Platform. It supports streaming, ID3v2 frames, Equalizer etc. It is based on JLayer and Tritonus Java libraries.
You can use this library MP3 SPI for Java Sound , and its documentation here.
Library reference

Where to get streaming (live) video and audio from camera example app for Android?

Where to get streaming (live) video and audio from camera example for Android?
Suppose I want to create some live video streaming service app so I'll have some cool server at the back end. And I know how to do that part. Suppose I have some stand alone app for PCs now I want to go on to mobile devices. So I want to see some sample app grabing audio and video streams from Phone, Synchronizing them, encoding somehow, and sending LIVE stream to server. I need any Open-Source sample that will do this or something like this. Where can I get such one?
Ole have you been able to find any good examples of video or audio broadcasting yet? The best that I have found so far is the SIPDroid project (www.sipdroid.org). I haven't had a chance to review it in depth, but it looks promising.
Here are some project that you want
Ip Camera
http://code.google.com/p/ipcamera-for-android
SipDroid
http://code.google.com/p/sipdroid/source/browse/trunk/src/org/sipdroid/sipua/ui/VideoCamera.java
You can get the codes using SVN or other clients.
Yet to me, the both projects still have issues. If you get the one working well, please tell me.

Categories