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

Issue 1790633002: Propagate MediaStreamSource state to video tracks the same way as audio. (Closed)

Created:
4 years, 9 months ago by perkj_webrtc
Modified:
4 years, 9 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Base URL:
https://chromium.googlesource.com/external/webrtc.git@refactor_track
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Propagate MediaStreamSource state to video tracks the same way as audio. Also removes unused track states kInitializing and kFailed. BUG=webrtc:5426 Committed: https://crrev.com/c8f952deaae5eccadf218bb0300ee49b50a87ce8 Cr-Commit-Position: refs/heads/master@{#12098}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : Rebased #

Patch Set 4 : And cleaned up the track states for IOS and Android I missed. #

Patch Set 5 : new try... #

Patch Set 6 : Rebased and Ios? #

Total comments: 4

Patch Set 7 : Addressed Nisses comments. #

Patch Set 8 : Rebased #

Patch Set 9 : Rebased #

Patch Set 10 : Fix bug with wrong enum values. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -75 lines) Patch
M talk/app/webrtc/objc/RTCEnumConverter.mm View 1 2 3 1 chunk +0 lines, -8 lines 0 comments Download
M talk/app/webrtc/objc/public/RTCTypes.h View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M webrtc/api/audiotrack.cc View 1 chunk +4 lines, -20 lines 0 comments Download
M webrtc/api/java/src/org/webrtc/MediaStreamTrack.java View 1 2 3 4 5 6 1 chunk +1 line, -3 lines 0 comments Download
M webrtc/api/mediastream_unittest.cc View 1 2 3 4 5 6 7 8 2 chunks +4 lines, -4 lines 0 comments Download
M webrtc/api/mediastreaminterface.h View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -4 lines 0 comments Download
M webrtc/api/mediastreamtrack.h View 1 chunk +1 line, -4 lines 0 comments Download
M webrtc/api/objc/RTCMediaStreamTrack.h View 1 2 3 4 5 6 1 chunk +2 lines, -5 lines 0 comments Download
M webrtc/api/objc/RTCMediaStreamTrack.mm View 1 2 3 4 1 chunk +0 lines, -12 lines 0 comments Download
M webrtc/api/rtpreceiver.cc View 2 chunks +0 lines, -7 lines 0 comments Download
M webrtc/api/videotrack.h View 1 2 3 4 5 6 7 8 2 chunks +5 lines, -1 line 0 comments Download
M webrtc/api/videotrack.cc View 1 2 2 chunks +11 lines, -0 lines 0 comments Download
M webrtc/api/videotrack_unittest.cc View 1 2 2 chunks +13 lines, -5 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 32 (14 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1790633002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1790633002/20001
4 years, 9 months ago (2016-03-11 18:47:15 UTC) #2
perkj_webrtc
Please?
4 years, 9 months ago (2016-03-11 18:47:33 UTC) #4
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios64_sim_dbg on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/ios64_sim_dbg/builds/5882)
4 years, 9 months ago (2016-03-11 18:49:29 UTC) #6
perkj_webrtc
Adding Nisse as well.
4 years, 9 months ago (2016-03-17 12:19:32 UTC) #9
nisse-webrtc
I don't understand the fine details of these states, but changes lgtm. https://codereview.webrtc.org/1790633002/diff/90001/webrtc/api/objc/RTCMediaStreamTrack.h File webrtc/api/objc/RTCMediaStreamTrack.h ...
4 years, 9 months ago (2016-03-17 12:39:30 UTC) #10
nisse-webrtc
On 2016/03/17 12:39:30, nisse-webrtc wrote: > I don't understand the fine details of these states, ...
4 years, 9 months ago (2016-03-17 12:53:08 UTC) #11
Taylor Brandstetter
https://codereview.webrtc.org/1790633002/diff/90001/webrtc/api/mediastream_unittest.cc File webrtc/api/mediastream_unittest.cc (right): https://codereview.webrtc.org/1790633002/diff/90001/webrtc/api/mediastream_unittest.cc#newcode87 webrtc/api/mediastream_unittest.cc:87: track->set_state(MediaStreamTrackInterface::kEnded); If the track's state is determined by it ...
4 years, 9 months ago (2016-03-18 16:08:21 UTC) #12
perkj_webrtc
Adding pthatcher as well. https://codereview.webrtc.org/1790633002/diff/90001/webrtc/api/objc/RTCMediaStreamTrack.h File webrtc/api/objc/RTCMediaStreamTrack.h (right): https://codereview.webrtc.org/1790633002/diff/90001/webrtc/api/objc/RTCMediaStreamTrack.h#newcode15 webrtc/api/objc/RTCMediaStreamTrack.h:15: * which include two more ...
4 years, 9 months ago (2016-03-20 14:06:10 UTC) #15
perkj_webrtc
https://codereview.webrtc.org/1790633002/diff/90001/webrtc/api/mediastream_unittest.cc File webrtc/api/mediastream_unittest.cc (right): https://codereview.webrtc.org/1790633002/diff/90001/webrtc/api/mediastream_unittest.cc#newcode87 webrtc/api/mediastream_unittest.cc:87: track->set_state(MediaStreamTrackInterface::kEnded); On 2016/03/18 16:08:21, Taylor Brandstetter wrote: > If ...
4 years, 9 months ago (2016-03-20 14:09:07 UTC) #16
perkj_webrtc
On 2016/03/20 14:09:07, perkj_webrtc wrote: > https://codereview.webrtc.org/1790633002/diff/90001/webrtc/api/mediastream_unittest.cc > File webrtc/api/mediastream_unittest.cc (right): > > https://codereview.webrtc.org/1790633002/diff/90001/webrtc/api/mediastream_unittest.cc#newcode87 > ...
4 years, 9 months ago (2016-03-21 16:18:36 UTC) #17
Taylor Brandstetter
On 2016/03/21 16:18:36, perkj_webrtc wrote: > On 2016/03/20 14:09:07, perkj_webrtc wrote: > > > https://codereview.webrtc.org/1790633002/diff/90001/webrtc/api/mediastream_unittest.cc ...
4 years, 9 months ago (2016-03-22 00:52:19 UTC) #18
Taylor Brandstetter
On 2016/03/21 16:18:36, perkj_webrtc wrote: > On 2016/03/20 14:09:07, perkj_webrtc wrote: > > > https://codereview.webrtc.org/1790633002/diff/90001/webrtc/api/mediastream_unittest.cc ...
4 years, 9 months ago (2016-03-22 00:52:20 UTC) #19
perkj_webrtc
Zeke - can you take a look at the IOS changes?
4 years, 9 months ago (2016-03-22 10:19:09 UTC) #21
tkchin_webrtc
lgtm
4 years, 9 months ago (2016-03-22 16:19:13 UTC) #22
pthatcher1
lgtm
4 years, 9 months ago (2016-03-22 21:22:28 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1790633002/190001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1790633002/190001
4 years, 9 months ago (2016-03-23 07:30:37 UTC) #26
commit-bot: I haz the power
Committed patchset #10 (id:190001)
4 years, 9 months ago (2016-03-23 07:34:02 UTC) #28
commit-bot: I haz the power
4 years, 9 months ago (2016-03-23 07:34:06 UTC) #30
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/c8f952deaae5eccadf218bb0300ee49b50a87ce8
Cr-Commit-Position: refs/heads/master@{#12098}

Powered by Google App Engine
This is Rietveld 408576698