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

Issue 2540263003: Carry MediaStreamComponent properties on clone. (Closed)

Created:
4 years ago by pbos
Modified:
4 years ago
CC:
blink-reviews, chromium-reviews, haraken, mcasas+watch+mediastream_chromium.org, tommyw+watchlist_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Carry MediaStreamComponent properties on clone. Adds a clone() method to MediaStreamComponent that carries over enabled and muted state which should carry over when cloning a MediaStreamTrack. MediaStreamTrack's id intentionally does not carry over and remains unique. R=guidou@chromium.org,esprehn@chromium.org BUG=669212 Committed: https://crrev.com/b38248f051bc2022527cfb09040050ed15b23d8e Cr-Commit-Position: refs/heads/master@{#435656}

Patch Set 1 #

Total comments: 2

Patch Set 2 : added test + todo comments #

Messages

Total messages: 25 (16 generated)
pbos
PTAL, esprehn@ suggested by git cl owners, please update if there's someone more suited.
4 years ago (2016-11-30 21:04:10 UTC) #2
pbos
Note that this CL doesn't fix properties of MediaStreamTrack that are outside MediaStreamComponent (e.g. m_stopped ...
4 years ago (2016-11-30 21:05:03 UTC) #4
Guido Urdaneta
lgtm % nit https://codereview.chromium.org/2540263003/diff/1/third_party/WebKit/Source/platform/mediastream/MediaStreamComponent.cpp File third_party/WebKit/Source/platform/mediastream/MediaStreamComponent.cpp (right): https://codereview.chromium.org/2540263003/diff/1/third_party/WebKit/Source/platform/mediastream/MediaStreamComponent.cpp#newcode68 third_party/WebKit/Source/platform/mediastream/MediaStreamComponent.cpp:68: // TODO(pbos): Move properties from MediaStreamTrack ...
4 years ago (2016-12-01 15:23:24 UTC) #9
Guido Urdaneta
Is it possible to write a test that triggers this bug?
4 years ago (2016-12-01 15:25:36 UTC) #10
pbos
Test added for enabled, didn't find a good way to trigger muted, but put a ...
4 years ago (2016-12-01 17:16:33 UTC) #11
esprehn
lgtm
4 years ago (2016-12-01 17:21:10 UTC) #14
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/2540263003/20001
4 years ago (2016-12-01 17:23:03 UTC) #18
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years ago (2016-12-01 18:39:08 UTC) #23
commit-bot: I haz the power
4 years ago (2016-12-01 18:42:11 UTC) #25
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/b38248f051bc2022527cfb09040050ed15b23d8e
Cr-Commit-Position: refs/heads/master@{#435656}

Powered by Google App Engine
This is Rietveld 408576698