Skip to content

Commit

Permalink
disable audio on android
Browse files Browse the repository at this point in the history
  • Loading branch information
Consti10 committed Apr 7, 2024
1 parent 9c2ff3e commit 5de1443
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/videostreaming/vscommon/audio_playback.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,12 @@

void platform_start_audio_streaming_if_enabled()
{
if(QOpenHD::instance().is_android()){
// audio r.n crashes on android
return;
}
QSettings settings;
const bool dev_enable_live_audio_playback=settings.value("dev_enable_live_audio_playback", false).toBool();
const bool dev_enable_live_audio_playback=settings.value("dev_enable_live_audio_playback", true).toBool();
if(!dev_enable_live_audio_playback){
qDebug()<<"Live audio playback is disabled";
return;
Expand Down

0 comments on commit 5de1443

Please sign in to comment.