diff options
| author | Roxie Linden <roxie@lindenlab.com> | 2024-04-28 18:43:48 -0700 | 
|---|---|---|
| committer | Roxie Linden <roxie@lindenlab.com> | 2024-04-28 18:43:48 -0700 | 
| commit | cf13866da951f8c7c7eedfd0ff0571c6951f42a4 (patch) | |
| tree | a0977b56022db20767fb406e1424551fb03cbd67 | |
| parent | d4fce4990ad0527430d2b3e70be360c26d6cb46b (diff) | |
Don't default the tracks to unmuted
| -rw-r--r-- | indra/llwebrtc/llwebrtc.cpp | 4 | 
1 files changed, 1 insertions, 3 deletions
| diff --git a/indra/llwebrtc/llwebrtc.cpp b/indra/llwebrtc/llwebrtc.cpp index b20d3cd4e0..d07e6deea4 100644 --- a/indra/llwebrtc/llwebrtc.cpp +++ b/indra/llwebrtc/llwebrtc.cpp @@ -766,7 +766,7 @@ bool LLWebRTCPeerConnectionImpl::initializeConnection(const LLWebRTCPeerConnecti              rtc::scoped_refptr<webrtc::AudioTrackInterface> audio_track(                  mPeerConnectionFactory->CreateAudioTrack("SLAudio", mPeerConnectionFactory->CreateAudioSource(audioOptions).get())); -            audio_track->set_enabled(true); +            audio_track->set_enabled(false);              mLocalStream->AddTrack(audio_track);              mPeerConnection->AddTrack(audio_track, {"SLStream"}); @@ -999,8 +999,6 @@ void LLWebRTCPeerConnectionImpl::OnConnectionChange(webrtc::PeerConnectionInterf      {          case webrtc::PeerConnectionInterface::PeerConnectionState::kConnected:          { -            mWebRTCImpl->setRecording(true); -              mWebRTCImpl->PostWorkerTask([this]() {                  for (auto &observer : mSignalingObserverList)                  { | 
