I'm using python & UDP to develop a voice chat application.I got the voice result in two way.
But the problem is noise in audio so that we can't hear properly.Help me to avoid this challenge. I'm looking for a programming technique to avoid noise.If anyone has experienced the same & solved that plz give me your valuable information.
THIS CODE I USED FOR SERVER & CLIENT
SERVER
gst.parse_launch( udpsrc port=5000 ! application/x-rtp,media=audio, clock-rate=44100,
width=16, height=16, encoding-name=L16, encoding-params=1, channels=1, channel-
positions=1, payload=96 ! rtpL16depay ! audioconvert ! alsasink sync=false)
CLIENT
gst.parse_launch(gconfaudiosrc ! audioconvert ! audio/x-raw-int,
channels=1,depth=16,width=16,rate=44100 ! rtpL16pay ! udpsink host='+HOST_NAME+'
port='+str(PORT_NO))
One way communication(server in one computer & client in other) is fine. But when i tried two way(both server & client resides in each computer) noise problem arise.