Open own broadcast controls and keep rejected voice recording idle
This commit is contained in:
1 parent
ba17f9908d
commit
80bd17a28e
3 files changed
+7
-3
No files matched your search
@@ -466,6 +466,7 @@ void InputBar::onPttPressed() {
|
||||
if (!m_recorder || !m_recorder->isInitialized()) return;
|
||||
m_recorder->startRecording();
|
||||
m_pttActive = m_recorder->isRecording();
|
||||
if (!m_pttActive) { DEBUG_WARN(DEBUG_CATEGORY_MEDIA, "voice recording did not start; composer remains idle"); return; }
|
||||
m_recordTarget = m_channelIdForRecord;
|
||||
m_recordReply = m_replyTo; m_recordReplyGeneration = m_replyGeneration; m_replyFailed = false;
|
||||
m_pttBtn->setStyleSheet(m_pttBtn->styleSheet() +
|
||||
|
||||
Reference in new issue
Block a user