Skip to content

Commit

Permalink
update user manual
Browse files Browse the repository at this point in the history
  • Loading branch information
sbd021 committed Apr 20, 2022
1 parent 12e868e commit b7c6826
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 2 deletions.
4 changes: 4 additions & 0 deletions UserManual.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,10 @@ Fill user basic information

Audio Profile

* Set Audio Profile

Check this, it'll call setAudioProfile before joinChannel.

* High Quality

If check this, Audio Profile will be
Expand Down
5 changes: 5 additions & 0 deletions UserManual.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,11 @@

对应Audio Profile的场景

* 设置Audio Profile

选中Audio Profile,加入频道前才会调用setAudioProfile设置。


* 高音质

如果选中高音质,Audio Profile可以是
Expand Down
2 changes: 1 addition & 1 deletion src/forms/window-agora-main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -810,7 +810,7 @@ void AgoraBasic::JoinChannel(std::string token)
blog(LOG_INFO, "agora token:%s", m_settings.token.c_str());

rtcEngine->JoinChannel(m_settings.token.c_str()
, m_settings.channelName.c_str(), m_settings.uid, m_settings.bDualStream,
, m_settings.channelName.c_str(), m_settings.uid, m_settings.setAudioProfile ,m_settings.bDualStream,
!m_settings.muteAllRemoteAudioVideo, !m_settings.muteAllRemoteAudioVideo,
m_settings.loopback);
ui->streamButton->setText(starting_text);
Expand Down
2 changes: 1 addition & 1 deletion src/forms/window-agora-settings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ AgoraSettings::AgoraSettings(QWidget *parent)
startTestNet = tr("Agora.Setting.TestNet.Start");
stopTestNet = tr("Agora.Setting.TestNet.Stop");
ui->chkSavePCM->setText(tr("Basic.Settings.Agora.Save.PCM"));
ui->chkSetAudioProfile->setText(tr("Basic.Settings.Agora.Save.PCM"));
ui->chkSetAudioProfile->setText(tr("Basic.Settings.SetAudioProfile"));
ui->labSystemCPU->setText(tr("Agora.CPU.Threshold"));
qualityUnknown = tr("Agora.Test.Network.Result.Unknown");
qualityExcellent= tr("Agora.Test.Network.Result.Excellent");
Expand Down

0 comments on commit b7c6826

Please sign in to comment.