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

Issue 1816143002: Removed MediaStreamTrackInterface::set_state (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@track_state_listen_on_source2
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Removed MediaStreamTrackInterface::set_state The track state should be implicitly set by the underlying source. This removes the public method and cleans up how AudioRtpReceiver is created. Further more it cleans up how the RtpReceivers are destroyed. Note that this cl depend on https://codereview.webrtc.org/1790633002. BUG=webrtc:5426

Patch Set 1 #

Total comments: 1

Patch Set 2 : #

Patch Set 3 : Rebased #

Total comments: 8

Patch Set 4 : addressed comments #

Patch Set 5 : Ios and Android #

Patch Set 6 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+122 lines, -165 lines) Patch
M talk/app/webrtc/objc/RTCMediaStreamTrack.mm View 1 2 3 4 1 chunk +0 lines, -5 lines 0 comments Download
M talk/app/webrtc/objc/public/RTCMediaStreamTrack.h View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/api/java/jni/peerconnection_jni.cc View 1 2 3 4 5 1 chunk +0 lines, -8 lines 0 comments Download
M webrtc/api/java/src/org/webrtc/MediaStreamTrack.java View 1 2 3 4 2 chunks +0 lines, -7 lines 0 comments Download
M webrtc/api/mediastream_unittest.cc View 1 2 1 chunk +0 lines, -5 lines 0 comments Download
M webrtc/api/mediastreaminterface.h View 1 2 3 4 5 1 chunk +0 lines, -2 lines 0 comments Download
M webrtc/api/mediastreamtrack.h View 1 2 3 4 3 chunks +10 lines, -9 lines 0 comments Download
M webrtc/api/mediastreamtrackproxy.h View 1 2 3 4 5 2 chunks +0 lines, -5 lines 0 comments Download
M webrtc/api/peerconnection.h View 1 2 3 7 chunks +7 lines, -13 lines 0 comments Download
M webrtc/api/peerconnection.cc View 1 2 3 11 chunks +37 lines, -100 lines 0 comments Download
M webrtc/api/peerconnectioninterface_unittest.cc View 1 2 3 7 chunks +48 lines, -3 lines 0 comments Download
M webrtc/api/rtpreceiver.h View 1 2 3 4 chunks +8 lines, -2 lines 0 comments Download
M webrtc/api/rtpreceiver.cc View 1 2 3 1 chunk +10 lines, -4 lines 0 comments Download
M webrtc/api/rtpsenderreceiver_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 20 (9 generated)
perkj_webrtc
Please? https://codereview.webrtc.org/1816143002/diff/1/webrtc/api/peerconnection.h File webrtc/api/peerconnection.h (right): https://codereview.webrtc.org/1816143002/diff/1/webrtc/api/peerconnection.h#newcode15 webrtc/api/peerconnection.h:15: #include <map> to make cl lint happy.
4 years, 9 months ago (2016-03-21 16:18:06 UTC) #3
Taylor Brandstetter
https://codereview.webrtc.org/1816143002/diff/40001/webrtc/api/peerconnection.cc File webrtc/api/peerconnection.cc (right): https://codereview.webrtc.org/1816143002/diff/40001/webrtc/api/peerconnection.cc#newcode1953 webrtc/api/peerconnection.cc:1953: DestroyReceivers(cricket::MEDIA_TYPE_AUDIO); I don't think this should go so far ...
4 years, 9 months ago (2016-03-21 18:49:55 UTC) #4
perkj_webrtc
Adding Zeke for the IOS changes. Can you please review? https://codereview.webrtc.org/1816143002/diff/40001/webrtc/api/peerconnection.cc File webrtc/api/peerconnection.cc (right): https://codereview.webrtc.org/1816143002/diff/40001/webrtc/api/peerconnection.cc#newcode1953 ...
4 years, 9 months ago (2016-03-22 16:59:54 UTC) #6
tkchin_webrtc
lgtm for objc stuff the ios gn bots don't work, so ignore those failures. You ...
4 years, 9 months ago (2016-03-22 17:02:53 UTC) #7
perkj_webrtc
pthatcher and or / deadbeef please take a look at this today if you have ...
4 years, 9 months ago (2016-03-23 20:14:07 UTC) #8
Taylor Brandstetter
lgtm. Great work on this.
4 years, 9 months ago (2016-03-23 21:49:45 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1816143002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1816143002/80001
4 years, 9 months ago (2016-03-24 07:28:34 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: mac_compile_dbg on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/mac_compile_dbg/builds/4127) mac_gn_dbg on tryserver.webrtc (JOB_FAILED, ...
4 years, 9 months ago (2016-03-24 07:29:44 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1816143002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1816143002/100001
4 years, 9 months ago (2016-03-24 09:16:47 UTC) #16
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 9 months ago (2016-03-24 10:16:26 UTC) #19
commit-bot: I haz the power
4 years, 9 months ago (2016-03-24 10:16:27 UTC) #20
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/d61bf803d2949fb804c61a77c53ee9dd58c6d653
Cr-Commit-Position: refs/heads/master@{#12115}

Powered by Google App Engine
This is Rietveld 408576698