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

Issue 2571463002: Fix for video protection_bitrate in BWE with overhead. (Closed)

Created:
4 years ago by michaelt
Modified:
3 years, 11 months ago
CC:
webrtc-reviews_webrtc.org, video-team_agora.io, yujie_mao (webrtc), zhengzhonghou_agora.io, stefan-webrtc, tterriberry_mozilla.com, mflodman
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Fix for video protection_bitrate in BWE with overhead. BUG=webrtc:6876, webrtc:6638, webrtc:6886 Review-Url: https://codereview.webrtc.org/2571463002 Cr-Commit-Position: refs/heads/master@{#16305} Committed: https://chromium.googlesource.com/external/webrtc/+/192132ef04407fe0b8c7fe97ce60d46c9084d249

Patch Set 1 #

Total comments: 10

Patch Set 2 : Response to comments. #

Patch Set 3 : Response to comments #

Total comments: 7

Patch Set 4 : Response to comments #

Total comments: 4

Patch Set 5 : Respond to comments #

Total comments: 6

Patch Set 6 : Respond to comments. #

Patch Set 7 : Rebased #

Patch Set 8 : Made unittest better and fixed a bug in the impl. #

Total comments: 6

Patch Set 9 : Add cast to fix windows build #

Total comments: 2

Patch Set 10 : Response to comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -43 lines) Patch
M webrtc/video/video_send_stream.cc View 1 2 3 4 5 6 7 8 2 chunks +43 lines, -26 lines 0 comments Download
M webrtc/video/video_send_stream_tests.cc View 1 2 3 4 5 6 7 8 9 3 chunks +27 lines, -17 lines 0 comments Download

Messages

Total messages: 56 (33 generated)
michaelt
Here a Cl which fixes the problem with "video protection_bitrate" in BWE with overhead.
4 years ago (2016-12-12 14:08:29 UTC) #12
minyue-webrtc
could you explain the problem in some details?
4 years ago (2016-12-12 15:11:49 UTC) #13
stefan-webrtc
https://codereview.webrtc.org/2571463002/diff/20001/webrtc/video/video_send_stream.cc File webrtc/video/video_send_stream.cc (right): https://codereview.webrtc.org/2571463002/diff/20001/webrtc/video/video_send_stream.cc#newcode280 webrtc/video/video_send_stream.cc:280: size_t packet_size_byte, packet_size_bytes https://codereview.webrtc.org/2571463002/diff/20001/webrtc/video/video_send_stream.cc#newcode281 webrtc/video/video_send_stream.cc:281: size_t overhead_byte_per_packet) { overhead_bytes_per_packet ...
4 years ago (2016-12-12 16:19:56 UTC) #15
michaelt
https://codereview.webrtc.org/2571463002/diff/20001/webrtc/video/video_send_stream.cc File webrtc/video/video_send_stream.cc (right): https://codereview.webrtc.org/2571463002/diff/20001/webrtc/video/video_send_stream.cc#newcode1224 webrtc/video/video_send_stream.cc:1224: overhead_bytes_per_packet_); Do you think it's not worth to take ...
4 years ago (2016-12-13 08:07:09 UTC) #16
stefan-webrtc
https://codereview.webrtc.org/2571463002/diff/20001/webrtc/video/video_send_stream.cc File webrtc/video/video_send_stream.cc (right): https://codereview.webrtc.org/2571463002/diff/20001/webrtc/video/video_send_stream.cc#newcode1224 webrtc/video/video_send_stream.cc:1224: overhead_bytes_per_packet_); On 2016/12/13 08:07:09, michaelt wrote: > Do you ...
4 years ago (2016-12-13 08:16:30 UTC) #17
michaelt
https://codereview.webrtc.org/2571463002/diff/20001/webrtc/video/video_send_stream.cc File webrtc/video/video_send_stream.cc (right): https://codereview.webrtc.org/2571463002/diff/20001/webrtc/video/video_send_stream.cc#newcode280 webrtc/video/video_send_stream.cc:280: size_t packet_size_byte, On 2016/12/12 16:19:55, stefan-webrtc (holmer) wrote: > ...
4 years ago (2016-12-13 13:07:16 UTC) #18
stefan-webrtc
https://codereview.webrtc.org/2571463002/diff/20001/webrtc/video/video_send_stream.cc File webrtc/video/video_send_stream.cc (right): https://codereview.webrtc.org/2571463002/diff/20001/webrtc/video/video_send_stream.cc#newcode1224 webrtc/video/video_send_stream.cc:1224: overhead_bytes_per_packet_); Instead of doing this, maybe we should do: ...
4 years ago (2016-12-13 13:26:04 UTC) #19
michaelt
https://codereview.webrtc.org/2571463002/diff/20001/webrtc/video/video_send_stream.cc File webrtc/video/video_send_stream.cc (right): https://codereview.webrtc.org/2571463002/diff/20001/webrtc/video/video_send_stream.cc#newcode1224 webrtc/video/video_send_stream.cc:1224: overhead_bytes_per_packet_); Did something similar to your idea pleas take ...
4 years ago (2016-12-20 10:15:56 UTC) #20
stefan-webrtc
https://codereview.webrtc.org/2571463002/diff/60001/webrtc/video/video_send_stream.cc File webrtc/video/video_send_stream.cc (right): https://codereview.webrtc.org/2571463002/diff/60001/webrtc/video/video_send_stream.cc#newcode289 webrtc/video/video_send_stream.cc:289: return overhead_bps > max_overhead_bps ? 0 : overhead_bps; Why ...
4 years ago (2016-12-20 15:25:13 UTC) #21
michaelt
https://codereview.webrtc.org/2571463002/diff/60001/webrtc/video/video_send_stream.cc File webrtc/video/video_send_stream.cc (right): https://codereview.webrtc.org/2571463002/diff/60001/webrtc/video/video_send_stream.cc#newcode289 webrtc/video/video_send_stream.cc:289: return overhead_bps > max_overhead_bps ? 0 : overhead_bps; True, ...
4 years ago (2016-12-22 10:32:59 UTC) #22
michaelt
https://codereview.webrtc.org/2571463002/diff/60001/webrtc/video/video_send_stream.cc File webrtc/video/video_send_stream.cc (right): https://codereview.webrtc.org/2571463002/diff/60001/webrtc/video/video_send_stream.cc#newcode1228 webrtc/video/video_send_stream.cc:1228: // Add overhead to the protection_bitrate Should be: No, ...
4 years ago (2016-12-22 10:54:16 UTC) #23
stefan-webrtc
lgtm https://codereview.webrtc.org/2571463002/diff/80001/webrtc/video/video_send_stream.cc File webrtc/video/video_send_stream.cc (right): https://codereview.webrtc.org/2571463002/diff/80001/webrtc/video/video_send_stream.cc#newcode1222 webrtc/video/video_send_stream.cc:1222: uint32_t protection_bitrate = So this is the protection ...
4 years ago (2016-12-22 11:38:41 UTC) #24
michaelt
https://codereview.webrtc.org/2571463002/diff/80001/webrtc/video/video_send_stream.cc File webrtc/video/video_send_stream.cc (right): https://codereview.webrtc.org/2571463002/diff/80001/webrtc/video/video_send_stream.cc#newcode1222 webrtc/video/video_send_stream.cc:1222: uint32_t protection_bitrate = I'm not sure about this since ...
4 years ago (2016-12-22 14:14:14 UTC) #25
stefan-webrtc
https://codereview.webrtc.org/2571463002/diff/80001/webrtc/video/video_send_stream.cc File webrtc/video/video_send_stream.cc (right): https://codereview.webrtc.org/2571463002/diff/80001/webrtc/video/video_send_stream.cc#newcode1222 webrtc/video/video_send_stream.cc:1222: uint32_t protection_bitrate = On 2016/12/22 14:14:14, michaelt wrote: > ...
3 years, 11 months ago (2017-01-10 15:28:13 UTC) #26
michaelt
https://codereview.webrtc.org/2571463002/diff/80001/webrtc/video/video_send_stream.cc File webrtc/video/video_send_stream.cc (right): https://codereview.webrtc.org/2571463002/diff/80001/webrtc/video/video_send_stream.cc#newcode1222 webrtc/video/video_send_stream.cc:1222: uint32_t protection_bitrate = On 2017/01/10 15:28:13, stefan-webrtc wrote: > ...
3 years, 11 months ago (2017-01-10 16:31:53 UTC) #27
minyue-webrtc
Hi Michael, consider my comments but do not wait for my further approval. https://codereview.webrtc.org/2571463002/diff/100001/webrtc/video/video_send_stream.cc File ...
3 years, 11 months ago (2017-01-10 22:17:31 UTC) #28
michaelt
https://codereview.webrtc.org/2571463002/diff/100001/webrtc/video/video_send_stream.cc File webrtc/video/video_send_stream.cc (right): https://codereview.webrtc.org/2571463002/diff/100001/webrtc/video/video_send_stream.cc#newcode279 webrtc/video/video_send_stream.cc:279: uint32_t CalculateOverheadRateBps(uint32_t bitrate_bps, On 2017/01/10 22:17:31, minyue-webrtc(OOOtoJan16) wrote: > ...
3 years, 11 months ago (2017-01-11 08:55:15 UTC) #29
michaelt
While trying to make the unittest better i realized i had mad a mistake with ...
3 years, 11 months ago (2017-01-24 17:02:59 UTC) #40
minyue-webrtc
nice! and see some small comments. https://codereview.webrtc.org/2571463002/diff/160001/webrtc/video/video_send_stream_tests.cc File webrtc/video/video_send_stream_tests.cc (right): https://codereview.webrtc.org/2571463002/diff/160001/webrtc/video/video_send_stream_tests.cc#newcode3217 webrtc/video/video_send_stream_tests.cc:3217: // Wait for ...
3 years, 11 months ago (2017-01-26 09:28:51 UTC) #47
michaelt
https://codereview.webrtc.org/2571463002/diff/160001/webrtc/video/video_send_stream_tests.cc File webrtc/video/video_send_stream_tests.cc (right): https://codereview.webrtc.org/2571463002/diff/160001/webrtc/video/video_send_stream_tests.cc#newcode3217 webrtc/video/video_send_stream_tests.cc:3217: // Wait for the first sent packet so that ...
3 years, 11 months ago (2017-01-26 12:12:55 UTC) #49
minyue-webrtc
lgtm
3 years, 11 months ago (2017-01-26 15:28:57 UTC) #50
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2571463002/200001
3 years, 11 months ago (2017-01-26 15:44:45 UTC) #53
commit-bot: I haz the power
3 years, 11 months ago (2017-01-26 17:05:35 UTC) #56
Message was sent while issue was closed.
Committed patchset #10 (id:200001) as
https://chromium.googlesource.com/external/webrtc/+/192132ef04407fe0b8c7fe97c...

Powered by Google App Engine
This is Rietveld 408576698