diff --git a/components/rgbd-sources/src/streamer.cpp b/components/rgbd-sources/src/streamer.cpp index d82135df3cba6bebcea3947377b5115f366ed8da..34ee61f0afc8ecb8fd87d62b1a0f07b04d0e85cd 100644 --- a/components/rgbd-sources/src/streamer.cpp +++ b/components/rgbd-sources/src/streamer.cpp @@ -318,7 +318,7 @@ void Streamer::_schedule() { //LOG(INFO) << "Sending chunk " << chunk << " : size = " << (d_buf.size()+rgb_buf.size()) / 1024 << "kb"; - UNIQUE_LOCK(src->mutex,lk); + SHARED_LOCK(src->mutex,lk); auto i = src->clients[0].begin(); while (i != src->clients[0].end()) { try {