Skip to content

Instantly share code, notes, and snippets.

@pliablepixels
Created August 29, 2016 18:52
Show Gist options
  • Save pliablepixels/d08aece44b47ae9e61041847c04ed4d2 to your computer and use it in GitHub Desktop.
Save pliablepixels/d08aece44b47ae9e61041847c04ed4d2 to your computer and use it in GitHub Desktop.
nvrcam.fileOut = new LocalFileOutput( "file-"+name, "/tmp" );
nvrcam.rate = new RateLimiter( "rate-"+name,0.5,true );
nvrcam.rate->registerProvider(*(nvrcam.cam) );
nvrcam.fileOut->registerProvider(*(nvrcam.rate) );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment