feat(audio): allow sending continuous audio (#4261)

This commit is contained in:
Mariotaku
2025-10-12 05:53:11 +09:00
committed by GitHub
parent 246d8f179f
commit fbcf2116c2
10 changed files with 24 additions and 10 deletions

View File

@@ -1030,6 +1030,10 @@ namespace rtsp_stream {
}
config.audio.flags[audio::config_t::CUSTOM_SURROUND_PARAMS] = valid;
}
if (session.continuous_audio) {
BOOST_LOG(info) << "Client requested continuous audio"sv;
config.audio.flags[audio::config_t::CONTINUOUS_AUDIO] = true;
}
// If the client sent a configured bitrate, we will choose the actual bitrate ourselves
// by using FEC percentage and audio quality settings. If the calculated bitrate ends up