mirror of
https://github.com/pikvm/ustreamer.git
synced 2026-08-31 23:31:56 +00:00
janus: no-camera-frames logging to prevent spam
This commit is contained in:
@@ -545,14 +545,14 @@ static void *_vplay_thread(void *arg) {
|
||||
frame = _g_vplay_ring->items[in_ri];
|
||||
_g_vplay_ring->items[in_ri] = tmp_frame;
|
||||
us_ring_consumer_release(_g_vplay_ring, in_ri);
|
||||
} else {
|
||||
/*} else { // FIXME: Leads to spam with "Streaming to the camera ..."
|
||||
US_ONCE({
|
||||
_LOCK_VPLAY;
|
||||
if (_g_camera.active) {
|
||||
US_LOG_INFO("No frames have got from WebRTC");
|
||||
}
|
||||
_UNLOCK_VPLAY;
|
||||
});
|
||||
});*/
|
||||
}
|
||||
} else {
|
||||
usleep(1000); // Don't iterate too frequently
|
||||
|
||||
Reference in New Issue
Block a user