Граф коммитов

808209 Коммитов

Автор SHA1 Сообщение Дата
Michael Froman ff61ababd4 Bug 1766646 - Vendor libwebrtc from cbb4421eac
Upstream commit: https://webrtc.googlesource.com/src/+/cbb4421eacb6079cb14f2a53dbe1f520c3d79089
    Remove DeliverPacketAsync.

    This is currently unused and since we ultimately don't want the delivery
    of packets to be async at this stage (but rather stay on the network
    thread), we don't need it.

    Bug: webrtc:11993
    Change-Id: I6809026b6901c8ecfacd961e98ddf79aaa16d0bd
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/220601
    Reviewed-by: Markus Handell <handellm@webrtc.org>
    Commit-Queue: Markus Handell <handellm@webrtc.org>
    Cr-Commit-Position: refs/heads/master@{#34152}
2022-08-30 10:24:34 -04:00
Michael Froman 330282b39f Bug 1766646 - Vendor libwebrtc from 785725129a
Upstream commit: https://webrtc.googlesource.com/src/+/785725129abcc705646e2fc39b97dc25b3b40728
    Update WebRTC code version (2021-05-29T04:03:30).

    TBR=webrtc-version-updater@webrtc-ci.iam.gserviceaccount.com,mbonadei@webrtc.org

    Bug: None
    Change-Id: If4ecdd641557c7f139f98d2d31a310d82c291d48
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/220583
    Reviewed-by: webrtc-version-updater@webrtc-ci.iam.gserviceaccount.com <webrtc-version-updater@webrtc-ci.iam.gserviceaccount.com>
    Commit-Queue: webrtc-version-updater@webrtc-ci.iam.gserviceaccount.com <webrtc-version-updater@webrtc-ci.iam.gserviceaccount.com>
    Cr-Commit-Position: refs/heads/master@{#34151}
2022-08-30 10:24:34 -04:00
Michael Froman f92ea9956d Bug 1766646 - Vendor libwebrtc from d5b0199959
Upstream commit: https://webrtc.googlesource.com/src/+/d5b019995919d477b6d3ca67ee9f94a77729df31
    Roll chromium_revision 4a5a62a362..bbca8ebcc5 (887362:887470)

    Change log: 4a5a62a362..bbca8ebcc5
    Full diff: 4a5a62a362..bbca8ebcc5

    Changed dependencies
    * src/base: 81feb71671..65424b398e
    * src/build: 5ed0c25eaa..862b91b57a
    * src/ios: aaf94d3ca0..b877a5846b
    * src/testing: d795081f8b..0f50062689
    * src/third_party: 1ecc375025..6938093afd
    * src/third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/e83a92e7b8..8f9ae5d5d3
    * src/third_party/perfetto: e46c9b802f..b3f455e9ed
    * src/tools: f903bb869e..8507003bda
    DEPS diff: 4a5a62a362..bbca8ebcc5/DEPS

    No update to Clang.

    TBR=chromium-webrtc-autoroll@webrtc-ci.iam.gserviceaccount.com,
    BUG=None

    Change-Id: Iaa36275ef783936dc956c04e831f2fc454294344
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/220541
    Reviewed-by: Autoroller <chromium-webrtc-autoroll@webrtc-ci.iam.gserviceaccount.com>
    Commit-Queue: Autoroller <chromium-webrtc-autoroll@webrtc-ci.iam.gserviceaccount.com>
    Cr-Commit-Position: refs/heads/master@{#34150}
2022-08-30 10:24:33 -04:00
Michael Froman d160b2733c Bug 1766646 - Vendor libwebrtc from 3d46d0b200
Upstream commit: https://webrtc.googlesource.com/src/+/3d46d0b200128dfc919ffabe3172ff5d3c4ca7f1
    Proxy: solve event tracing with compile time strings.

    This change creates trace events with a single parameter
    composed of ClassName::Method.

    The change additionally causes the duration of the proxy call to be
    traced, not only the occurrence.

    Fixed: webrtc:12787
    Change-Id: I1689862318d4c6fc1dcef343c3ccf3ae9f7e17df
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/219788
    Commit-Queue: Markus Handell <handellm@webrtc.org>
    Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
    Reviewed-by: Tommi <tommi@webrtc.org>
    Cr-Commit-Position: refs/heads/master@{#34149}
2022-08-30 10:24:32 -04:00
Michael Froman cca27e1c79 Bug 1766646 - Vendor libwebrtc from d325f322c7
Upstream commit: https://webrtc.googlesource.com/src/+/d325f322c74204a8347aa7ae69c2f13d33eabc7d
    Update WebRTC code version (2021-05-28T04:03:27).

    TBR=webrtc-version-updater@webrtc-ci.iam.gserviceaccount.com,mbonadei@webrtc.org

    Bug: None
    Change-Id: I17bab58728190b656e1f0db1c609c2896c090326
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/220540
    Reviewed-by: webrtc-version-updater@webrtc-ci.iam.gserviceaccount.com <webrtc-version-updater@webrtc-ci.iam.gserviceaccount.com>
    Commit-Queue: webrtc-version-updater@webrtc-ci.iam.gserviceaccount.com <webrtc-version-updater@webrtc-ci.iam.gserviceaccount.com>
    Cr-Commit-Position: refs/heads/master@{#34148}
2022-08-30 10:24:31 -04:00
Michael Froman 5fc45445b2 Bug 1766646 - Vendor libwebrtc from 319bac634b
Upstream commit: https://webrtc.googlesource.com/src/+/319bac634b6a1287d7f76e5c2a7cb9287c73263e
    Roll chromium_revision f713d4fb04..4a5a62a362 (887229:887362)

    Change log: f713d4fb04..4a5a62a362
    Full diff: f713d4fb04..4a5a62a362

    Changed dependencies
    * src/base: cec4a71b3f..81feb71671
    * src/build: b5063cfbea..5ed0c25eaa
    * src/ios: 09ce2a9c75..aaf94d3ca0
    * src/testing: 63780aeaa4..d795081f8b
    * src/third_party: b13c85f968..1ecc375025
    * src/third_party/boringssl/src: https://boringssl.googlesource.com/boringssl.git/+log/ddecaabdc8..3dd9864fea
    * src/third_party/depot_tools: 6fc394f93d..0694fa65f8
    * src/tools: bbaa2660fe..f903bb869e
    DEPS diff: f713d4fb04..4a5a62a362/DEPS

    No update to Clang.

    TBR=chromium-webrtc-autoroll@webrtc-ci.iam.gserviceaccount.com,
    BUG=None

    Change-Id: I3cce061233062313cb157939319c664f4e15ac82
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/220480
    Reviewed-by: Autoroller <chromium-webrtc-autoroll@webrtc-ci.iam.gserviceaccount.com>
    Commit-Queue: Autoroller <chromium-webrtc-autoroll@webrtc-ci.iam.gserviceaccount.com>
    Cr-Commit-Position: refs/heads/master@{#34147}
2022-08-30 10:24:31 -04:00
Michael Froman 7bc3c70853 Bug 1766646 - Vendor libwebrtc from d595f6c02a
Upstream commit: https://webrtc.googlesource.com/src/+/d595f6c02a08ebeb18a23e4ed20ad8002a74416e
    Roll chromium_revision a0132a2044..f713d4fb04 (887053:887229)

    Change log: a0132a2044..f713d4fb04
    Full diff: a0132a2044..f713d4fb04

    Changed dependencies
    * src/base: 43f91dbc50..cec4a71b3f
    * src/build: 2f6e88e05d..b5063cfbea
    * src/ios: 61b28637d9..09ce2a9c75
    * src/testing: 55ab025d49..63780aeaa4
    * src/third_party: 3544467673..b13c85f968
    * src/third_party/perfetto: be406c7d16..e46c9b802f
    * src/tools: 451fade863..bbaa2660fe
    DEPS diff: a0132a2044..f713d4fb04/DEPS

    No update to Clang.

    TBR=chromium-webrtc-autoroll@webrtc-ci.iam.gserviceaccount.com,
    BUG=None

    Change-Id: If01f20f5c8e1a28a9f57afbcec84609604614a26
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/220441
    Reviewed-by: Autoroller <chromium-webrtc-autoroll@webrtc-ci.iam.gserviceaccount.com>
    Commit-Queue: Autoroller <chromium-webrtc-autoroll@webrtc-ci.iam.gserviceaccount.com>
    Cr-Commit-Position: refs/heads/master@{#34146}
2022-08-30 10:24:30 -04:00
Michael Froman d3293fd8b0 Bug 1766646 - Vendor libwebrtc from c39080c883
Upstream commit: https://webrtc.googlesource.com/src/+/c39080c883cb43d1755cd8d12c71fd68da02b4c8
    Roll chromium + fix: blacklist -> ignorelist for sanitizers suppressions

    Roll chromium_revision 19159a8788..a0132a2044 (886529:887053)

    Change log: 19159a8788..a0132a2044
    Full diff: 19159a8788..a0132a2044

    Changed dependencies
    * src/base: eb591f0d4b..43f91dbc50
    * src/build: 4f39b7cf99..2f6e88e05d
    * src/buildtools/third_party/libunwind/trunk: 7846d25635..c8d0fb870a
    * src/ios: 6d4134ba11..61b28637d9
    * src/testing: 04abc75222..55ab025d49
    * src/third_party: 6dc8812614..3544467673
    * src/third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/74a278f9bb..e83a92e7b8
    * src/third_party/depot_tools: 6d45691f60..6fc394f93d
    * src/third_party/googletest/src: 23ef29555e..a3460d1aee
    * src/third_party/perfetto: 78af063a63..be406c7d16
    * src/tools: 255ad6c868..451fade863
    DEPS diff: 19159a8788..a0132a2044/DEPS

    No update to Clang.

    Bug: webrtc:12817, webrtc:11680
    Change-Id: Icf3b9678dbd529bb6878bcb12bdb4c1c3e7f2c24
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/220364
    Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
    Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
    Cr-Commit-Position: refs/heads/master@{#34145}
2022-08-30 10:24:29 -04:00
Michael Froman 3c7a99838d Bug 1766646 - Vendor libwebrtc from 236ac50628
Upstream commit: https://webrtc.googlesource.com/src/+/236ac506285e59d5b52cb8ca60a6c20c3e277f95
    dcsctp: Add public API for BufferedAmountLow

    This adds native support for the RTCDataChannel properties:
    https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/bufferedAmount
    https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/bufferedAmountLowThreshold

    And the RTCDataChannel event:
    https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/onbufferedamountlow

    The old callback, NotifyOutgoingMessageBufferEmpty, is deprecated as it
    didn't work very well. It will not be triggered and will be removed
    as soon as all users of it are gone. There is a new callback,
    OnTotalBufferedAmountLow, that serves the same purpose but also allows
    setting an arbitrary limit when it should be triggered (See
    DcSctpOptions::total_buffered_amount_low_threshold).

    Bug: webrtc:12794
    Change-Id: Ic1c92f174eff8a1acda0b5fd3dcc45bd1cfa2704
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/219691
    Commit-Queue: Victor Boivie <boivie@webrtc.org>
    Reviewed-by: Harald Alvestrand <hta@webrtc.org>
    Cr-Commit-Position: refs/heads/master@{#34144}
2022-08-30 10:24:28 -04:00
Michael Froman 6085ab3f34 Bug 1766646 - Vendor libwebrtc from bd9031bf22
Upstream commit: https://webrtc.googlesource.com/src/+/bd9031bf22c914856ac934b66083e204ebc8619c
    dcsctp: Add OnTotalBufferedAmountLow in Send Queue

    This is similar to Change-Id: I12a16f44f775da3711f3aa52a68a0bf24f70d2f8
    but with the entire send buffer as scope, not a single stream.

    This can be used by clients to take alternate action (such as delaying
    transmission or using other buffering) if the send buffer ever becomes
    full, as they can now be notified when the send buffer is no longer
    full.

    Bug: webrtc:12794
    Change-Id: Icf3be3b118888ffb5ced955fd7ba4826a37140f9
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/220360
    Commit-Queue: Victor Boivie <boivie@webrtc.org>
    Reviewed-by: Harald Alvestrand <hta@webrtc.org>
    Cr-Commit-Position: refs/heads/master@{#34143}
2022-08-30 10:24:28 -04:00
Michael Froman e540e11081 Bug 1766646 - Vendor libwebrtc from 791adafa09
Upstream commit: https://webrtc.googlesource.com/src/+/791adafa09a1fdf6122e3f5b45c1e397bc6223a0
    dcsctp: Add OnBufferedAmountLow in Send Queue

    This adds the necessary properties and callback to the Send Queue to
    support the bufferedAmount & bufferedAmountLowThreshold properties and
    the bufferedamountlow event in RTCDataChannel.

    The public API changes and socket support comes in a follow-up CL.

    Bug: webrtc:12794
    Change-Id: I12a16f44f775da3711f3aa52a68a0bf24f70d2f8
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/219690
    Reviewed-by: Harald Alvestrand <hta@webrtc.org>
    Commit-Queue: Victor Boivie <boivie@webrtc.org>
    Cr-Commit-Position: refs/heads/master@{#34142}
2022-08-30 10:24:27 -04:00
Michael Froman 690b84719e Bug 1766646 - Vendor libwebrtc from a1b8201009
Upstream commit: https://webrtc.googlesource.com/src/+/a1b82010094bc48d02c13cb934966296370902fa
    Move proxies into pc/.

    Bug: webrtc:12787
    Change-Id: Ia244d9d22d35436a02cf5a448bd1520cb66ff352
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/220321
    Reviewed-by: Harald Alvestrand <hta@webrtc.org>
    Commit-Queue: Markus Handell <handellm@webrtc.org>
    Cr-Commit-Position: refs/heads/master@{#34141}
2022-08-30 10:24:26 -04:00
Michael Froman f8c37da265 Bug 1766646 - Vendor libwebrtc from 7d2e669a38
Upstream commit: https://webrtc.googlesource.com/src/+/7d2e669a38f618f5c05735d4e9b38269cad83b24
    dcsctp: Allocate TSN for end of abandoned message

    If a not fully sent message is abandoned, there must be a TSN
    representing the end of that message (even if that fragment is never
    sent), as the receiver can otherwise reject the next sent message as it
    hasn't seen any end of the previous one.

    A long explanation can be found at
    https://github.com/sctplab/usrsctp/issues/592#issuecomment-849047689

    Bug: webrtc:12812
    Change-Id: I09c571bd6dd2774b0c147d4e5ddac67d2aa64fea
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/220361
    Commit-Queue: Victor Boivie <boivie@webrtc.org>
    Reviewed-by: Harald Alvestrand <hta@webrtc.org>
    Cr-Commit-Position: refs/heads/master@{#34140}
2022-08-30 10:24:25 -04:00
Michael Froman f051133b6b Bug 1766646 - Vendor libwebrtc from 9700d88b1a
Upstream commit: https://webrtc.googlesource.com/src/+/9700d88b1ae9406410c42c244cd7f7aedfec15dd
    dcsctp: Avoid recalculation of outstanding bytes

    Recalculating outstanding bytes is expensive when the congestion window
    is large, as it iterates over all inflight data chunks. By doing it
    incrementally, it will be a constant operation in most cases, and
    in the remaining cases, a function of the number of chunks acked in a
    single SACK, which is typically just a few chunks.

    Implementing this fix required some refactoring to calculate it
    correctly (and to be honest, it was likely done incorrectly previously).

    Previously, the state of an item in the retransmission queue was
    simplified as "in flight", "acked", "nacked", "abandoned", but these
    were not completely orthogonal. A chunk could be abandoned while it was
    in-flight or it could be abandoned because it was lost. The difference
    between these if that chunk should be accounted for in
    outstanding_bytes() or not.

    Unit tests have been added to verify this.

    Bug: webrtc:12799
    Change-Id: I72341538bb0c4f8f89555b08f0c8a28815f0f828
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/219623
    Reviewed-by: Harald Alvestrand <hta@webrtc.org>
    Commit-Queue: Victor Boivie <boivie@webrtc.org>
    Cr-Commit-Position: refs/heads/master@{#34139}
2022-08-30 10:24:25 -04:00
Michael Froman e880ab2f30 Bug 1766646 - Vendor libwebrtc from 36ad60613d
Upstream commit: https://webrtc.googlesource.com/src/+/36ad60613d21c697b6b6363a860a1646a75e81ba
    Update WebRTC code version (2021-05-27T04:02:45).

    TBR=webrtc-version-updater@webrtc-ci.iam.gserviceaccount.com,mbonadei@webrtc.org

    Bug: None
    Change-Id: Ibbf24578c29dfb834fac3803716ebda700d5f4e0
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/220381
    Reviewed-by: webrtc-version-updater@webrtc-ci.iam.gserviceaccount.com <webrtc-version-updater@webrtc-ci.iam.gserviceaccount.com>
    Commit-Queue: webrtc-version-updater@webrtc-ci.iam.gserviceaccount.com <webrtc-version-updater@webrtc-ci.iam.gserviceaccount.com>
    Cr-Commit-Position: refs/heads/master@{#34138}
2022-08-30 10:24:24 -04:00
Michael Froman 02a692998e Bug 1766646 - Vendor libwebrtc from e52cfab633
This commit was previously cherry-picked.

Upstream commit: https://webrtc.googlesource.com/src/+/e52cfab63347cd0f7b1ddf68d1f0a9321e0066f1
    PipeWire capturer: request mouse cursor to be part of the stream

    We need to specify that the cursor should be included in the stream as
    by default xdg-desktop-portal defaults to hidden cursor.

    Bug: chromium:1202526
    Change-Id: Ic4742da2e51f7ed28cb9d7b6b0c069c1fa7d0cee
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/214782
    Reviewed-by: Tommi <tommi@webrtc.org>
    Reviewed-by: Erik Språng <sprang@webrtc.org>
    Commit-Queue: Tommi <tommi@webrtc.org>
    Cr-Commit-Position: refs/heads/master@{#34137}
2022-08-30 10:24:23 -04:00
Michael Froman 6974fa8926 Bug 1766646 - Vendor libwebrtc from 2182096e66
Upstream commit: https://webrtc.googlesource.com/src/+/2182096e66f0c3bff7f1a472a94a4e83d02931f1
    RtpFrameReferenceFinder return frames directly instead of via callback.

    Bug: webrtc:12579
    Change-Id: I41263f70a6f3dc60167e41f8b015a7d3b0dc3dd7
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/219633
    Commit-Queue: Philip Eliasson <philipel@webrtc.org>
    Reviewed-by: Sam Zackrisson <saza@google.com>
    Reviewed-by: Sam Zackrisson <saza@webrtc.org>
    Reviewed-by: Erik Språng <sprang@webrtc.org>
    Cr-Commit-Position: refs/heads/master@{#34136}
2022-08-30 10:24:22 -04:00
Michael Froman 1d8b759b38 Bug 1766646 - Vendor libwebrtc from 7f11067110
Upstream commit: https://webrtc.googlesource.com/src/+/7f11067110907f99b5bbbba6e3e084369e24498c
    Clean up RtpSenderTest and remove RtpSenderEgress dependencies.

    Since all test cases that used RtpSenderEgress have been refactored or
    moved, we can now get rid of lot of test fixture crud:
    * Remove RtpSenderContext helper, make sender normal member.
    * Remove test transport helper
    * Remove task queue helper (needed for thread checks in egress)
    * Remove various mocks no longer used
    * Remove RtpSenderWithoutPacer subclass
    * Remove WithWithoutOverhead parametrization (only affect egress)

    ..plus some cleanup of how configs are created.

    Bug: webrtc:11340
    Change-Id: I5c581d60862fc6dc2b99f76058782309dc7aef4d
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/220280
    Commit-Queue: Erik Språng <sprang@webrtc.org>
    Reviewed-by: Danil Chapovalov <danilchap@webrtc.org>
    Cr-Commit-Position: refs/heads/master@{#34135}
2022-08-30 10:24:22 -04:00
Michael Froman cb39e0204f Bug 1766646 - Vendor libwebrtc from b4f3204a23
Upstream commit: https://webrtc.googlesource.com/src/+/b4f3204a23a6e99a4c191cfb170ded4e52c90f30
    Remove Win UWP mb config

    Bug: webrtc:12803
    Change-Id: Ia66efdf101645a2a0332662ff8b010a78024b0a6
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/220161
    Commit-Queue: Christoffer Jansson <jansson@google.com>
    Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
    Cr-Commit-Position: refs/heads/master@{#34134}
2022-08-30 10:24:21 -04:00
Michael Froman 0574b88a64 Bug 1766646 - Vendor libwebrtc from 940108b04f
Upstream commit: https://webrtc.googlesource.com/src/+/940108b04f507cd0ddadb2fdb306139f0d30e245
    Apply autoformat to the docs

    Bug: None
    Change-Id: Iea7823827d6f5a2d400ccbb208f91829165ee518
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/220163
    Reviewed-by: Harald Alvestrand <hta@webrtc.org>
    Reviewed-by: Artem Titov <titovartem@webrtc.org>
    Commit-Queue: Artem Titov <titovartem@webrtc.org>
    Cr-Commit-Position: refs/heads/master@{#34133}
2022-08-30 10:24:20 -04:00
Michael Froman b79b951115 Bug 1766646 - Vendor libwebrtc from 8f8bf252e6
Upstream commit: https://webrtc.googlesource.com/src/+/8f8bf252e69a8970fa97e111e618fcd37f089cdb
    Remove usage of InjectPacket and transport_ in rtp_sender_unittest

    Thus removing dependency on RtpSenderEgress, allowing simplification of
    the test fixture in a follow-up.

    Bug: webrtc:11340
    Change-Id: I9772bab18d1f4a04e0deccc9125d4b1c16c30d7a
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/219627
    Commit-Queue: Erik Språng <sprang@webrtc.org>
    Reviewed-by: Danil Chapovalov <danilchap@webrtc.org>
    Cr-Commit-Position: refs/heads/master@{#34132}
2022-08-30 10:24:19 -04:00
Michael Froman 9856c92eb6 Bug 1766646 - Vendor libwebrtc from b412efdb78
Upstream commit: https://webrtc.googlesource.com/src/+/b412efdb780c86e6530493afa403783d14985347
    payload type mapping: restrict lower range to <= 63

    for consistency with the definition in IsRtcpPacket which takes
    into account a collision of H261 feedback for payload types 64 + 65:
      https://datatracker.ietf.org/doc/html/rfc5761#section-4

    BUG=webrtc:12194

    Change-Id: I2ebb0456ae2aff1b1735f26221c7c4ae79698ac9
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/220021
    Reviewed-by: Harald Alvestrand <hta@webrtc.org>
    Commit-Queue: Harald Alvestrand <hta@webrtc.org>
    Cr-Commit-Position: refs/heads/master@{#34131}
2022-08-30 10:24:19 -04:00
Michael Froman 7a061147a2 Bug 1766646 - Vendor libwebrtc from a9af50f151
Upstream commit: https://webrtc.googlesource.com/src/+/a9af50f151699282a394bf3be019c67cdf4adb69
    Introduce CreateDataChannelOrError

    Deprecate CreateDataChannel, and make it a simple wrapper function.

    Bug: webrtc:12796
    Change-Id: I053d75a264596ba87ca734a29df9241de93a80c3
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/219784
    Reviewed-by: Xavier Lepaul‎ <xalep@webrtc.org>
    Reviewed-by: Henrik Boström <hbos@webrtc.org>
    Commit-Queue: Harald Alvestrand <hta@webrtc.org>
    Cr-Commit-Position: refs/heads/master@{#34130}
2022-08-30 10:24:18 -04:00
Michael Froman 99c71aaafa Bug 1766646 - Vendor libwebrtc from 0d0ed76ac1
Upstream commit: https://webrtc.googlesource.com/src/+/0d0ed76ac133cd9006c8a0266306f0c687f40024
    Fix RTP header extension encryption

    Reland of commit a743303211b89bbcf4cea438ee797bbbc7b59e80

    Previously, RTP header extensions with encryption had been filtered
    if the encryption had been activated (not the other way around) which
    was likely an unintended logic inversion.

    In addition, it ensures that encrypted RTP header extensions are only
    negotiated if RTP header extension encryption is turned on. Formerly,
    which extensions had been negotiated depended on the order in which
    they were inserted, regardless of whether or not header encryption was
    actually enabled, leading to no extensions being sent on the wire.

    Further changes:

    - If RTP header encryption enabled, prefer encrypted extensions over
      non-encrypted extensions
    - Add most extensions to list of extensions supported for encryption
    - Discard encrypted extensions in a session description in case encryption
      is not supported for that extension
    - Mark FindHeaderExtensionByUri without filter argument as deprecated

    Bug: webrtc:11713
    Change-Id: I52a5ade1b94bc01d1c2a35cb56023684fcaf9982
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/219081
    Reviewed-by: Harald Alvestrand <hta@webrtc.org>
    Commit-Queue: Harald Alvestrand <hta@webrtc.org>
    Cr-Commit-Position: refs/heads/master@{#34129}
2022-08-30 10:24:17 -04:00
Michael Froman 445a8aac73 Bug 1766646 - Vendor libwebrtc from 4a54be7118
Upstream commit: https://webrtc.googlesource.com/src/+/4a54be71188f63a1648004b8002cd9658cd67954
    doc: update dtls_transport.md to use new link style

    BUG=webrtc:12551

    No-Try: true
    Change-Id: I20a513653aad68c568fea655790c01b53d4da2fe
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/218846
    Reviewed-by: Harald Alvestrand <hta@webrtc.org>
    Commit-Queue: Harald Alvestrand <hta@webrtc.org>
    Cr-Commit-Position: refs/heads/master@{#34128}
2022-08-30 10:24:16 -04:00
Michael Froman 92de5db7a4 Bug 1766646 - Vendor libwebrtc from fec79b74a8
Upstream commit: https://webrtc.googlesource.com/src/+/fec79b74a80dcc89e4963454e165e1d44b524f92
    add srtp docs

    BUG=None

    No-Try: true
    Change-Id: I2677c1e932e2a4e0833f7c3185689ab030c8fa61
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/218608
    Reviewed-by: Harald Alvestrand <hta@webrtc.org>
    Reviewed-by: Artem Titov <titovartem@webrtc.org>
    Commit-Queue: Harald Alvestrand <hta@webrtc.org>
    Cr-Commit-Position: refs/heads/master@{#34127}
2022-08-30 10:24:15 -04:00
Michael Froman 43e7a47127 Bug 1766646 - Vendor libwebrtc from 770acabd5d
Upstream commit: https://webrtc.googlesource.com/src/+/770acabd5d882eba5dbc7042fa5561d1631d2fe9
    Refactor mid/rid rtp tests to avoid using egress/transport logic.

    This CL makes a number of test use the paced sender callback to verify
    the output of RTPSender, instead of re-parsed data from RtpSenderEgres.

    Bug: webrtc:11340
    Change-Id: I13ccf5a5db4b6df128cf2fa9e8dad443fcd15cdd
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/220162
    Commit-Queue: Erik Språng <sprang@webrtc.org>
    Reviewed-by: Danil Chapovalov <danilchap@webrtc.org>
    Cr-Commit-Position: refs/heads/master@{#34126}
2022-08-30 10:24:15 -04:00
Michael Froman e41c638d29 Bug 1766646 - Vendor libwebrtc from a39d96666b
Upstream commit: https://webrtc.googlesource.com/src/+/a39d96666bac9305c13b25241dd74f7d213f81ec
    Remove unused property isLocked from RTCAudioSession

    This property doesn't have a getter and it is not required anymore.

    Bug: None
    Change-Id: Ie3f057cd6928d7fdef4e7971476fb1257900ccc6
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/215261
    Reviewed-by: Kári Helgason <kthelgason@webrtc.org>
    Commit-Queue: Kári Helgason <kthelgason@webrtc.org>
    Cr-Commit-Position: refs/heads/master@{#34125}
2022-08-30 10:24:14 -04:00
Michael Froman 3f088bb802 Bug 1766646 - Vendor libwebrtc from 8d9d575920
This commit was previously cherry-picked.

Upstream commit: https://webrtc.googlesource.com/src/+/8d9d575920a906bbf2a7b4c5b10f0ccf046f1cb8
    PipeWire capturer: fix stream width in PW 0.2 code

    Set we don't use full stream width. This follows same code as in PW 0.3
    case, it was just accidentally omitted.

    Bug: chromium:682122
    Change-Id: Ifb9200a14387ba9b9da3246c9c4e30306393c4e6
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/214700
    Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
    Reviewed-by: Erik Språng <sprang@webrtc.org>
    Reviewed-by: Tommi <tommi@webrtc.org>
    Reviewed-by: Wez <wez@google.com>
    Cr-Commit-Position: refs/heads/master@{#34124}
2022-08-30 10:24:13 -04:00
Michael Froman a4a5046795 Bug 1766646 - Vendor libwebrtc from 27df00746a
Upstream commit: https://webrtc.googlesource.com/src/+/27df00746aa361ebefb24b89a2c15e9608ea817f
    Update WebRTC code version (2021-05-26T04:05:14).

    TBR=webrtc-version-updater@webrtc-ci.iam.gserviceaccount.com,mbonadei@webrtc.org

    Bug: None
    Change-Id: I00abae1c2c0ec8460502c273ff9cc81e2966264c
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/220223
    Reviewed-by: webrtc-version-updater@webrtc-ci.iam.gserviceaccount.com <webrtc-version-updater@webrtc-ci.iam.gserviceaccount.com>
    Commit-Queue: webrtc-version-updater@webrtc-ci.iam.gserviceaccount.com <webrtc-version-updater@webrtc-ci.iam.gserviceaccount.com>
    Cr-Commit-Position: refs/heads/master@{#34123}
2022-08-30 10:24:12 -04:00
Michael Froman 449635e761 Bug 1766646 - Vendor libwebrtc from 048bf187d1
Upstream commit: https://webrtc.googlesource.com/src/+/048bf187d1477f73fa7c53d1531bb8967cb98771
    Roll chromium_revision 8a4c5eb899..19159a8788 (886374:886529)

    Change log: 8a4c5eb899..19159a8788
    Full diff: 8a4c5eb899..19159a8788

    Changed dependencies
    * src/base: 4185c91fda..eb591f0d4b
    * src/buildtools/third_party/libc++abi/trunk: 8b015a7982..da3e6cbc62
    * src/ios: 8f7a2384ad..6d4134ba11
    * src/testing: 2788fd0fd6..04abc75222
    * src/third_party: e39f38e7f3..6dc8812614
    * src/third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/9c5e41e787..74a278f9bb
    * src/third_party/depot_tools: 7fc02e848a..6d45691f60
    * src/third_party/perfetto: 70fc3006ad..78af063a63
    * src/tools: 3db6fb0fb5..255ad6c868
    DEPS diff: 8a4c5eb899..19159a8788/DEPS

    No update to Clang.

    TBR=chromium-webrtc-autoroll@webrtc-ci.iam.gserviceaccount.com,
    BUG=None

    Change-Id: I2ace2ae2ba1670b884b3da3190830aaf20037cfd
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/220240
    Reviewed-by: Autoroller <chromium-webrtc-autoroll@webrtc-ci.iam.gserviceaccount.com>
    Commit-Queue: Autoroller <chromium-webrtc-autoroll@webrtc-ci.iam.gserviceaccount.com>
    Cr-Commit-Position: refs/heads/master@{#34122}
2022-08-30 10:24:12 -04:00
Michael Froman b7b904a221 Bug 1766646 - Vendor libwebrtc from 0a52ede821
Upstream commit: https://webrtc.googlesource.com/src/+/0a52ede821ba12ee6fff6260d69cddcca5b86a4e
    Support for map of string keys to uint64_t / double values in RTCStats

    Bug: webrtc:10685
    Change-Id: I047d784bd20c3fca8b96391653f90fd8803140d8
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/219141
    Reviewed-by: Henrik Boström <hbos@webrtc.org>
    Reviewed-by: Kári Helgason <kthelgason@webrtc.org>
    Reviewed-by: Xavier Lepaul‎ <xalep@webrtc.org>
    Commit-Queue: Henrik Boström <hbos@webrtc.org>
    Cr-Commit-Position: refs/heads/master@{#34121}
2022-08-30 10:24:11 -04:00
Michael Froman e374534405 Bug 1766646 - Vendor libwebrtc from cbeff55a6a
Upstream commit: https://webrtc.googlesource.com/src/+/cbeff55a6acc5f0d3eade9658c28d2b741db932a
    Roll chromium_revision 1b27d646a6..8a4c5eb899 (886225:886374)

    Change log: 1b27d646a6..8a4c5eb899
    Full diff: 1b27d646a6..8a4c5eb899

    Changed dependencies
    * src/base: d26844a7c8..4185c91fda
    * src/build: de91a1ebf8..4f39b7cf99
    * src/ios: 25276fd892..8f7a2384ad
    * src/testing: 0519f53328..2788fd0fd6
    * src/third_party: 0746065687..e39f38e7f3
    * src/third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/53102de187..9c5e41e787
    * src/third_party/freetype/src: 5f485339be..0d1c306e51
    * src/third_party/perfetto: e2a0b3126e..70fc3006ad
    * src/tools: 7a2715d3bd..3db6fb0fb5
    * src/tools/luci-go: git_revision:03ef3f6285cef3766c18a5c7b8cc8c0069eaa2ed..git_revision:03ab00ce4982877f2d4a0b0db48cd355e5ca65ab
    * src/tools/luci-go: git_revision:03ef3f6285cef3766c18a5c7b8cc8c0069eaa2ed..git_revision:03ab00ce4982877f2d4a0b0db48cd355e5ca65ab
    * src/tools/luci-go: git_revision:03ef3f6285cef3766c18a5c7b8cc8c0069eaa2ed..git_revision:03ab00ce4982877f2d4a0b0db48cd355e5ca65ab
    DEPS diff: 1b27d646a6..8a4c5eb899/DEPS

    No update to Clang.

    TBR=chromium-webrtc-autoroll@webrtc-ci.iam.gserviceaccount.com,
    BUG=None

    Change-Id: Ie99e5648bf628b6b932b665abc63487a3739172d
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/220200
    Reviewed-by: Autoroller <chromium-webrtc-autoroll@webrtc-ci.iam.gserviceaccount.com>
    Commit-Queue: Autoroller <chromium-webrtc-autoroll@webrtc-ci.iam.gserviceaccount.com>
    Cr-Commit-Position: refs/heads/master@{#34120}
2022-08-30 10:24:10 -04:00
Michael Froman 3af1087552 Bug 1766646 - Vendor libwebrtc from 157371643d
Upstream commit: https://webrtc.googlesource.com/src/+/157371643d4ce27edc61ebfde4f79c5abca563c1
    Enforce thread invoke policy for invokes to itself

    Bug: None
    Change-Id: Ic4a80973bd0901f69c66ecabd3c135566f4ef247
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/219629
    Commit-Queue: Tommi <tommi@webrtc.org>
    Reviewed-by: Tommi <tommi@webrtc.org>
    Cr-Commit-Position: refs/heads/master@{#34119}
2022-08-30 10:24:09 -04:00
Michael Froman 18d1058763 Bug 1766646 - Vendor libwebrtc from 4fbc3fc59e
Upstream commit: https://webrtc.googlesource.com/src/+/4fbc3fc59e75615a17722cb93ae0d18caff5ee2e
    Move SendPacketUpdates* tests to rtp_sender_egress_unittest.

    These should be the last of the testis from rtp_sender_unittest.cc that
    should be moved and refactored to just test RtpSenderEgress.

    Bug: webrtc:11340
    Change-Id: Id09d7bbade608dd7194dcd8843d4f2887842a372
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/220140
    Commit-Queue: Erik Språng <sprang@webrtc.org>
    Reviewed-by: Danil Chapovalov <danilchap@webrtc.org>
    Cr-Commit-Position: refs/heads/master@{#34118}
2022-08-30 10:24:09 -04:00
Michael Froman d54b289ba9 Bug 1766646 - Vendor libwebrtc from fade919bb1
Upstream commit: https://webrtc.googlesource.com/src/+/fade919bb16c2b11f20aeacc24537ab3f63c98ac
    Partial revert: "Use unordered map in RtpDemuxer"

    While the savings were positive in Media Servers, there was a regression
    in some scenarios (crbug.com/webrtc/12718) so let's revert it.

    This partially reverts commit 553fd3220b7b1a476af6759b27b3a274677d21e3.

    Bug: webrtc:12718
    Change-Id: If9252fd996ffc5efd7609eb4c7c0e7f001893676
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/220103
    Reviewed-by: Sebastian Jansson <srte@webrtc.org>
    Commit-Queue: Victor Boivie <boivie@webrtc.org>
    Cr-Commit-Position: refs/heads/master@{#34117}
2022-08-30 10:24:08 -04:00
Michael Froman 5983c2a446 Bug 1766646 - Vendor libwebrtc from 238da9a57e
Upstream commit: https://webrtc.googlesource.com/src/+/238da9a57eb9eb45c8ee356d4f334fe797fcaa42
    Remove obsolete SendPacketMatches* tests from rtp_sender_egress_unittest.

    These tests were likely made back when PacketRouter was iterating over
    the RTP modules to find the correct to send on. Now that this is just
    a DCHECK, it's already implicitly covered by other tests that actually
    test the respective packet type functionality. Let's thus just remove
    these old tests.

    Bug: webrtc:11340
    Change-Id: I244ca7e365378f4e48a601464b5df0e1d07732be
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/219621
    Reviewed-by: Danil Chapovalov <danilchap@webrtc.org>
    Commit-Queue: Erik Språng <sprang@webrtc.org>
    Cr-Commit-Position: refs/heads/master@{#34116}
2022-08-30 10:24:07 -04:00
Michael Froman b3dd40c1f6 Bug 1766646 - Vendor libwebrtc from 552169c7db
Upstream commit: https://webrtc.googlesource.com/src/+/552169c7db9930b6688ab427dd5356978865f3b4
    Refactor RtpPacketCounter tests and move to rtp_sender_egress_unittest.

    Bug: webrtc:11340
    Change-Id: Ifdcb3d99113502fb5bebf1fc3ea5253a141d313b
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/219790
    Commit-Queue: Erik Språng <sprang@webrtc.org>
    Reviewed-by: Danil Chapovalov <danilchap@webrtc.org>
    Cr-Commit-Position: refs/heads/master@{#34115}
2022-08-30 10:24:06 -04:00
Michael Froman abad02e04a Bug 1766646 - Vendor libwebrtc from af0dff0c7d
Upstream commit: https://webrtc.googlesource.com/src/+/af0dff0c7daa6964cfd95125428f2ce6f3c14668
    dcsctp: start SCTP_DUMP on a new line

    for consistency with usrsctp_dumppacket which prefixes its output with a newline.
    This makes the packets easier to grep and process with text2pcap.

    BUG=webrtc:12614

    Change-Id: I67bc2e0026250b21b030daf967ebc697640f2d7e
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/220102
    Reviewed-by: Victor Boivie <boivie@webrtc.org>
    Commit-Queue: Philipp Hancke <phancke@nvidia.com>
    Cr-Commit-Position: refs/heads/master@{#34114}
2022-08-30 10:24:05 -04:00
Michael Froman e0618d31fe Bug 1766646 - Vendor libwebrtc from 2ab4764b9e
Upstream commit: https://webrtc.googlesource.com/src/+/2ab4764b9e305b7427b97e1c4a30d73975fc19e7
    Clean-up for calculation of upper bandwidth limit.

    Follow-up for https://webrtc-review.googlesource.com/c/src/+/219696.

    Bug: webrtc:12306
    Change-Id: I94861f87e83216d8e92ff09e0f2ce39fd672d9f8
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/220100
    Reviewed-by: Åsa Persson <asapersson@webrtc.org>
    Commit-Queue: Christoffer Rodbro <crodbro@webrtc.org>
    Cr-Commit-Position: refs/heads/master@{#34113}
2022-08-30 10:24:05 -04:00
Michael Froman e265bcf4ea Bug 1766646 - Vendor libwebrtc from 81e13d3d6e
Upstream commit: https://webrtc.googlesource.com/src/+/81e13d3d6e7232d354e648bc4ef31d8da6bd6d9f
    Roll chromium_revision 2826799ea1..1b27d646a6 (885837:886225)

    Change log: 2826799ea1..1b27d646a6
    Full diff: 2826799ea1..1b27d646a6

    Changed dependencies
    * src/base: 0ee65b122a..d26844a7c8
    * src/build: 1cf931db34..de91a1ebf8
    * src/ios: 5ead6b825c..25276fd892
    * src/testing: ada074d45e..0519f53328
    * src/third_party: 2f7883d4d1..0746065687
    * src/third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/cde766ee8a..53102de187
    * src/third_party/depot_tools: 6097a92db0..7fc02e848a
    * src/third_party/freetype/src: 2468e59af1..5f485339be
    * src/third_party/perfetto: 84f640ce02..e2a0b3126e
    * src/tools: 08f3a48d95..7a2715d3bd
    * src/tools/luci-go: git_revision:ff0c02e960b17be5a8d02c13afc28373f236a860..git_revision:03ef3f6285cef3766c18a5c7b8cc8c0069eaa2ed
    * src/tools/luci-go: git_revision:ff0c02e960b17be5a8d02c13afc28373f236a860..git_revision:03ef3f6285cef3766c18a5c7b8cc8c0069eaa2ed
    * src/tools/luci-go: git_revision:ff0c02e960b17be5a8d02c13afc28373f236a860..git_revision:03ef3f6285cef3766c18a5c7b8cc8c0069eaa2ed
    DEPS diff: 2826799ea1..1b27d646a6/DEPS

    No update to Clang.

    TBR=chromium-webrtc-autoroll@webrtc-ci.iam.gserviceaccount.com,
    BUG=None

    Change-Id: Ic8dadfaac07170c30e8346d7c69ea07d16e8addf
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/220120
    Reviewed-by: Autoroller <chromium-webrtc-autoroll@webrtc-ci.iam.gserviceaccount.com>
    Commit-Queue: Autoroller <chromium-webrtc-autoroll@webrtc-ci.iam.gserviceaccount.com>
    Cr-Commit-Position: refs/heads/master@{#34112}
2022-08-30 10:24:04 -04:00
Michael Froman 303784756e Bug 1766646 - Vendor libwebrtc from 36005afeb4
Upstream commit: https://webrtc.googlesource.com/src/+/36005afeb470bc1a54e6fd6af5ce7ca4341941df
    Refactor and improve RtpSender packet history test.

    This CL refactors RtpSenderTest.SendPacketHandlesRetransmissionHistory,
    moves some testing to rtp_ender_egress_unittest and adds test coverage
    for a few cases.

    Bug: webrtc:11340
    Change-Id: Ic225d2af43c3926f69fe3ea45f41b18c29b8b4fd
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/219796
    Commit-Queue: Erik Språng <sprang@webrtc.org>
    Reviewed-by: Danil Chapovalov <danilchap@webrtc.org>
    Cr-Commit-Position: refs/heads/master@{#34111}
2022-08-30 10:24:03 -04:00
Michael Froman 684273422a Bug 1766646 - Vendor libwebrtc from 02c0295a98
Upstream commit: https://webrtc.googlesource.com/src/+/02c0295a98130d6fb39ec6676bd9633091ea5b1b
    Remove obsolete DCHECK in RtpPacket::CopyHeaderFrom

    This check was important when header bytes were copied from source
    packet to destination, but current implementation (new line 123) slices
    the source packet, making capacity of the destination packet irrelevant.

    Bug: b/189015462
    Change-Id: I7e649cb7dfc6ba0fbe989c943e6515ab0da05fef
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/219695
    Reviewed-by: Erik Språng <sprang@webrtc.org>
    Commit-Queue: Danil Chapovalov <danilchap@webrtc.org>
    Cr-Commit-Position: refs/heads/master@{#34110}
2022-08-30 10:24:02 -04:00
Michael Froman db903dca03 Bug 1766646 - Vendor libwebrtc from 6396b48b18
Upstream commit: https://webrtc.googlesource.com/src/+/6396b48b18597beb5108347421efab23c5a7bbea
    Avoid modifying BWE internal state on reception of REMB feedback.

    Instead, cap the final bandwidth estimate by the last received cap. This allows fast rampup after a REMB cap is lifted.

    Bug: webrtc:12306
    Change-Id: Ia99707134ce145275460524b3e46923876fdf62f
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/219696
    Reviewed-by: Åsa Persson <asapersson@webrtc.org>
    Commit-Queue: Christoffer Rodbro <crodbro@webrtc.org>
    Cr-Commit-Position: refs/heads/master@{#34109}
2022-08-30 10:24:01 -04:00
Michael Froman 46f15a56c0 Bug 1766646 - Vendor libwebrtc from c09c58134a
Upstream commit: https://webrtc.googlesource.com/src/+/c09c58134a46038c0dc37b4252a60a2756beb9dc
    dcsctp: Limit the size of generated SACK chunks

    Today, there is no actual limit on how large a SACK chunk can be. And
    having limits is good to be able to stay within the MTU.

    This commit adds a limit to the number of reported duplicate TSNs as
    well as the number of reported gap-ack-blocks in a SACK chunk. These
    limits are never expected to be reached in a real-life situation.

    Bug: webrtc:12614
    Change-Id: Ib2c143714a214cd3d961e8a52dac26a04b909b80
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/219464
    Reviewed-by: Harald Alvestrand <hta@webrtc.org>
    Commit-Queue: Victor Boivie <boivie@webrtc.org>
    Cr-Commit-Position: refs/heads/master@{#34108}
2022-08-30 10:24:01 -04:00
Michael Froman 9c802d16c6 Bug 1766646 - Vendor libwebrtc from e4adedc0cd
Upstream commit: https://webrtc.googlesource.com/src/+/e4adedc0cd751c0fc543dfa41e1f6a637bf689cf
    Update WebRTC code version (2021-05-25T04:03:57).

    TBR=webrtc-version-updater@webrtc-ci.iam.gserviceaccount.com,mbonadei@webrtc.org

    Bug: None
    Change-Id: Iad4f59e0ddb603d4f29206cd5b6378a90bf5a51c
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/220061
    Reviewed-by: webrtc-version-updater@webrtc-ci.iam.gserviceaccount.com <webrtc-version-updater@webrtc-ci.iam.gserviceaccount.com>
    Commit-Queue: webrtc-version-updater@webrtc-ci.iam.gserviceaccount.com <webrtc-version-updater@webrtc-ci.iam.gserviceaccount.com>
    Cr-Commit-Position: refs/heads/master@{#34107}
2022-08-30 10:24:00 -04:00
Michael Froman 8402df83ad Bug 1766646 - Vendor libwebrtc from 41a111d5b9
Upstream commit: https://webrtc.googlesource.com/src/+/41a111d5b944d48fcb1fbdcbf08622624b5750f7
    Switch to av_packet_alloc()

    ffmpeg is going to be hiding the implementation of AVPacket, so we can't
    allocate them on the stack anymore. av_init_packet is marked deprecated
    on TOT ffmpeg, so remove its use everywhere in favor of av_packet_alloc
    and av_packet_free.

    Bug: chromium:1211508
    Change-Id: I154311071123110dd749c71dec1ec2a0452b3908
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/217780
    Commit-Queue: Ted Meyer <tmathmeyer@google.com>
    Reviewed-by: Sergey Silkin <ssilkin@webrtc.org>
    Cr-Commit-Position: refs/heads/master@{#34106}
2022-08-30 10:23:59 -04:00
Michael Froman 9cff45edf5 Bug 1766646 - Vendor libwebrtc from 0f506780aa
Essentially a no-op - we made these changes in Bug 1376873.

Upstream commit: https://webrtc.googlesource.com/src/+/0f506780aa844e8fc3db5aaf29db73f86dbb648b
    Remove usage of TOOLKIT_GTK define.

    This is not defined anywhere, including chromium.

    Bug: None
    Change-Id: If5e89880570a80dd5720e48ebaefb0eb2c37fab3
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/215360
    Reviewed-by: Jamie Walch <jamiewalch@chromium.org>
    Commit-Queue: Jamie Walch <jamiewalch@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#34105}
2022-08-30 10:23:58 -04:00
Michael Froman 26a6f66b76 Bug 1766646 - Vendor libwebrtc from 816134a8aa
Upstream commit: https://webrtc.googlesource.com/src/+/816134a8aa878f0664689016f2118881274c62a4
    Reland "Fix race between enabled() and set_enabled() in VideoTrack."

    This reverts commit 096ad02c02b4bc6c046282b8793ef84d041dd0d8.

    Reason for revert: Including a fix for the test issue.

    Original change's description:
    > Revert "Fix race between enabled() and set_enabled() in VideoTrack."
    >
    > This reverts commit 5ffefe9d2d743c66f8a8bcbc5ad9662a3138840a.
    >
    > Reason for revert: Breaks Chromium Android browser tests on fyi bots.
    >
    > Original change's description:
    > > Fix race between enabled() and set_enabled() in VideoTrack.
    > >
    > > Along the way I introduced VideoSourceBaseGuarded, which is equivalent
    > > to VideoSourceBase except that it applies thread checks. I found that
    > > it's easy to use VideoSourceBase incorrectly and in fact there appear
    > > to be tests that do this.
    > >
    > > I made the source object const in VideoTrack, as it already was in
    > > AudioTrack, and that allowed for making the GetSource() accessors
    > > bypass the proxy thread hop and give the caller direct access.
    > >
    > > Bug: webrtc:12773, b/188139639, webrtc:12780
    > > Change-Id: I022175c4239a1306ef54059c131d81411d5124fe
    > > Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/219160
    > > Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
    > > Reviewed-by: Andrey Logvin <landrey@webrtc.org>
    > > Commit-Queue: Tommi <tommi@webrtc.org>
    > > Cr-Commit-Position: refs/heads/master@{#34096}
    >
    > TBR=mbonadei@webrtc.org,tommi@webrtc.org,landrey@webrtc.org,webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com
    >
    > Change-Id: I16323d459c76eb6a87cc602a0048f6ee01c81626
    > No-Presubmit: true
    > No-Tree-Checks: true
    > No-Try: true
    > Bug: webrtc:12773
    > Bug: b/188139639
    > Bug: webrtc:12780
    > Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/219637
    > Reviewed-by: Evan Shrubsole <eshr@google.com>
    > Commit-Queue: Evan Shrubsole <eshr@google.com>
    > Cr-Commit-Position: refs/heads/master@{#34101}

    # Not skipping CQ checks because this is a reland.

    Bug: webrtc:12773
    Bug: b/188139639
    Bug: webrtc:12780
    Change-Id: Ib35fe15a6c43de8f286d60aff02b19df1ab76925
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/219639
    Reviewed-by: Tommi <tommi@webrtc.org>
    Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
    Reviewed-by: Andrey Logvin <landrey@webrtc.org>
    Reviewed-by: Evan Shrubsole <eshr@google.com>
    Commit-Queue: Tommi <tommi@webrtc.org>
    Cr-Commit-Position: refs/heads/master@{#34104}
2022-08-30 10:23:57 -04:00
Michael Froman 074bbd7aff Bug 1766646 - Vendor libwebrtc from 2f3c5e6752
Upstream commit: https://webrtc.googlesource.com/src/+/2f3c5e6752d355869be6489c07e0154109d4aedb
    Skip WindowCapturerTest.Capture on macOS.

    Bug: webrtc:12801
    Change-Id: I543313f3c304b694cc50bff5a6344f1c6d944c8d
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/219635
    Reviewed-by: Artem Titov <titovartem@webrtc.org>
    Reviewed-by: Joe Downing <joedow@chromium.org>
    Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
    Cr-Commit-Position: refs/heads/master@{#34103}
2022-08-30 10:23:56 -04:00