This example requires two boards: Board-1 is used for encoding live A/V feed from camera and streaming-out (as a server) and board-2 is used for streaming-in and decoding purposes to play, as a client, the received audio/video stream.
- Connect two boards back to back with an Ethernet cable or make sure both the boards are connected to the same Ethernet hub.
- Set the client IP address and execute stream-in → Decode example on board-2.
ifconfig eth0 192.168.0.2
Note: Setting of IP is not required if the boards are already connected to the same LAN.vcu-demo-streamin-decode-display.sh -c avc --audio-type aac
Note: This means client is receiving AVC bitstream from server, use-c hevc
. If server is sending HEVC bitstream). - Set server IP and run Camera → Encode → stream-out on board-1.
ifconfig eth0 192.168.0.1 (Note: setting of ip is not required if the boards already connected to same LAN) vcu-demo-camera-encode-streamout.sh --audio-type aac --use-alsasrc -i "hw:1" --address 192.168.0.2