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];
|
frame = _g_vplay_ring->items[in_ri];
|
||||||
_g_vplay_ring->items[in_ri] = tmp_frame;
|
_g_vplay_ring->items[in_ri] = tmp_frame;
|
||||||
us_ring_consumer_release(_g_vplay_ring, in_ri);
|
us_ring_consumer_release(_g_vplay_ring, in_ri);
|
||||||
} else {
|
/*} else { // FIXME: Leads to spam with "Streaming to the camera ..."
|
||||||
US_ONCE({
|
US_ONCE({
|
||||||
_LOCK_VPLAY;
|
_LOCK_VPLAY;
|
||||||
if (_g_camera.active) {
|
if (_g_camera.active) {
|
||||||
US_LOG_INFO("No frames have got from WebRTC");
|
US_LOG_INFO("No frames have got from WebRTC");
|
||||||
}
|
}
|
||||||
_UNLOCK_VPLAY;
|
_UNLOCK_VPLAY;
|
||||||
});
|
});*/
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
usleep(1000); // Don't iterate too frequently
|
usleep(1000); // Don't iterate too frequently
|
||||||
|
|||||||
Reference in New Issue
Block a user