Bug 1876843 - Vendor libwebrtc from 034120ea70

Upstream commit: https://webrtc.googlesource.com/src/+/034120ea7060b93aeed96ff5e8476f20d07d4e7a
    Set isActive to false only when AVAudioSession is set.

    bug: webrtc:15697
    Change-Id: I364fa1f3a444fce70607e7d9338636f720d86aff
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/329342
    Commit-Queue: Abby Yeh <abbyyeh@webrtc.org>
    Reviewed-by: Peter Hanspers <peterhanspers@webrtc.org>
    Cr-Commit-Position: refs/heads/main@{#41296}
This commit is contained in:
Jan-Ivar Bruaroey 2024-02-10 17:39:10 -05:00
parent 3e0d240698
commit bc0e5dc32d
3 changed files with 9 additions and 2 deletions

View File

@ -27612,3 +27612,6 @@ c0eac979ca
# MOZ_LIBWEBRTC_SRC=/Users/jan-ivar/moz/elm/.moz-fast-forward/moz-libwebrtc MOZ_LIBWEBRTC_BRANCH=mozpatches bash dom/media/webrtc/third_party_build/fast-forward-libwebrtc.sh
# base of lastest vendoring
c03d8b6cf3
# MOZ_LIBWEBRTC_SRC=/Users/jan-ivar/moz/elm/.moz-fast-forward/moz-libwebrtc MOZ_LIBWEBRTC_BRANCH=mozpatches bash dom/media/webrtc/third_party_build/fast-forward-libwebrtc.sh
# base of lastest vendoring
034120ea70

View File

@ -18432,3 +18432,5 @@ libwebrtc updated from /Users/jan-ivar/moz/elm/.moz-fast-forward/moz-libwebrtc c
libwebrtc updated from /Users/jan-ivar/moz/elm/.moz-fast-forward/moz-libwebrtc commit mozpatches on 2024-02-10T22:36:24.337450.
# ./mach python dom/media/webrtc/third_party_build/vendor-libwebrtc.py --from-local /Users/jan-ivar/moz/elm/.moz-fast-forward/moz-libwebrtc --commit mozpatches libwebrtc
libwebrtc updated from /Users/jan-ivar/moz/elm/.moz-fast-forward/moz-libwebrtc commit mozpatches on 2024-02-10T22:37:27.076521.
# ./mach python dom/media/webrtc/third_party_build/vendor-libwebrtc.py --from-local /Users/jan-ivar/moz/elm/.moz-fast-forward/moz-libwebrtc --commit mozpatches libwebrtc
libwebrtc updated from /Users/jan-ivar/moz/elm/.moz-fast-forward/moz-libwebrtc commit mozpatches on 2024-02-10T22:38:59.734968.

View File

@ -399,8 +399,10 @@ ABSL_CONST_INIT thread_local bool mutex_locked = false;
// Set isActive and decrement activation count on deactivation
// whether or not it succeeded.
if (!active) {
self.isActive = active;
[self notifyDidSetActive:active];
if (shouldSetActive) {
self.isActive = active;
[self notifyDidSetActive:active];
}
[self decrementActivationCount];
}
RTCLog(@"Number of current activations: %d", _activationCount.load());