I'm trying to use the Pi to grab a unicast UDP stream (video) on one NIC, and send it out as a uni- or multicast on a different NIC. I have two working NICs and by using socat I can get data to flow through the Pi between the two machines.
My problem is that the Pi is dropping a lot of the UDP packets, so the resulting stream isn't all that to look at. VLC is able to show a picture, but it's very obvious that the packet-loss is quite high.
The data-rate for the video stream will be between 3500kb/s and 8000kb/s with an average around 6500kb/s. I have a feeling that this can be a problem since both NICs will be on the same USB controller, but I'm not sure that's my only problem.
cat /proc/net/udp
show that there is a lot of dropped packets. Is it possible to tune the Pi to handle a live video stream like this?
Edit:
I've realised that I might be able to do this using iptables or other mechanisms, but I'm not familiar with any of these.
Edit 2: I had to give up the Pi, two NICs over the Pis USB controller just can't handle the amount of data I'm trying to push. Bought a slightly larger (and much more expensive) unit instead.