I am having trouble getting the udpsrc element to decode a IPv6 stream.
On one computer, I have a pipeline that encodes MP2 audio and sends it via a udpsink element to a IPv6 address:
gst-launch-1.0 audiotestsrc ! audio/x-raw, rate=48000, channels=2, layout=interleaved ! audioconvert ! audioresample ! avenc_mp2 bitrate=64000 ! rtpmpapay name=pay1 pt=97 ! udpsink host=fd00::11 port=40012
On another computer with the IPv6 address of fd00::11, I have another pipeline which tries to decode the stream:
gst-launch-1.0 udpsrc port=40012 caps=“application/x-rtp,media=(string)audio,payload=(int)97,clock-rate=(int)90000,encoding-name=(string)MPA” ! rtpmpadepay ! capsfilter caps=“audio/mpeg, mpegversion=(int)1, layer=(int)2” ! avdec_mp2float ! audioconvert ! fakesink
However, the decode pipeline is not decoding the stream. If I replace the fd00::11 with the IPv4 address of the decoding computer, the decode pipeline does decode the audio. With the IPv6 address, I know the encode pipeline is sending the stream because I can see it with Wireshark. I also wrote a short C program on the decoding computer that opens a IPv6 socket and it receives the packets of the IPv6 stream. So, I know the network stack is passing the IPv6 packets up to the application layer. How do I get the udpsrc element in the decode pipeline to receive the IPv6 packets?