X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=nageru%2Fmixer.cpp;h=d2133346f33d005d87bf392c58e9589914b293b7;hb=bcd177e1daf5a63d7bf877bc5d30d8803dfd472c;hp=aac421126b904642ff38f131252faf50727f2be7;hpb=d9ddc0c342d6145c14eef021a58d8969043e24e4;p=nageru diff --git a/nageru/mixer.cpp b/nageru/mixer.cpp index aac4211..d213334 100644 --- a/nageru/mixer.cpp +++ b/nageru/mixer.cpp @@ -801,7 +801,8 @@ void Mixer::bm_frame(unsigned card_index, uint16_t timecode, // // Only bother doing MJPEG encoding if there are any connected clients // that want the stream. - if (httpd.get_num_connected_multicam_clients() > 0) { + if (httpd.get_num_connected_multicam_clients() > 0 || + httpd.get_num_connected_siphon_clients(card_index) > 0) { vector converted_samples = convert_audio_to_fixed32(audio_frame.data + audio_offset, num_samples, audio_format, 2); lock_guard lock(card_mutex); if (card->new_raw_audio.empty()) {