Skip to content
Snippets Groups Projects
Commit 3f7baa0d authored by Nicolas Pope's avatar Nicolas Pope
Browse files

Remove some logging

parent 60ebe217
No related branches found
No related tags found
1 merge request!40Implements #89 PNG chunking
Pipeline #11593 passed
...@@ -429,7 +429,7 @@ void Peer::data() { ...@@ -429,7 +429,7 @@ void Peer::data() {
} }
lk.unlock(); lk.unlock();
LOG(INFO) << "Received " << rc << " bytes"; //LOG(INFO) << "Received " << rc << " bytes";
} }
bool Peer::_data() { bool Peer::_data() {
......
...@@ -83,7 +83,7 @@ void NetSource::_recvChunk(int frame, int chunk, bool delta, const vector<unsign ...@@ -83,7 +83,7 @@ void NetSource::_recvChunk(int frame, int chunk, bool delta, const vector<unsign
if (!active_) return; if (!active_) return;
LOG(INFO) << "Received chunk " << (int)chunk; //LOG(INFO) << "Received chunk " << (int)chunk;
try { try {
// Decode in temporary buffers to prevent long locks // Decode in temporary buffers to prevent long locks
......
...@@ -299,7 +299,7 @@ void Streamer::_schedule() { ...@@ -299,7 +299,7 @@ void Streamer::_schedule() {
vector<int> pngparams = {cv::IMWRITE_PNG_COMPRESSION, 1}; // Default is 1 for fast, 9 = small but slow. vector<int> pngparams = {cv::IMWRITE_PNG_COMPRESSION, 1}; // Default is 1 for fast, 9 = small but slow.
cv::imencode(".png", d2, d_buf, pngparams); cv::imencode(".png", d2, d_buf, pngparams);
LOG(INFO) << "Sending chunk " << chunk << " : size = " << chunkRGB.cols << "," << chunkRGB.rows; //LOG(INFO) << "Sending chunk " << chunk << " : size = " << (d_buf.size()+rgb_buf.size()) / 1024 << "kb";
UNIQUE_LOCK(src->mutex,lk); UNIQUE_LOCK(src->mutex,lk);
auto i = src->clients[0].begin(); auto i = src->clients[0].begin();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment