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

Issue 1869003002: Make sure temporal layered screenshare frames are sent in at least 2s. (Closed)

Created:
4 years, 8 months ago by sprang_webrtc
Modified:
4 years, 7 months ago
Reviewers:
stefan-webrtc
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, zhengzhonghou_agora.io, video-team_agora.io, stefan-webrtc, mflodman
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Make sure temporal layered screenshare frames are sent in at least 2s. If a very large frame is sent (high res slide change) when the available send bitrate is very low, the it might take many seconds before any new frames are emitted as the accrued debt will take time to pay off. Add a bailout, so that if a frame hasn't been sent for 2 seconds, cancel the debt immediately, even if the target bitrate is then exceeded. BUG=webrtc:5750 Committed: https://crrev.com/afe1f74c04d908f8bd8ad5b15c6adf6ce6250969 Cr-Commit-Position: refs/heads/master@{#12328}

Patch Set 1 #

Patch Set 2 : Make sure ScreenshareLayers allows a frame every 2s #

Total comments: 4

Patch Set 3 : Force frames for TL0 only #

Patch Set 4 : Typo #

Total comments: 2

Patch Set 5 : Adressed comment #

Patch Set 6 : Prevent potential undefined behavior in unit test #

Patch Set 7 : Cleanup/rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+56 lines, -12 lines) Patch
M webrtc/modules/video_coding/codecs/vp8/screenshare_layers.h View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M webrtc/modules/video_coding/codecs/vp8/screenshare_layers.cc View 1 2 3 4 5 chunks +14 lines, -3 lines 0 comments Download
M webrtc/modules/video_coding/codecs/vp8/screenshare_layers_unittest.cc View 1 2 3 4 5 6 6 chunks +40 lines, -9 lines 0 comments Download

Messages

Total messages: 18 (7 generated)
sprang_webrtc
4 years, 8 months ago (2016-04-07 12:47:56 UTC) #2
stefan-webrtc
https://codereview.webrtc.org/1869003002/diff/20001/webrtc/modules/video_coding/codecs/vp8/screenshare_layers.cc File webrtc/modules/video_coding/codecs/vp8/screenshare_layers.cc (right): https://codereview.webrtc.org/1869003002/diff/20001/webrtc/modules/video_coding/codecs/vp8/screenshare_layers.cc#newcode97 webrtc/modules/video_coding/codecs/vp8/screenshare_layers.cc:97: layers_[1].CheckFrameInterval(unwrapped_timestamp); Do we want the same behavior in TL1, ...
4 years, 8 months ago (2016-04-07 12:53:12 UTC) #3
sprang_webrtc
https://codereview.webrtc.org/1869003002/diff/20001/webrtc/modules/video_coding/codecs/vp8/screenshare_layers.cc File webrtc/modules/video_coding/codecs/vp8/screenshare_layers.cc (right): https://codereview.webrtc.org/1869003002/diff/20001/webrtc/modules/video_coding/codecs/vp8/screenshare_layers.cc#newcode97 webrtc/modules/video_coding/codecs/vp8/screenshare_layers.cc:97: layers_[1].CheckFrameInterval(unwrapped_timestamp); On 2016/04/07 12:53:12, stefan-webrtc (holmer) wrote: > Do ...
4 years, 8 months ago (2016-04-07 13:03:32 UTC) #4
stefan-webrtc
https://codereview.webrtc.org/1869003002/diff/60001/webrtc/modules/video_coding/codecs/vp8/screenshare_layers.cc File webrtc/modules/video_coding/codecs/vp8/screenshare_layers.cc (right): https://codereview.webrtc.org/1869003002/diff/60001/webrtc/modules/video_coding/codecs/vp8/screenshare_layers.cc#newcode99 webrtc/modules/video_coding/codecs/vp8/screenshare_layers.cc:99: layers_[0].debt_bytes_ = 0; Is it correct to cancel the ...
4 years, 8 months ago (2016-04-11 10:29:22 UTC) #5
sprang_webrtc
https://codereview.webrtc.org/1869003002/diff/60001/webrtc/modules/video_coding/codecs/vp8/screenshare_layers.cc File webrtc/modules/video_coding/codecs/vp8/screenshare_layers.cc (right): https://codereview.webrtc.org/1869003002/diff/60001/webrtc/modules/video_coding/codecs/vp8/screenshare_layers.cc#newcode99 webrtc/modules/video_coding/codecs/vp8/screenshare_layers.cc:99: layers_[0].debt_bytes_ = 0; On 2016/04/11 10:29:22, stefan-webrtc (holmer) wrote: ...
4 years, 8 months ago (2016-04-11 11:02:53 UTC) #6
stefan-webrtc
lgtm
4 years, 8 months ago (2016-04-12 07:24:55 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1869003002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1869003002/80001
4 years, 8 months ago (2016-04-12 07:30:02 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: linux_ubsan on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/linux_ubsan/builds/1148)
4 years, 8 months ago (2016-04-12 07:42:57 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1869003002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1869003002/120001
4 years, 8 months ago (2016-04-12 08:21:39 UTC) #14
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 8 months ago (2016-04-12 09:45:17 UTC) #15
commit-bot: I haz the power
4 years, 8 months ago (2016-04-12 09:45:28 UTC) #17
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/afe1f74c04d908f8bd8ad5b15c6adf6ce6250969
Cr-Commit-Position: refs/heads/master@{#12328}

Powered by Google App Engine
This is Rietveld 408576698