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

Issue 2897603004: WebRtcMediaStreamAdapter using WebRtcMediaStreamTrackMap. (Closed)

Created:
3 years, 7 months ago by hbos_chromium
Modified:
3 years, 6 months ago
Reviewers:
Guido Urdaneta
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, posciak+watch_chromium.org, chfremer+watch_chromium.org, jam, feature-media-reviews_chromium.org, darin-cc_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

WebRtcMediaStreamAdapter using WebRtcMediaStreamTrackMap. Make the WebRtcMediaStreamAdapter, which represent local streams, use the WebRtcMediaStreamTrackMap and AdapterRef classes for the handling of initializing, getting and uninitializing local tracks. WebRtcMediaStreamTrackAdapter is updated to allow local tracks from non-local sources (removed DCHECKs) which happens when redirecting remote sources as local streams. This is one step closer to decoupling streams and tracks. The same thing will be done in a follow-up CL for the remote streams case, RemoteMediaStreamImpl. BUG=705901, 700916 Review-Url: https://codereview.chromium.org/2897603004 Cr-Commit-Position: refs/heads/master@{#478592} Committed: https://chromium.googlesource.com/chromium/src/+/49effc1da26d29e677a79f49cf20ca85be501ee4

Patch Set 1 #

Patch Set 2 : Removed assumption about local tracks having local source #

Patch Set 3 : MessageLoop and dependency factory to fix PeerConnectionTrackerTest #

Patch Set 4 : Rebase #

Patch Set 5 : Rebase and using AdapterRefs #

Patch Set 6 : Rebase #

Patch Set 7 : Rebase #

Total comments: 12

Patch Set 8 : Addressed comments #

Patch Set 9 : Rebase after dep CL landed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+122 lines, -143 lines) Patch
M content/renderer/media/peer_connection_tracker_unittest.cc View 1 2 3 chunks +13 lines, -4 lines 0 comments Download
M content/renderer/media/rtc_peer_connection_handler.h View 1 2 3 4 5 6 7 2 chunks +14 lines, -0 lines 0 comments Download
M content/renderer/media/rtc_peer_connection_handler.cc View 1 2 3 4 2 chunks +5 lines, -2 lines 0 comments Download
M content/renderer/media/webrtc/webrtc_media_stream_adapter.h View 1 2 3 4 5 6 7 3 chunks +26 lines, -17 lines 0 comments Download
M content/renderer/media/webrtc/webrtc_media_stream_adapter.cc View 1 2 3 4 2 chunks +43 lines, -96 lines 0 comments Download
M content/renderer/media/webrtc/webrtc_media_stream_adapter_unittest.cc View 1 2 3 4 5 chunks +7 lines, -1 line 0 comments Download
M content/renderer/media/webrtc/webrtc_media_stream_track_adapter.cc View 1 2 3 4 8 chunks +14 lines, -23 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 48 (38 generated)
hbos_chromium
PTAL guidou
3 years, 7 months ago (2017-05-19 14:48:08 UTC) #4
hbos_chromium
On 2017/05/19 14:48:08, hbos_chromium wrote: > PTAL guidou Ah this one is not ready yet, ...
3 years, 7 months ago (2017-05-22 08:20:34 UTC) #7
hbos_chromium
Now they're all green. PTAL guidou.
3 years, 7 months ago (2017-05-22 12:18:29 UTC) #12
Guido Urdaneta
On 2017/05/22 12:18:29, hbos_chromium wrote: > Now they're all green. PTAL guidou. I'll take a ...
3 years, 6 months ago (2017-05-30 09:20:12 UTC) #20
hbos_chromium
PTAL guidou, rebased and using AdapterRef in local streams.
3 years, 6 months ago (2017-06-02 11:08:45 UTC) #28
Guido Urdaneta
https://codereview.chromium.org/2897603004/diff/180001/content/renderer/media/rtc_peer_connection_handler.h File content/renderer/media/rtc_peer_connection_handler.h (right): https://codereview.chromium.org/2897603004/diff/180001/content/renderer/media/rtc_peer_connection_handler.h#newcode264 content/renderer/media/rtc_peer_connection_handler.h:264: scoped_refptr<WebRtcMediaStreamTrackAdapterMap> track_adapter_map_; document the field. https://codereview.chromium.org/2897603004/diff/180001/content/renderer/media/rtc_peer_connection_handler.h#newcode265 content/renderer/media/rtc_peer_connection_handler.h:265: std::vector<std::unique_ptr<WebRtcMediaStreamAdapter>> local_streams_; ...
3 years, 6 months ago (2017-06-08 13:54:35 UTC) #39
hbos_chromium
PTAL guidou. https://codereview.chromium.org/2897603004/diff/180001/content/renderer/media/rtc_peer_connection_handler.h File content/renderer/media/rtc_peer_connection_handler.h (right): https://codereview.chromium.org/2897603004/diff/180001/content/renderer/media/rtc_peer_connection_handler.h#newcode264 content/renderer/media/rtc_peer_connection_handler.h:264: scoped_refptr<WebRtcMediaStreamTrackAdapterMap> track_adapter_map_; On 2017/06/08 13:54:35, Guido Urdaneta ...
3 years, 6 months ago (2017-06-08 14:34:44 UTC) #40
Guido Urdaneta
lgtm
3 years, 6 months ago (2017-06-08 14:46:04 UTC) #41
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/2897603004/240001
3 years, 6 months ago (2017-06-12 10:39:20 UTC) #45
commit-bot: I haz the power
3 years, 6 months ago (2017-06-12 11:45:02 UTC) #48
Message was sent while issue was closed.
Committed patchset #9 (id:240001) as
https://chromium.googlesource.com/chromium/src/+/49effc1da26d29e677a79f49cf20...

Powered by Google App Engine
This is Rietveld 408576698