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

siva SivaSubrahmanyam.Nallamalli at Carrier.com
Fri Jun 18 18:55:19 UTC 2021


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/


More information about the gstreamer-devel mailing list