Live Audio Streaming over VOIP

srd pirpi.12345 at gmail.com
Sat May 31 05:00:00 PDT 2014


I have a raspberry pi with wolfson pi audio card. I am able to stream live
audio over voip using gstreamer, but sometimes i am getting the following
error. Can anyone help me with this?
 
1. AL lib: alsa_reset_playback: snd_pcm_hw_params(data->pcmHandle, hp)
failed: file descriptor in bad state
 
2. ERROR: pad_added_cb:assertion failed: (lres==GST_PAD_LINK_OK)
 
I am using the following pipeline
 
AUDIO SERVER :
 
gst-launch alsasrc !  audioconvert !
audio/x-raw-int,channels=1,depth=16,width=16, rate=44100 ! rtpL16pay  !
udpsink host=127.0.0.1 port=5000
 
AUDIO CLIENT :
 
gst-launch udpsrc port=5000 caps="application/x-rtp, media=(string)audio,
clock-rate=(int)44100, width=(int)16, height=(int)16,
encoding-name=(string)L16, encoding-params=(string)1, channels=(int)1,
channel-position=(int)1, payload=(int)96" ! gstrtpjitterbuffer do-lost=true
! rtpL16depay ! audioconvert ! alsasink sync=false
 
Thanks
pirpi



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Live-Audio-Streaming-over-VOIP-tp4667326.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list