audio streaming over multiple devices on same ipv6 network(LAN)

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

audio streaming over multiple devices on same ipv6 network(LAN)

GStreamer-devel mailing list
I want to play .mp3 music/prerecorded audio across multiple devices available
on the same ipv6 network.

created gstreamer pipeline for client & server.

client:
MULTICAST_IP_ADDR=ff02:1
AUDIO_UDP_PORT=3000

gst-launch-1.0 udpsrc multicast-group=$MULTICAST_IP_ADDR auto-multicast=true
port=$AUDIO_UDP_PORT multicast-iface=eth1\
caps="application/x-rtp, media=(string)audio, clock-rate=(int)8000,
encoding-name=(string)PCMU, \
payload=(int)0, ssrc=(guint)1350777638, clock-base=(guint)2942119800,
seqnum-base=(guint)47141" ! \
rtppcmudepay ! mulawdec ! pulsesink

server:
AUDIO_FILE=/opt/media/audio/JB_007.mp3
MULTICAST_IP_ADDR=ff02:1
AUDIO_UDP_PORT=3000

gst-launch-1.0 filesrc location="$AUDIO_FILE" ! mad ! audioconvert !
audioresample ! mulawenc ! \
rtppcmupay ! udpsink host=$MULTICAST_IP_ADDR auto-multicast=true
port=$AUDIO_UDP_PORT

I am unable to play audio on any device with client script. Is there any
problem in pipeline created?                        
Is there a way to debug gstreamer to know whether mcast packets are
transmitted?




--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel