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

Issue 2492693003: Propagate bitrate setting to RTCRtpSender. (Closed)

Created:
4 years, 1 month ago by daniela-webrtc
Modified:
4 years, 1 month ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Propagate bitrate setting to RTCRtpSender. This CL wires everything up and enables actual setting of the max bitrate encoding parameter on the video RTP sender. The following changes were made * Add maxbitrate property to the settings model and settings store. Make sure to store and read the maxbitrate from storage (to persist between app launches and make testing easier) * Fix setup of encoding parameters for the rtp sender as previous timing was not right. * Fix header of RTCRtpSender to expose needed parameter BUG=webrtc:6654 Committed: https://crrev.com/9af2b6012a782c113c1f5793ca13d5b08210d2f0 Cr-Commit-Position: refs/heads/master@{#15120}

Patch Set 1 #

Total comments: 7

Patch Set 2 : Format #

Patch Set 3 : Rename key constants #

Patch Set 4 : Replace UITextFieldDelegate method with method with lesser availability value #

Total comments: 10

Patch Set 5 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+105 lines, -20 lines) Patch
M webrtc/examples/objc/AppRTCMobile/ARDAppClient.m View 3 chunks +22 lines, -5 lines 0 comments Download
M webrtc/examples/objc/AppRTCMobile/ios/ARDSettingsModel.h View 1 chunk +13 lines, -0 lines 0 comments Download
M webrtc/examples/objc/AppRTCMobile/ios/ARDSettingsModel.m View 1 2 3 4 2 chunks +11 lines, -3 lines 0 comments Download
M webrtc/examples/objc/AppRTCMobile/ios/ARDSettingsStore.h View 1 2 3 4 1 chunk +13 lines, -2 lines 0 comments Download
M webrtc/examples/objc/AppRTCMobile/ios/ARDSettingsStore.m View 1 2 3 4 1 chunk +29 lines, -7 lines 0 comments Download
M webrtc/examples/objc/AppRTCMobile/ios/ARDSettingsViewController.m View 1 2 3 4 3 chunks +14 lines, -1 line 0 comments Download
M webrtc/examples/objc/AppRTCMobile/ios/ARDVideoCallViewController.m View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/examples/objc/AppRTCMobile/tests/ARDSettingsModelTests.mm View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 42 (25 generated)
daniela-webrtc
4 years, 1 month ago (2016-11-10 14:56:11 UTC) #2
magjed_webrtc
https://codereview.webrtc.org/2492693003/diff/1/webrtc/examples/objc/AppRTCMobile/ios/ARDSettingsStore.m File webrtc/examples/objc/AppRTCMobile/ios/ARDSettingsStore.m (right): https://codereview.webrtc.org/2492693003/diff/1/webrtc/examples/objc/AppRTCMobile/ios/ARDSettingsStore.m#newcode15 webrtc/examples/objc/AppRTCMobile/ios/ARDSettingsStore.m:15: static NSString *const kUserDefaultsBitrateKey = @"rtc_max_bitrate_key"; Why do these ...
4 years, 1 month ago (2016-11-11 08:45:05 UTC) #3
kthelgason
lgtm % minor comments https://codereview.webrtc.org/2492693003/diff/1/webrtc/examples/objc/AppRTCMobile/ios/ARDSettingsViewController.m File webrtc/examples/objc/AppRTCMobile/ios/ARDSettingsViewController.m (right): https://codereview.webrtc.org/2492693003/diff/1/webrtc/examples/objc/AppRTCMobile/ios/ARDSettingsViewController.m#newcode238 webrtc/examples/objc/AppRTCMobile/ios/ARDSettingsViewController.m:238: bitrateNumber = [NSNumber numberWithInteger:textField.text.intValue]; Do ...
4 years, 1 month ago (2016-11-11 10:09:07 UTC) #4
daniela-webrtc
https://codereview.webrtc.org/2492693003/diff/1/webrtc/examples/objc/AppRTCMobile/ios/ARDSettingsStore.m File webrtc/examples/objc/AppRTCMobile/ios/ARDSettingsStore.m (right): https://codereview.webrtc.org/2492693003/diff/1/webrtc/examples/objc/AppRTCMobile/ios/ARDSettingsStore.m#newcode15 webrtc/examples/objc/AppRTCMobile/ios/ARDSettingsStore.m:15: static NSString *const kUserDefaultsBitrateKey = @"rtc_max_bitrate_key"; On 2016/11/11 08:45:05, ...
4 years, 1 month ago (2016-11-11 13:45:12 UTC) #5
magjed_webrtc
https://codereview.webrtc.org/2492693003/diff/1/webrtc/examples/objc/AppRTCMobile/ios/ARDSettingsStore.m File webrtc/examples/objc/AppRTCMobile/ios/ARDSettingsStore.m (right): https://codereview.webrtc.org/2492693003/diff/1/webrtc/examples/objc/AppRTCMobile/ios/ARDSettingsStore.m#newcode15 webrtc/examples/objc/AppRTCMobile/ios/ARDSettingsStore.m:15: static NSString *const kUserDefaultsBitrateKey = @"rtc_max_bitrate_key"; On 2016/11/11 13:45:12, ...
4 years, 1 month ago (2016-11-14 13:05:27 UTC) #6
daniela-webrtc
https://codereview.webrtc.org/2492693003/diff/1/webrtc/examples/objc/AppRTCMobile/ios/ARDSettingsStore.m File webrtc/examples/objc/AppRTCMobile/ios/ARDSettingsStore.m (right): https://codereview.webrtc.org/2492693003/diff/1/webrtc/examples/objc/AppRTCMobile/ios/ARDSettingsStore.m#newcode15 webrtc/examples/objc/AppRTCMobile/ios/ARDSettingsStore.m:15: static NSString *const kUserDefaultsBitrateKey = @"rtc_max_bitrate_key"; On 2016/11/14 13:05:27, ...
4 years, 1 month ago (2016-11-14 13:36:15 UTC) #7
magjed_webrtc
lgtm
4 years, 1 month ago (2016-11-14 13:55:31 UTC) #8
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/2492693003/60001
4 years, 1 month ago (2016-11-14 14:23:26 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: presubmit on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/10161)
4 years, 1 month ago (2016-11-14 14:26:36 UTC) #13
tkchin_webrtc
https://codereview.webrtc.org/2492693003/diff/60001/webrtc/examples/objc/AppRTCMobile/ios/ARDSettingsModel.h File webrtc/examples/objc/AppRTCMobile/ios/ARDSettingsModel.h (right): https://codereview.webrtc.org/2492693003/diff/60001/webrtc/examples/objc/AppRTCMobile/ios/ARDSettingsModel.h#newcode15 webrtc/examples/objc/AppRTCMobile/ios/ARDSettingsModel.h:15: * Model class for user defined settings. Not that ...
4 years, 1 month ago (2016-11-14 21:14:32 UTC) #16
tkchin_webrtc
On 2016/11/14 21:14:32, tkchin_webrtc wrote: > https://codereview.webrtc.org/2492693003/diff/60001/webrtc/examples/objc/AppRTCMobile/ios/ARDSettingsModel.h > File webrtc/examples/objc/AppRTCMobile/ios/ARDSettingsModel.h (right): > > https://codereview.webrtc.org/2492693003/diff/60001/webrtc/examples/objc/AppRTCMobile/ios/ARDSettingsModel.h#newcode15 > ...
4 years, 1 month ago (2016-11-14 21:20:58 UTC) #17
daniela-webrtc
https://codereview.webrtc.org/2492693003/diff/60001/webrtc/examples/objc/AppRTCMobile/ios/ARDSettingsStore.m File webrtc/examples/objc/AppRTCMobile/ios/ARDSettingsStore.m (right): https://codereview.webrtc.org/2492693003/diff/60001/webrtc/examples/objc/AppRTCMobile/ios/ARDSettingsStore.m#newcode20 webrtc/examples/objc/AppRTCMobile/ios/ARDSettingsStore.m:20: - (NSUserDefaults *)storage { On 2016/11/14 21:14:32, tkchin_webrtc wrote: ...
4 years, 1 month ago (2016-11-16 13:21:17 UTC) #20
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/2492693003/80001
4 years, 1 month ago (2016-11-16 13:51:17 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: win_baremetal on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/win_baremetal/builds/16158)
4 years, 1 month ago (2016-11-16 14:24:00 UTC) #27
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/2492693003/80001
4 years, 1 month ago (2016-11-17 08:42:09 UTC) #38
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 1 month ago (2016-11-17 08:43:47 UTC) #40
commit-bot: I haz the power
4 years, 1 month ago (2016-11-17 08:44:16 UTC) #42
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/9af2b6012a782c113c1f5793ca13d5b08210d2f0
Cr-Commit-Position: refs/heads/master@{#15120}

Powered by Google App Engine
This is Rietveld 408576698