Find Jobs
Hire Freelancers

VoIP RTP Streaming from/to server (in Java) to/from android

€30-250 EUR

Closed
Posted almost 9 years ago

€30-250 EUR

Paid on delivery
My target is to have a push-to-talk voice app in GSM/UMTS/LTE networks; initially I wanted use multicast addresses and peer-to-peer without overload the server; unfortunatly, after deep investigation, I discovered that multicast is not allowed in GSM/UMTS/LTE networks, therefore I have to use a central server in order to bounce the VoIP packets. I have to send VoIP from 1 android client to a server (PC), and the same VoIP from the server to N android clients. The server is in Java, it has to receive the VoIP packets from the transmitter Android, and then it has to send the VoIP packets to other N clients; therefore the server is a bouncer of VoIP packets. My app, on both android and server side, is almost ready, what is missing is the code for the VoIP streaming. I need mainly a Java method, to be included in the server java code, that receives the VoIP packets from 1 android client and resend the same VoIP packets to N android clients. The parameters of the method will be: - IP address of android client VoIP sender (the transmitter) - port of android client VoIP sender - arraylist containing the N ip addresses of the N android client VoIP receivers - arraylist containing the N ports of the N android client VoIP receiver Of course the method has to take into account and solve the tipical VoIP issues: delivery speed, FEC, loss concealment, jitter buffering, etc... I also read that there are some technics to have a dynamic jitter buffer so to have dynamically the right balance between quality and latency (in stackoverflow I saw also some code example of dynamic jitter buffer...). The software developper must have deep experience in VoIP and Java, and will have also to suggest me the right/suitable parameters to be used (type of codecs, etc...) for VoIP tuning. Please find below the code (for android) I use to send the VoIP packets from the transmitter android client to the server. It works because I don't have problems when I use it for individual call sending the VoIP packets directly from Android to Android; the code to receive in android the packets from server is very similar, so I don't recopy it. As you can see I use [login to view URL] . You will have to modify this code if needed in order to be adapted to the server code. // ANDROID CODE USED TO SEND VOIP TO SERVER //Attribute definition private static final AudioCodec myAudioCodec_COSTANTE = [login to view URL] ; private static final int myAudioGroupTX_COSTANTE = AudioGroup.MODE_NORMAL ; private static final int myAudioGroupRX_COSTANTE = AudioGroup.MODE_NORMAL ; private static final int myRtpStreamTX_COSTANTE = RtpStream.MODE_SEND_ONLY ; private static final int myRtpStreamRX_COSTANTE = RtpStream.MODE_RECEIVE_ONLY ; private static final int myAudioManagerTX_COSTANTE = AudioManager.MODE_IN_COMMUNICATION; private static final int myAudioManagerRX_COSTANTE = AudioManager.MODE_IN_COMMUNICATION; //Method called for VoIP trasmission myAudioStream = new AudioStream(localClientIP); myAudioGroup = new AudioGroup(); myAudioManager = (AudioManager) [login to view URL](Context.AUDIO_SERVICE); [login to view URL](myAudioGroupTX_COSTANTE); [login to view URL](null); [login to view URL](myAudioCodec_COSTANTE); [login to view URL](myRtpStreamTX_COSTANTE); [login to view URL](ipaddress_Server, port_Server) [login to view URL](myAudioGroup); [login to view URL](myAudioManagerTX_COSTANTE); [login to view URL](false); [login to view URL](false);
Project ID: 7953053

About the project

3 proposals
Remote project
Active 9 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
3 freelancers are bidding on average €231 EUR for this job
User Avatar
We have a set of skilled Android Developers and Java/J2EE developers. We can complete the project with in time with high quality
€222 EUR in 10 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Aucune proposition n'a encore été fournie.
€222 EUR in 10 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of ITALY
Roma, Italy
5.0
7
Payment method verified
Member since Apr 13, 2015

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.