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

Issue 1822923002: Adding support for RTCRtpEncodingParameters.active flag. (Closed)

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

Description

Adding support for RTCRtpEncodingParameters.active flag. This will allow a sender to stop/start sending media on the application's demand. Among other things, this can allow an application to set a track on a sender while the encoding(s) are inactive, allowing the encoder to be initialized for that track, then later set the encodings to "active" to instantly start sending the track. Committed: https://crrev.com/dbe2b8744f77b630af36f4ffc436b55f90e121f0 Cr-Commit-Position: refs/heads/master@{#12094}

Patch Set 1 #

Patch Set 2 : Switch to C++11 for loop. #

Total comments: 6

Patch Set 3 : Responding to comments by pbos@ #

Total comments: 2

Patch Set 4 : Fixing DCHECKs. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+63 lines, -45 lines) Patch
M webrtc/api/rtpparameters.h View 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/media/engine/webrtcvideoengine2.h View 1 2 4 chunks +7 lines, -8 lines 0 comments Download
M webrtc/media/engine/webrtcvideoengine2.cc View 1 2 3 7 chunks +31 lines, -36 lines 0 comments Download
M webrtc/media/engine/webrtcvideoengine2_unittest.cc View 2 chunks +24 lines, -1 line 0 comments Download

Messages

Total messages: 14 (3 generated)
Taylor Brandstetter
PTAL.
4 years, 9 months ago (2016-03-22 00:43:38 UTC) #2
pbos-webrtc
https://codereview.webrtc.org/1822923002/diff/20001/webrtc/media/engine/webrtcvideoengine2.cc File webrtc/media/engine/webrtcvideoengine2.cc (right): https://codereview.webrtc.org/1822923002/diff/20001/webrtc/media/engine/webrtcvideoengine2.cc#newcode1990 webrtc/media/engine/webrtcvideoengine2.cc:1990: rtc::CritScope cs(&lock_); Don't take the lock here. (see header ...
4 years, 9 months ago (2016-03-22 18:13:43 UTC) #3
Taylor Brandstetter
https://codereview.webrtc.org/1822923002/diff/20001/webrtc/media/engine/webrtcvideoengine2.cc File webrtc/media/engine/webrtcvideoengine2.cc (right): https://codereview.webrtc.org/1822923002/diff/20001/webrtc/media/engine/webrtcvideoengine2.cc#newcode1990 webrtc/media/engine/webrtcvideoengine2.cc:1990: rtc::CritScope cs(&lock_); On 2016/03/22 18:13:43, pbos-webrtc wrote: > Don't ...
4 years, 9 months ago (2016-03-22 18:32:43 UTC) #4
pbos-webrtc
lgtm, thanks make sure this runs under tsan so we don't have any lock-order inversions ...
4 years, 9 months ago (2016-03-22 18:35:45 UTC) #5
Taylor Brandstetter
I also removed a DCHECK that shouldn't have been there in the first place (it ...
4 years, 9 months ago (2016-03-22 19:05:38 UTC) #6
pbos-webrtc
ltgm
4 years, 9 months ago (2016-03-22 19:11:03 UTC) #7
pbos-webrtc
On 2016/03/22 19:11:03, pbos-webrtc wrote: > ltgm looks too good (for) me..? :\ lgtm
4 years, 9 months ago (2016-03-22 19:11:26 UTC) #8
pthatcher1
lgtm
4 years, 9 months ago (2016-03-22 19:46:22 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1822923002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1822923002/60001
4 years, 9 months ago (2016-03-22 22:40:25 UTC) #11
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 9 months ago (2016-03-22 22:42:04 UTC) #12
commit-bot: I haz the power
4 years, 9 months ago (2016-03-22 22:42:13 UTC) #14
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/dbe2b8744f77b630af36f4ffc436b55f90e121f0
Cr-Commit-Position: refs/heads/master@{#12094}

Powered by Google App Engine
This is Rietveld 408576698