954,504 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

help regarding voice chat project

hello friends,
as a semester project i have to make a voice chat application. But i am confused how to proceed.Can somebody provide me some help and guide me regarding capturing sound from microphone , after capturing which compressiong methods to use , then which tcp/udp to send packets ?
I have come to know about SIP/RSTP etc protocols. How to use them in my application
I know C/C++ language and will preferably work on linux system.

gumber
Newbie Poster
6 posts since Nov 2008
Reputation Points: 10
Solved Threads: 0
 
Salem
Posting Sage
Team Colleague
11,531 posts since Dec 2005
Reputation Points: 5,862
Solved Threads: 953
 

I am working on a project like that
my project is to develop voip system using (SIP) signaling system
I have finished the audio part and some of the servers & clients

the basic idea is to capture the sound first then put it in a memory
then establish aconnection then send it.
if you want a simple code in C and GTK+ for linux (as iam working now)
send me email :

and i will help you INSHAA ALLAH

toty77_77
Newbie Poster
3 posts since Apr 2009
Reputation Points: 10
Solved Threads: 0
 

> A simple voice chat program is just a program which sends sound over a network from one side to another side so I guess you'll probably need at least two things:
>>> A network library
>>> A library which deals with sound

tux4life
Nearly a Posting Maven
2,350 posts since Feb 2009
Reputation Points: 2,134
Solved Threads: 243
 

the capture from mic under linux

you need to know the audio basics

sampel size sample rate channels (mono/sterio)
then call the sound system to capture the sound in a spacific memory buffer

toty77_77
Newbie Poster
3 posts since Apr 2009
Reputation Points: 10
Solved Threads: 0
 

for SIP side of your project :

sip is only the mechanism that help to connect and establish the connection and later terminate it

sip is not aconnecting protocol

sip is like HTTP (an ascii or string based signaling system)
all you need is data structure knowledge and you can make a program that parse the sip request and know what to do for it

toty77_77
Newbie Poster
3 posts since Apr 2009
Reputation Points: 10
Solved Threads: 0
 

I am also working on a same project now... using RTP protocol.. i am using JRTP libs ( http://research.edm.uhasselt.be/jori/jrtplib/documentation/index.html ) for this... I could able to do the communication.

But when i tried to send test.wav file(recorded voice file-- i send this as a buffer for tesing) and play in receiver it is gave me high frequency sound. i could hear something like a murmur...

I didnt do any voice compression.. is this prob wil be solved if i do any compression.. plz give ur suggetions..

JustinJose12002
Newbie Poster
10 posts since Feb 2008
Reputation Points: 10
Solved Threads: 0
 

Make it over IP using VOIP protocol :D .

ithelp
Nearly a Posting Maven
Banned
2,230 posts since May 2006
Reputation Points: 769
Solved Threads: 128
 
Make it over IP using VOIP protocol :D .


RTP is actully built over IP/UDP.. commmunication part is working fine for me. i am struggling to transmit voice data and play tht properly in the receiver side..

JustinJose12002
Newbie Poster
10 posts since Feb 2008
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You