webrtc: ensure tracks are muted initially and unmute when a packet arrives [chromium/src : main]

0 views
Skip to first unread message

Philipp Hancke (Gerrit)

unread,
Jun 10, 2025, 2:34:30 PM6/10/25
to Guido Urdaneta, AyeAye, chromium...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, feature-me...@chromium.org, tommyw+w...@chromium.org, video-networking...@google.com
Attention needed from Guido Urdaneta

Philipp Hancke added 1 comment

Patchset-level comments
File-level comment, Patchset 13 (Latest):
Philipp Hancke . resolved

ready for review. The threading bits are... confusing but it seems to work?

Open in Gerrit

Related details

Attention is currently required from:
  • Guido Urdaneta
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Review
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I91c45d841f519143f0efe3b32be5da88078aeeb7
Gerrit-Change-Number: 6625939
Gerrit-PatchSet: 13
Gerrit-Owner: Philipp Hancke <philipp...@googlemail.com>
Gerrit-Reviewer: Guido Urdaneta <gui...@chromium.org>
Gerrit-Attention: Guido Urdaneta <gui...@chromium.org>
Gerrit-Comment-Date: Tue, 10 Jun 2025 18:34:21 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Guido Urdaneta (Gerrit)

unread,
Jun 11, 2025, 6:28:19 AM6/11/25
to Philipp Hancke, Chromium LUCI CQ, AyeAye, chromium...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, feature-me...@chromium.org, tommyw+w...@chromium.org, video-networking...@google.com
Attention needed from Philipp Hancke

Guido Urdaneta added 3 comments

File third_party/blink/renderer/modules/peerconnection/rtc_rtp_receiver_impl.cc
Line 174, Patchset 11: RTC_DCHECK(webrtc_receiver_);
Guido Urdaneta . unresolved

use CHECK, put behind flag if necessary

Line 175, Patchset 11: webrtc_receiver_->SetObserver(this);
Guido Urdaneta . unresolved

Put this behind the flag

Line 251, Patchset 11: if (webrtc_receiver_) {
Guido Urdaneta . unresolved

Put this behind the flag

Open in Gerrit

Related details

Attention is currently required from:
  • Philipp Hancke
Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I91c45d841f519143f0efe3b32be5da88078aeeb7
    Gerrit-Change-Number: 6625939
    Gerrit-PatchSet: 13
    Gerrit-Owner: Philipp Hancke <philipp...@googlemail.com>
    Gerrit-Reviewer: Guido Urdaneta <gui...@chromium.org>
    Gerrit-Reviewer: Philipp Hancke <philipp...@googlemail.com>
    Gerrit-Attention: Philipp Hancke <philipp...@googlemail.com>
    Gerrit-Comment-Date: Wed, 11 Jun 2025 10:28:07 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Philipp Hancke (Gerrit)

    unread,
    Jun 12, 2025, 9:13:32 AM6/12/25
    to Chromium LUCI CQ, Guido Urdaneta, AyeAye, chromium...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, feature-me...@chromium.org, tommyw+w...@chromium.org, video-networking...@google.com
    Attention needed from Guido Urdaneta

    Philipp Hancke added 3 comments

    File third_party/blink/renderer/modules/peerconnection/rtc_rtp_receiver_impl.cc
    Line 174, Patchset 11: RTC_DCHECK(webrtc_receiver_);
    Guido Urdaneta . resolved

    use CHECK, put behind flag if necessary

    Philipp Hancke

    why can I even use the webrtc DCHECK... (I assume it spills over somewhere?)

    Line 175, Patchset 11: webrtc_receiver_->SetObserver(this);
    Guido Urdaneta . resolved

    Put this behind the flag

    Philipp Hancke

    not necessary since the track will be unmuted by peerconnection in the old behavior and then swallow the duplicate event but... better safe than sorry!

    Line 251, Patchset 11: if (webrtc_receiver_) {
    Guido Urdaneta . resolved

    Put this behind the flag

    Philipp Hancke

    nulling it should be safe but...

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Guido Urdaneta
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Review
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I91c45d841f519143f0efe3b32be5da88078aeeb7
    Gerrit-Change-Number: 6625939
    Gerrit-PatchSet: 15
    Gerrit-Owner: Philipp Hancke <philipp...@googlemail.com>
    Gerrit-Reviewer: Guido Urdaneta <gui...@chromium.org>
    Gerrit-Reviewer: Philipp Hancke <philipp...@googlemail.com>
    Gerrit-Attention: Guido Urdaneta <gui...@chromium.org>
    Gerrit-Comment-Date: Thu, 12 Jun 2025 13:13:24 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Guido Urdaneta <gui...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Guido Urdaneta (Gerrit)

    unread,
    Jun 12, 2025, 9:40:14 AM6/12/25
    to Philipp Hancke, Chromium LUCI CQ, AyeAye, chromium...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, feature-me...@chromium.org, tommyw+w...@chromium.org, video-networking...@google.com
    Attention needed from Philipp Hancke

    Guido Urdaneta added 2 comments

    File third_party/blink/renderer/modules/peerconnection/rtc_rtp_receiver_impl.cc
    Line 235, Patchset 15 (Latest): webrtc_receiver_->SetObserver(nullptr);
    Guido Urdaneta . unresolved

    Is it OK to call this twice on two different threads?
    If you call `OnFirstPacketReceived` outside the main thread it will be called first on non-main, then you post to call again on main and call it again.

    File third_party/blink/web_tests/TestExpectations
    Line 3333, Patchset 15 (Latest):crbug.com/369652659 [ Mac15 ] external/wpt/webrtc/RTCPeerConnection-getStats.https.html [ Skip Timeout ]
    Guido Urdaneta . unresolved

    Why is this one timing out? we have a lot of things timing out on Mac (apparently mdns issues in the bots in some cases), is it the same here?

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Philipp Hancke
    Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement is not satisfiedCode-Review
      • requirement is not satisfiedNo-Unresolved-Comments
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I91c45d841f519143f0efe3b32be5da88078aeeb7
      Gerrit-Change-Number: 6625939
      Gerrit-PatchSet: 15
      Gerrit-Owner: Philipp Hancke <philipp...@googlemail.com>
      Gerrit-Reviewer: Guido Urdaneta <gui...@chromium.org>
      Gerrit-Reviewer: Philipp Hancke <philipp...@googlemail.com>
      Gerrit-Attention: Philipp Hancke <philipp...@googlemail.com>
      Gerrit-Comment-Date: Thu, 12 Jun 2025 13:40:00 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Philipp Hancke (Gerrit)

      unread,
      Jun 12, 2025, 10:45:58 AM6/12/25
      to Chromium LUCI CQ, Guido Urdaneta, AyeAye, chromium...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, feature-me...@chromium.org, tommyw+w...@chromium.org, video-networking...@google.com
      Attention needed from Guido Urdaneta

      Philipp Hancke added 2 comments

      File third_party/blink/renderer/modules/peerconnection/rtc_rtp_receiver_impl.cc
      Line 235, Patchset 15: webrtc_receiver_->SetObserver(nullptr);
      Guido Urdaneta . unresolved

      Is it OK to call this twice on two different threads?
      If you call `OnFirstPacketReceived` outside the main thread it will be called first on non-main, then you post to call again on main and call it again.

      Philipp Hancke

      This is just nulling the observer, calling it twice is ok (and happens unconditionally in the destructor).

      The call originates from WebRTCs network thread:
      https://source.chromium.org/chromium/chromium/src/+/main:third_party/webrtc/pc/rtp_transceiver.cc;l=315?q=OnFirstPacketReceived%20webrtc
      Lets ask Tommi whether that is a good thing?

      File third_party/blink/web_tests/TestExpectations
      Line 3333, Patchset 15:crbug.com/369652659 [ Mac15 ] external/wpt/webrtc/RTCPeerConnection-getStats.https.html [ Skip Timeout ]
      Guido Urdaneta . resolved

      Why is this one timing out? we have a lot of things timing out on Mac (apparently mdns issues in the bots in some cases), is it the same here?

      Philipp Hancke

      yeah, you can see
      [0610/234438.539335:WARNING:third_party/webrtc/p2p/base/p2p_transport_channel.cc:1278] Failed to resolve ICE candidate hostname afd366c2-561b-4677-8693-d2c37f69c5bb.local with error -1
      [0610/234438.539387:WARNING:third_party/webrtc/p2p/base/p2p_transport_channel.cc:1278] Failed to resolve ICE candidate hostname afd366c2-561b-4677-8693-d2c37f69c5bb.local with error -1
      in the failure logs. There is an odd
      [0610/234435.393999:WARNING:third_party/webrtc/pc/peer_connection.cc:2682] 0 is not ready to use the remote candidate because the local or remote description is not set.
      though...

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Guido Urdaneta
      Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement is not satisfiedCode-Review
      • requirement is not satisfiedNo-Unresolved-Comments
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I91c45d841f519143f0efe3b32be5da88078aeeb7
      Gerrit-Change-Number: 6625939
      Gerrit-PatchSet: 16
      Gerrit-Owner: Philipp Hancke <philipp...@googlemail.com>
      Gerrit-Reviewer: Guido Urdaneta <gui...@chromium.org>
      Gerrit-Reviewer: Philipp Hancke <philipp...@googlemail.com>
      Gerrit-Attention: Guido Urdaneta <gui...@chromium.org>
      Gerrit-Comment-Date: Thu, 12 Jun 2025 14:45:50 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      Comment-In-Reply-To: Guido Urdaneta <gui...@chromium.org>
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Guido Urdaneta (Gerrit)

      unread,
      Jun 12, 2025, 10:50:43 AM6/12/25
      to Philipp Hancke, Chromium LUCI CQ, AyeAye, chromium...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, feature-me...@chromium.org, tommyw+w...@chromium.org, video-networking...@google.com
      Attention needed from Philipp Hancke

      Guido Urdaneta voted and added 2 comments

      Votes added by Guido Urdaneta

      Code-Review+1

      2 comments

      File third_party/blink/renderer/modules/peerconnection/rtc_rtp_receiver_impl.cc
      Line 235, Patchset 15: webrtc_receiver_->SetObserver(nullptr);
      Guido Urdaneta . unresolved

      Is it OK to call this twice on two different threads?
      If you call `OnFirstPacketReceived` outside the main thread it will be called first on non-main, then you post to call again on main and call it again.

      Philipp Hancke

      This is just nulling the observer, calling it twice is ok (and happens unconditionally in the destructor).

      The call originates from WebRTCs network thread:
      https://source.chromium.org/chromium/chromium/src/+/main:third_party/webrtc/pc/rtp_transceiver.cc;l=315?q=OnFirstPacketReceived%20webrtc
      Lets ask Tommi whether that is a good thing?

      Guido Urdaneta

      sgtm.
      Also mention in the comment that nulling twice is ok.

      File third_party/blink/web_tests/TestExpectations
      Line 3333, Patchset 15:crbug.com/369652659 [ Mac15 ] external/wpt/webrtc/RTCPeerConnection-getStats.https.html [ Skip Timeout ]
      Guido Urdaneta . resolved

      Why is this one timing out? we have a lot of things timing out on Mac (apparently mdns issues in the bots in some cases), is it the same here?

      Philipp Hancke

      yeah, you can see
      [0610/234438.539335:WARNING:third_party/webrtc/p2p/base/p2p_transport_channel.cc:1278] Failed to resolve ICE candidate hostname afd366c2-561b-4677-8693-d2c37f69c5bb.local with error -1
      [0610/234438.539387:WARNING:third_party/webrtc/p2p/base/p2p_transport_channel.cc:1278] Failed to resolve ICE candidate hostname afd366c2-561b-4677-8693-d2c37f69c5bb.local with error -1
      in the failure logs. There is an odd
      [0610/234435.393999:WARNING:third_party/webrtc/pc/peer_connection.cc:2682] 0 is not ready to use the remote candidate because the local or remote description is not set.
      though...

      Guido Urdaneta

      That's consistent with what I observe in other tests.

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Philipp Hancke
      Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement is not satisfiedCode-Review
      • requirement is not satisfiedNo-Unresolved-Comments
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I91c45d841f519143f0efe3b32be5da88078aeeb7
      Gerrit-Change-Number: 6625939
      Gerrit-PatchSet: 16
      Gerrit-Owner: Philipp Hancke <philipp...@googlemail.com>
      Gerrit-Reviewer: Guido Urdaneta <gui...@chromium.org>
      Gerrit-Reviewer: Philipp Hancke <philipp...@googlemail.com>
      Gerrit-Attention: Philipp Hancke <philipp...@googlemail.com>
      Gerrit-Comment-Date: Thu, 12 Jun 2025 14:50:27 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      Comment-In-Reply-To: Philipp Hancke <philipp...@googlemail.com>
      Comment-In-Reply-To: Guido Urdaneta <gui...@chromium.org>
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Philipp Hancke (Gerrit)

      unread,
      Jun 12, 2025, 12:16:36 PM6/12/25
      to Guido Urdaneta, Chromium LUCI CQ, AyeAye, chromium...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, feature-me...@chromium.org, tommyw+w...@chromium.org, video-networking...@google.com
      Attention needed from Guido Urdaneta

      Philipp Hancke added 1 comment

      File third_party/blink/renderer/modules/peerconnection/rtc_rtp_receiver_impl.cc
      Line 235, Patchset 15: webrtc_receiver_->SetObserver(nullptr);
      Guido Urdaneta . unresolved

      Is it OK to call this twice on two different threads?
      If you call `OnFirstPacketReceived` outside the main thread it will be called first on non-main, then you post to call again on main and call it again.

      Philipp Hancke

      This is just nulling the observer, calling it twice is ok (and happens unconditionally in the destructor).

      The call originates from WebRTCs network thread:
      https://source.chromium.org/chromium/chromium/src/+/main:third_party/webrtc/pc/rtp_transceiver.cc;l=315?q=OnFirstPacketReceived%20webrtc
      Lets ask Tommi whether that is a good thing?

      Guido Urdaneta

      sgtm.
      Also mention in the comment that nulling twice is ok.

      Philipp Hancke

      Done. It gets a bit more interesting though, this gets called from the network thread but https://source.chromium.org/chromium/chromium/src/+/main:third_party/webrtc/pc/channel_interface.h;l=79;drc=46e0a7fb3fd7c4951efd982ae2caf138e20d2a95;bpv=1;bpt=1
      says the callback gets deleted after being called so unregistering is not necessary -- won't hurt either.

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Guido Urdaneta
      Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement is not satisfiedCode-Review
      • requirement is not satisfiedNo-Unresolved-Comments
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I91c45d841f519143f0efe3b32be5da88078aeeb7
      Gerrit-Change-Number: 6625939
      Gerrit-PatchSet: 16
      Gerrit-Owner: Philipp Hancke <philipp...@googlemail.com>
      Gerrit-Reviewer: Guido Urdaneta <gui...@chromium.org>
      Gerrit-Reviewer: Philipp Hancke <philipp...@googlemail.com>
      Gerrit-Attention: Guido Urdaneta <gui...@chromium.org>
      Gerrit-Comment-Date: Thu, 12 Jun 2025 16:16:24 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      Comment-In-Reply-To: Guido Urdaneta <gui...@chromium.org>
      Comment-In-Reply-To: Philipp Hancke <philipp...@googlemail.com>
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Tomas Gunnarsson (Gerrit)

      unread,
      Jun 12, 2025, 2:09:57 PM6/12/25
      to Philipp Hancke, Guido Urdaneta, Chromium LUCI CQ, AyeAye, chromium...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, feature-me...@chromium.org, tommyw+w...@chromium.org, video-networking...@google.com
      Attention needed from Guido Urdaneta and Philipp Hancke

      Tomas Gunnarsson added 1 comment

      File third_party/blink/renderer/modules/peerconnection/rtc_rtp_receiver_impl.cc
      Line 235, Patchset 15: webrtc_receiver_->SetObserver(nullptr);
      Guido Urdaneta . unresolved

      Is it OK to call this twice on two different threads?
      If you call `OnFirstPacketReceived` outside the main thread it will be called first on non-main, then you post to call again on main and call it again.

      Philipp Hancke

      This is just nulling the observer, calling it twice is ok (and happens unconditionally in the destructor).

      The call originates from WebRTCs network thread:
      https://source.chromium.org/chromium/chromium/src/+/main:third_party/webrtc/pc/rtp_transceiver.cc;l=315?q=OnFirstPacketReceived%20webrtc
      Lets ask Tommi whether that is a good thing?

      Guido Urdaneta

      sgtm.
      Also mention in the comment that nulling twice is ok.

      Philipp Hancke

      Done. It gets a bit more interesting though, this gets called from the network thread but https://source.chromium.org/chromium/chromium/src/+/main:third_party/webrtc/pc/channel_interface.h;l=79;drc=46e0a7fb3fd7c4951efd982ae2caf138e20d2a95;bpv=1;bpt=1
      says the callback gets deleted after being called so unregistering is not necessary -- won't hurt either.

      Tomas Gunnarsson

      `OnFirstPacketReceived` is always called from the signaling thread, not the network thread. The `SetFirstPacketReceivedCallback` is what's used inside webrtc, not what issues the call to OnFirstPacketReceived.

      ```
      context()->network_thread()->BlockingCall([&]() {
      << Network thread >>
      channel_->SetRtpTransport(transport_lookup(channel_->mid()));
      channel_->SetFirstPacketReceivedCallback(
      [thread = thread_, flag = signaling_thread_safety_, this]() mutable {
      << Network thread >>
      thread->PostTask(
      SafeTask(std::move(flag), [this]() {
      << Signaling thread >>
      OnFirstPacketReceived();
      }));
      });
      channel_->SetFirstPacketSentCallback(
      [thread = thread_, flag = signaling_thread_safety_, this]() mutable {
      thread->PostTask(
      SafeTask(std::move(flag), [this]() { OnFirstPacketSent(); }));
      });
      });
      ```
      Open in Gerrit

      Related details

      Attention is currently required from:
      • Guido Urdaneta
      • Philipp Hancke
      Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement is not satisfiedCode-Review
      • requirement is not satisfiedNo-Unresolved-Comments
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I91c45d841f519143f0efe3b32be5da88078aeeb7
      Gerrit-Change-Number: 6625939
      Gerrit-PatchSet: 16
      Gerrit-Owner: Philipp Hancke <philipp...@googlemail.com>
      Gerrit-Reviewer: Guido Urdaneta <gui...@chromium.org>
      Gerrit-Reviewer: Philipp Hancke <philipp...@googlemail.com>
      Gerrit-CC: Tomas Gunnarsson <to...@chromium.org>
      Gerrit-Attention: Philipp Hancke <philipp...@googlemail.com>
      Gerrit-Attention: Guido Urdaneta <gui...@chromium.org>
      Gerrit-Comment-Date: Thu, 12 Jun 2025 18:09:39 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Philipp Hancke (Gerrit)

      unread,
      Jun 12, 2025, 4:52:58 PM6/12/25
      to Tomas Gunnarsson, Guido Urdaneta, Chromium LUCI CQ, AyeAye, chromium...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, feature-me...@chromium.org, tommyw+w...@chromium.org, video-networking...@google.com
      Attention needed from Guido Urdaneta

      Philipp Hancke added 1 comment

      File third_party/blink/renderer/modules/peerconnection/rtc_rtp_receiver_impl.cc
      Philipp Hancke

      Thank you Tommi!

      Removed the unregister there since it should not be necessary as
      https://source.chromium.org/chromium/chromium/src/+/main:third_party/webrtc/pc/channel.h;drc=46e0a7fb3fd7c4951efd982ae2caf138e20d2a95;l=319
      says the function is deleted (i.e. can only fire once; shouldn't we have a more general pattern for that?)
      Open in Gerrit

      Related details

      Attention is currently required from:
      • Guido Urdaneta
      Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement is not satisfiedCode-Review
      • requirement is not satisfiedNo-Unresolved-Comments
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I91c45d841f519143f0efe3b32be5da88078aeeb7
      Gerrit-Change-Number: 6625939
      Gerrit-PatchSet: 17
      Gerrit-Owner: Philipp Hancke <philipp...@googlemail.com>
      Gerrit-Reviewer: Guido Urdaneta <gui...@chromium.org>
      Gerrit-Reviewer: Philipp Hancke <philipp...@googlemail.com>
      Gerrit-CC: Tomas Gunnarsson <to...@chromium.org>
      Gerrit-Attention: Guido Urdaneta <gui...@chromium.org>
      Gerrit-Comment-Date: Thu, 12 Jun 2025 20:52:49 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      Comment-In-Reply-To: Philipp Hancke <philipp...@googlemail.com>
      Comment-In-Reply-To: Guido Urdaneta <gui...@chromium.org>
      Comment-In-Reply-To: Tomas Gunnarsson <to...@chromium.org>
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Guido Urdaneta (Gerrit)

      unread,
      Jun 13, 2025, 12:43:56 PM6/13/25
      to Philipp Hancke, Tomas Gunnarsson, Chromium LUCI CQ, AyeAye, chromium...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, feature-me...@chromium.org, tommyw+w...@chromium.org, video-networking...@google.com
      Attention needed from Philipp Hancke

      Guido Urdaneta voted Code-Review+1

      Code-Review+1
      Open in Gerrit

      Related details

      Attention is currently required from:
      • Philipp Hancke
      Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement is not satisfiedCode-Review
      • requirement is not satisfiedNo-Unresolved-Comments
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I91c45d841f519143f0efe3b32be5da88078aeeb7
      Gerrit-Change-Number: 6625939
      Gerrit-PatchSet: 17
      Gerrit-Owner: Philipp Hancke <philipp...@googlemail.com>
      Gerrit-Reviewer: Guido Urdaneta <gui...@chromium.org>
      Gerrit-Reviewer: Philipp Hancke <philipp...@googlemail.com>
      Gerrit-CC: Tomas Gunnarsson <to...@chromium.org>
      Gerrit-Attention: Philipp Hancke <philipp...@googlemail.com>
      Gerrit-Comment-Date: Fri, 13 Jun 2025 16:43:38 +0000
      Gerrit-HasComments: No
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Harald Alvestrand (Gerrit)

      unread,
      Jun 14, 2025, 2:02:06 AM6/14/25
      to Philipp Hancke, Guido Urdaneta, Tomas Gunnarsson, Chromium LUCI CQ, AyeAye, chromium...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, feature-me...@chromium.org, tommyw+w...@chromium.org, video-networking...@google.com
      Attention needed from Philipp Hancke

      Harald Alvestrand voted and added 2 comments

      Votes added by Harald Alvestrand

      Code-Review+1

      2 comments

      Patchset-level comments
      File-level comment, Patchset 17 (Latest):
      Harald Alvestrand . resolved

      Hoping this sticks... it's been a long time nonconformance thing.

      File third_party/blink/renderer/modules/peerconnection/rtc_rtp_receiver_impl.cc
      Harald Alvestrand

      In Chromium, we tend to use OnceCallback and RepeatingCallback for the two kinds.
      We don't make that distinction in WebRTC.

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Philipp Hancke
      Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement satisfiedCode-Review
      • requirement is not satisfiedNo-Unresolved-Comments
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I91c45d841f519143f0efe3b32be5da88078aeeb7
      Gerrit-Change-Number: 6625939
      Gerrit-PatchSet: 17
      Gerrit-Owner: Philipp Hancke <philipp...@googlemail.com>
      Gerrit-Reviewer: Guido Urdaneta <gui...@chromium.org>
      Gerrit-Reviewer: Harald Alvestrand <h...@chromium.org>
      Gerrit-Reviewer: Philipp Hancke <philipp...@googlemail.com>
      Gerrit-CC: Tomas Gunnarsson <to...@chromium.org>
      Gerrit-Attention: Philipp Hancke <philipp...@googlemail.com>
      Gerrit-Comment-Date: Sat, 14 Jun 2025 06:01:49 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Philipp Hancke (Gerrit)

      unread,
      Jun 14, 2025, 2:03:51 AM6/14/25
      to Harald Alvestrand, Guido Urdaneta, Tomas Gunnarsson, Chromium LUCI CQ, AyeAye, chromium...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, feature-me...@chromium.org, tommyw+w...@chromium.org, video-networking...@google.com
      Attention needed from Tomas Gunnarsson

      Philipp Hancke voted and added 2 comments

      Votes added by Philipp Hancke

      Commit-Queue+2

      2 comments

      Patchset-level comments
      Philipp Hancke . resolved

      lets try!

      File third_party/blink/renderer/modules/peerconnection/rtc_rtp_receiver_impl.cc
      Line 235, Patchset 15: webrtc_receiver_->SetObserver(nullptr);
      Guido Urdaneta . resolved
      Philipp Hancke

      I probably saw the Chromium concept. We might adopt it in WebRTC ;-)

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Tomas Gunnarsson
      Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement satisfiedCode-Review
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I91c45d841f519143f0efe3b32be5da88078aeeb7
      Gerrit-Change-Number: 6625939
      Gerrit-PatchSet: 17
      Gerrit-Owner: Philipp Hancke <philipp...@googlemail.com>
      Gerrit-Reviewer: Guido Urdaneta <gui...@chromium.org>
      Gerrit-Reviewer: Harald Alvestrand <h...@chromium.org>
      Gerrit-Reviewer: Philipp Hancke <philipp...@googlemail.com>
      Gerrit-CC: Tomas Gunnarsson <to...@chromium.org>
      Gerrit-Attention: Tomas Gunnarsson <to...@chromium.org>
      Gerrit-Comment-Date: Sat, 14 Jun 2025 06:03:41 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      Comment-In-Reply-To: Harald Alvestrand <h...@chromium.org>
      satisfied_requirement
      open
      diffy

      Chromium LUCI CQ (Gerrit)

      unread,
      Jun 14, 2025, 2:07:46 AM6/14/25
      to Philipp Hancke, Harald Alvestrand, Guido Urdaneta, Tomas Gunnarsson, AyeAye, chromium...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, feature-me...@chromium.org, tommyw+w...@chromium.org, video-networking...@google.com

      Chromium LUCI CQ submitted the change

      Change information

      Commit message:
      webrtc: ensure tracks are muted initially and unmute when a packet arrives

      fixing a long-standing bug wherein the track was muted in ontrack but unumuted immediately after setRemoteDescription.

      Also fix tests and split up the unmute test to make it easier to understand.
      Bug: chromium:40821064
      Change-Id: I91c45d841f519143f0efe3b32be5da88078aeeb7
      Commit-Queue: Philipp Hancke <philipp...@googlemail.com>
      Reviewed-by: Guido Urdaneta <gui...@chromium.org>
      Reviewed-by: Harald Alvestrand <h...@chromium.org>
      Cr-Commit-Position: refs/heads/main@{#1473896}
      Files:
      • M third_party/blink/renderer/modules/peerconnection/peer_connection_features.cc
      • M third_party/blink/renderer/modules/peerconnection/peer_connection_features.h
      • M third_party/blink/renderer/modules/peerconnection/rtc_peer_connection.cc
      • M third_party/blink/renderer/modules/peerconnection/rtc_rtp_receiver_impl.cc
      • M third_party/blink/web_tests/TestExpectations
      • D third_party/blink/web_tests/external/wpt/webrtc-stats/outbound-rtp.https-expected.txt
      • M third_party/blink/web_tests/external/wpt/webrtc-stats/outbound-rtp.https.html
      • M third_party/blink/web_tests/external/wpt/webrtc/RTCRtpTransceiver.https-expected.txt
      • M third_party/blink/web_tests/external/wpt/webrtc/RTCRtpTransceiver.https.html
      Change size: L
      Delta: 9 files changed, 131 insertions(+), 162 deletions(-)
      Branch: refs/heads/main
      Submit Requirements:
      • requirement satisfiedCode-Review: +1 by Guido Urdaneta, +1 by Harald Alvestrand
      Open in Gerrit
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: merged
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I91c45d841f519143f0efe3b32be5da88078aeeb7
      Gerrit-Change-Number: 6625939
      Gerrit-PatchSet: 18
      Gerrit-Owner: Philipp Hancke <philipp...@googlemail.com>
      Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
      Gerrit-Reviewer: Guido Urdaneta <gui...@chromium.org>
      Gerrit-Reviewer: Harald Alvestrand <h...@chromium.org>
      Gerrit-Reviewer: Philipp Hancke <philipp...@googlemail.com>
      open
      diffy
      satisfied_requirement

      Blink W3C Test Autoroller (Gerrit)

      unread,
      Jun 14, 2025, 2:52:16 AM6/14/25
      to Chromium LUCI CQ, Philipp Hancke, Harald Alvestrand, Guido Urdaneta, Tomas Gunnarsson, AyeAye, chromium...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, feature-me...@chromium.org, tommyw+w...@chromium.org, video-networking...@google.com

      Message from Blink W3C Test Autoroller

      The exported PR, https://github.com/web-platform-tests/wpt/pull/53146, has failed the following check(s) on GitHub:

      wpt-firefox-nightly-stability (https://github.com/web-platform-tests/wpt/runs/44091650125)

      These failures will block the export. They may represent new or existing problems; please take a look at the output and see if it can be fixed. Unresolved failures will be looked at by the Ecosystem-Infra sheriff after this CL has been landed in Chromium; if you need earlier help please contact blin...@chromium.org.

      Any suggestions to improve this service are welcome; crbug.com/1027618.

      Gerrit CL SHA: Latest

      Open in Gerrit

      Related details

      Attention set is empty
      Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement satisfiedCode-Review
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I91c45d841f519143f0efe3b32be5da88078aeeb7
      Gerrit-Change-Number: 6625939
      Gerrit-PatchSet: 18
      Gerrit-Owner: Philipp Hancke <philipp...@googlemail.com>
      Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
      Gerrit-Reviewer: Guido Urdaneta <gui...@chromium.org>
      Gerrit-Reviewer: Harald Alvestrand <h...@chromium.org>
      Gerrit-Reviewer: Philipp Hancke <philipp...@googlemail.com>
      Gerrit-CC: Blink W3C Test Autoroller <blink-w3c-te...@chromium.org>
      Gerrit-CC: Tomas Gunnarsson <to...@chromium.org>
      Gerrit-Comment-Date: Sat, 14 Jun 2025 06:52:11 +0000
      Gerrit-HasComments: No
      Gerrit-Has-Labels: No
      satisfied_requirement
      open
      diffy

      luci-bisection@appspot.gserviceaccount.com (Gerrit)

      unread,
      Jun 14, 2025, 4:25:33 AM6/14/25
      to Chromium LUCI CQ, Philipp Hancke, Blink W3C Test Autoroller, Harald Alvestrand, Guido Urdaneta, Tomas Gunnarsson, AyeAye, chromium...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, feature-me...@chromium.org, tommyw+w...@chromium.org, video-networking...@google.com

      Related details

      Attention set is empty
      Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement satisfiedCode-Review
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: revert
      satisfied_requirement
      open
      diffy
      Reply all
      Reply to author
      Forward
      0 new messages