UDP Multicast Not Working
Posted: 14 Aug 2018 20:49
Hi,
I want to send an .mp3 file from my server machine (PC, running windows 7) to my client machine (Raspberry Pi, running Raspbian) using UDP multicast. I know I do not need to use UDP multicast, but this is just a test for a bigger project.
Currently, I am unable to see any data from VLC on my client machine. I am able to get this working when I use the same machine as both the server and client, but not when I use one as the server and the other as the client.
All firewalls have been turned off and have changed both machines to have a static IP address. I am able to ping each machine from the other. The two machines are directly connected through an Ethernet cable. I have Wireshark running in the background and I do not see any UDP packets coming through.
Server end VLC settings:
Clicked “stream” and added the desired .mp3 file. Then added “UDP (legacy)” and chose a multicast group address of 232.100.10.111 with port of 2000. I checked “Activate Transcoding” and chose “Audio – MP3” under “Transcoding Options”. Under “Option Setup” I checked “Stream all elementary streams” and clicked “Stream”. Streaming on a loop.
Client end VLC settings:
Clicked “Open Network Stream”. Entered a network URL of “udp://@232.100.10.111:2000” and clicked play.
I am not sure if the issue is with my VLC settings or my PC/Pi settings. Any help will be greatly appreciated.
Thanks.
I want to send an .mp3 file from my server machine (PC, running windows 7) to my client machine (Raspberry Pi, running Raspbian) using UDP multicast. I know I do not need to use UDP multicast, but this is just a test for a bigger project.
Currently, I am unable to see any data from VLC on my client machine. I am able to get this working when I use the same machine as both the server and client, but not when I use one as the server and the other as the client.
All firewalls have been turned off and have changed both machines to have a static IP address. I am able to ping each machine from the other. The two machines are directly connected through an Ethernet cable. I have Wireshark running in the background and I do not see any UDP packets coming through.
Server end VLC settings:
Clicked “stream” and added the desired .mp3 file. Then added “UDP (legacy)” and chose a multicast group address of 232.100.10.111 with port of 2000. I checked “Activate Transcoding” and chose “Audio – MP3” under “Transcoding Options”. Under “Option Setup” I checked “Stream all elementary streams” and clicked “Stream”. Streaming on a loop.
Client end VLC settings:
Clicked “Open Network Stream”. Entered a network URL of “udp://@232.100.10.111:2000” and clicked play.
I am not sure if the issue is with my VLC settings or my PC/Pi settings. Any help will be greatly appreciated.
Thanks.