Skip to content

Commit

Permalink
Update MJPEGClientHandler.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
chrberger committed Sep 25, 2017
1 parent c6af61d commit da9ee05
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions odtools/odmjpegstreamer/src/MJPEGClientHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,10 @@ namespace odmjpegstreamer {

MJPEGClientHandler::~MJPEGClientHandler() {}

void MJPEGClientHandler::nextString(const std::string &data) {
cout << "Received " << data.length() << " bytes containing '" << data << "'" << endl;

void MJPEGClientHandler::nextString(const std::string &/*data*/) {
stringstream sstr;
sstr << "HTTP/1.1 200 OK\r\n"
<< "Server: streamEye/%s\r\n"
<< "Server: odmjpegstreamer\r\n"
<< "Connection: close\r\n"
<< "Max-Age: 0\r\n"
<< "Expires: 0\r\n"
Expand Down

0 comments on commit da9ee05

Please sign in to comment.