Can send video frames using a pub/sub pattern and show timings (frame transfer, encoding, decoding time, etc.)
tar -xvf zeromq-4.0.5.tar.gz
cd zeromq-4.0.5
sudo ./configure
sudo make
sudo make install
sudo ldconfig
Using publisher:
make pub
./framepub [device_idx]
Using subscriber:
make sub
./framesub [pub_hostname]
- Wrap code in classes.