Advertisement
FlyFar

tcp-video-stream.js

Mar 16th, 2023
721
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JavaScript 0.22 KB | Cybersecurity | 0 0
  1. // Run this to receive the raw video stream from your drone as buffers.
  2.  
  3. var arDrone = require('..');
  4.  
  5. var video = arDrone.createClient().getVideoStream();
  6.  
  7. video.on('data', console.log);
  8. video.on('error', console.log);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement