Gstreamer Android voice and video Please let me know

KIMSANG mau37x37m at naver.com
Tue Jan 19 16:27:16 PST 2016


Android Gstreamer tutorial3 

tutorial3.c file

data->pipeline = gst_parse_launch("tcpclientsrc host=210.118.34.60 
port=5000  ! gdpdepay ! rtph264depay ! avdec_h264 ! videoconvert !
autovideosink sync=false", &error); 

video ----success 
but   
voice faile 

Voice, I would like to receive the video at the same time.

Commands sent from the Raspberry Pi
#!/bin/bash -e
serverIp=$(ifconfig | grep -E 'inet.[0-9]' | grep -v '127.0.0.1' | awk '{
print $2}')
clientIp=$(echo $serverIp | cut -d '.' -f 1-3).255 # Send to all

gst-launch-1.0 -v alsasrc device=plughw:Set \
! mulawenc ! rtppcmupay ! udpsink host=$clientIp port=5001 &

raspivid -t 999999 -w 1080 -h 720 -fps 25 -hf -b 2000000 -o - | \
gst-launch-1.0 -v fdsrc ! h264parse ! rtph264pay config-interval=1 pt=96 \
! gdppay ! tcpserversink host=$serverIp port=5000
kill $!

Receive Commands

#!/bin/bash -e

serverIp=rpi.local

gst-launch-1.0 -v udpsrc port=5001 caps="application/x-rtp" \
! queue ! rtppcmudepay ! mulawdec ! audioconvert ! autoaudiosink sync=false
&

gst-launch-1.0 -v tcpclientsrc host=$serverIp port=5000 \
! gdpdepay ! rtph264depay ! avdec_h264 ! videoconvert ! autovideosink
sync=false

kill $!

is this.
What should I do? Please let me know






--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Gstreamer-Android-voice-and-video-Please-let-me-know-tp4675390.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list