Created
June 6, 2016 23:14
-
-
Save pliablepixels/c4ff905456b2543034b026e4aab55195 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
include "../base/zmApp.h" | |
#include "../base/zmListener.h" | |
#include "../providers/zmNetworkAVInput.h" | |
#include "../processors/zmMotionDetector.h" | |
#include "../processors/zmQuadVideo.h" | |
#include "../protocols/zmHttpController.h" | |
#include "../libgen/libgenDebug.h" | |
// | |
// | |
int main( int argc, const char *argv[] ) | |
{ | |
debugInitialise( "easy-1", "", 5 ); | |
Info( "Starting" ); | |
ffmpegInit(); | |
Application app; | |
NetworkAVInput input( "input", "rtsp://170.93.143.139:1935/rtplive/0b01b57900060075004d823633235daa" ); | |
app.addThread( &input ); | |
Listener listener; | |
app.addThread( &listener ); | |
HttpController httpController( "watch", 9292 ); | |
listener.addController( &httpController ); | |
app.run(); | |
} | |
~ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment