Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(595)

Issue 2749703005: RTCRtpSender with track behind RuntimeEnabled flag (Closed)

Created:
3 years, 9 months ago by hbos_chromium
Modified:
3 years, 7 months ago
CC:
blink-reviews, blink-reviews-api_chromium.org, chfremer+watch_chromium.org, chromium-reviews, darin-cc_chromium.org, dglazkov+blink, feature-media-reviews_chromium.org, haraken, jam, mcasas+watch+vc_chromium.org, mlamouri+watch-content_chromium.org, phoglund+watch_chromium.org, posciak+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

RTCRtpSender with track behind RuntimeEnabled flag ("RTCRtpSender") Implements getSenders() and RTCRtpSender with a track. The other members and methods will be added in future CLs. Layers: - blink::RTCRtpSender (javascript) - WebRTCRtpSender (interface) - content::RTCRtpSender (implementation) - (webrtc::RtpSenderInterface) Lookup of sender's track is done by searching local streams for the track with the correct ID. Spec: - https://w3c.github.io/webrtc-pc/#rtcrtpsender-interface - https://w3c.github.io/webrtc-pc/#dom-rtcpeerconnection-getsenders Intent to Implement & Ship: https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/GnlJt54O_EY BUG=700916 Review-Url: https://codereview.chromium.org/2749703005 Cr-Commit-Position: refs/heads/master@{#469645} Committed: https://chromium.googlesource.com/chromium/src/+/3c633b6376623a8d0de8d567a822c6b96d2c8263

Patch Set 1 #

Patch Set 2 : Fix win-specific compile error. #

Total comments: 14

Patch Set 3 : Addressed guidou's comments #

Patch Set 4 : Rebase with master (ScriptWrappable.h moved) #

Patch Set 5 : Rebase with master #

Patch Set 6 : external/wpt/webrtc/RTCPeerConnection-idl-expected.txt updated passing 2 more tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+657 lines, -26 lines) Patch
M chrome/browser/media/webrtc/webrtc_browsertest_base.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/media/webrtc/webrtc_browsertest_base.cc View 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/browser/media/webrtc/webrtc_rtp_browsertest.cc View 2 chunks +17 lines, -0 lines 0 comments Download
M chrome/test/data/webrtc/peerconnection_rtp.js View 1 chunk +45 lines, -0 lines 0 comments Download
M content/renderer/BUILD.gn View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M content/renderer/media/rtc_peer_connection_handler.h View 1 chunk +2 lines, -0 lines 0 comments Download
M content/renderer/media/rtc_peer_connection_handler.cc View 1 2 3 chunks +43 lines, -0 lines 0 comments Download
A content/renderer/media/webrtc/rtc_rtp_sender.h View 1 chunk +39 lines, -0 lines 0 comments Download
A content/renderer/media/webrtc/rtc_rtp_sender.cc View 1 chunk +52 lines, -0 lines 0 comments Download
M content/renderer/media/webrtc/webrtc_media_stream_adapter.h View 1 chunk +2 lines, -0 lines 0 comments Download
M content/shell/test_runner/mock_webrtc_peer_connection_handler.h View 2 chunks +3 lines, -1 line 0 comments Download
M content/shell/test_runner/mock_webrtc_peer_connection_handler.cc View 5 chunks +54 lines, -11 lines 0 comments Download
M third_party/WebKit/LayoutTests/external/wpt/webrtc/RTCPeerConnection-idl-expected.txt View 1 2 3 4 5 3 chunks +3 lines, -3 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-getSenders.html View 1 chunk +167 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/virtual/service-worker-navigation-preload-disabled/webexposed/global-interface-listing-expected.txt View 1 2 3 4 5 3 chunks +6 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt View 1 2 3 4 5 3 chunks +6 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/modules_idl_files.gni View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/peerconnection/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.h View 1 2 3 4 chunks +9 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.cpp View 1 2 3 4 7 chunks +52 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.idl View 1 chunk +2 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/peerconnection/RTCRtpSender.h View 1 2 3 1 chunk +38 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/peerconnection/RTCRtpSender.cpp View 1 chunk +29 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/peerconnection/RTCRtpSender.idl View 1 chunk +11 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/BUILD.gn View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/RuntimeEnabledFeatures.json5 View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/platform/exported/WebRTCRtpSender.cpp View 1 1 chunk +11 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/tests/ActiveConnectionThrottlingTest.cpp View 1 2 3 4 2 chunks +5 lines, -0 lines 0 comments Download
M third_party/WebKit/public/BUILD.gn View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/public/platform/WebRTCPeerConnectionHandler.h View 2 chunks +5 lines, -0 lines 0 comments Download
A third_party/WebKit/public/platform/WebRTCRtpSender.h View 1 2 1 chunk +32 lines, -0 lines 0 comments Download

Messages

Total messages: 61 (48 generated)
hbos_chromium
Please take a look, guidou and jochen.
3 years, 7 months ago (2017-04-28 10:38:47 UTC) #27
jochen (gone - plz use gerrit)
can you link to the intent to implement from the CL description please
3 years, 7 months ago (2017-05-02 09:16:51 UTC) #31
hbos_chromium
On 2017/05/02 09:16:51, jochen wrote: > can you link to the intent to implement from ...
3 years, 7 months ago (2017-05-02 10:16:20 UTC) #33
Guido Urdaneta
https://codereview.chromium.org/2749703005/diff/200001/content/renderer/media/rtc_peer_connection_handler.cc File content/renderer/media/rtc_peer_connection_handler.cc (right): https://codereview.chromium.org/2749703005/diff/200001/content/renderer/media/rtc_peer_connection_handler.cc#newcode1692 content/renderer/media/rtc_peer_connection_handler.cc:1692: new RTCRtpSender(webrtc_senders[i].get(), std::move(web_track))); nit: favor base::MakeUnique over new. https://codereview.chromium.org/2749703005/diff/200001/content/renderer/media/webrtc/rtc_rtp_sender.cc ...
3 years, 7 months ago (2017-05-02 12:31:48 UTC) #34
hbos_chromium
PTAL guidou and jochen. https://codereview.chromium.org/2749703005/diff/200001/content/renderer/media/rtc_peer_connection_handler.cc File content/renderer/media/rtc_peer_connection_handler.cc (right): https://codereview.chromium.org/2749703005/diff/200001/content/renderer/media/rtc_peer_connection_handler.cc#newcode1692 content/renderer/media/rtc_peer_connection_handler.cc:1692: new RTCRtpSender(webrtc_senders[i].get(), std::move(web_track))); On 2017/05/02 ...
3 years, 7 months ago (2017-05-03 09:54:24 UTC) #37
jochen (gone - plz use gerrit)
rubberstamp lgtm. Please wait for guidou to finish the full review
3 years, 7 months ago (2017-05-03 10:35:34 UTC) #40
Guido Urdaneta
lgtm
3 years, 7 months ago (2017-05-03 15:42:31 UTC) #45
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2749703005/240001
3 years, 7 months ago (2017-05-04 13:38:11 UTC) #48
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm64_dbg_recipe/builds/260781) cast_shell_linux on master.tryserver.chromium.linux (JOB_FAILED, ...
3 years, 7 months ago (2017-05-04 13:41:52 UTC) #50
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2749703005/260001
3 years, 7 months ago (2017-05-04 13:52:33 UTC) #53
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/445283)
3 years, 7 months ago (2017-05-04 15:11:31 UTC) #55
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2749703005/280001
3 years, 7 months ago (2017-05-05 12:49:00 UTC) #58
commit-bot: I haz the power
3 years, 7 months ago (2017-05-05 14:36:02 UTC) #61
Message was sent while issue was closed.
Committed patchset #6 (id:280001) as
https://chromium.googlesource.com/chromium/src/+/3c633b6376623a8d0de8d567a822...

Powered by Google App Engine
This is Rietveld 408576698