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

Issue 2534843002: Added support for changing the volume of RTCAudioSource as discussed in BUG=webrtc:6533 (Closed)

Created:
4 years ago by Frederik
Modified:
3 years, 9 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, qiang.lu, niklas.enbom, yujie_mao (webrtc), peah-webrtc
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Added support for changing the volume of RTCAudioSource as discussed in BUG=webrtc:6533 This is a short term solution to change the volume of a RTCAudioTrack (which contains an RTCAudioSource property) until applyConstraints for RTCMediaStreamTracks has been implemented. This CL adds one new Objective-C method to AudioSourceInterface's wrapper: -(void)setVolume:(double)volume BUG=webrtc:6533, webrtc:6805 This is my first CL for Chromium/WebRTC, so please let me know if I did something wrong. Review-Url: https://codereview.webrtc.org/2534843002 Cr-Commit-Position: refs/heads/master@{#16809} Committed: https://chromium.googlesource.com/external/webrtc/+/0d1305ee8873d4ae3d6a0401056cb3dab78fc390

Patch Set 1 #

Patch Set 2 : use @property for changing volume of RTCAudioSource #

Total comments: 7

Patch Set 3 : implemented suggested changes by tkchin_webrtc #

Total comments: 6

Patch Set 4 : Comment regarding temporary API is now more clear, added suggestions from discussion #

Total comments: 1

Patch Set 5 : Added support for changing the volume of RTCAudioSource as discussed in BUG=webrtc:6533 #

Patch Set 6 : added manual @syntheziser for volume-property #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -2 lines) Patch
M AUTHORS View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/sdk/objc/Framework/Classes/RTCAudioSource.mm View 1 2 3 4 5 2 chunks +7 lines, -0 lines 0 comments Download
M webrtc/sdk/objc/Framework/Headers/WebRTC/RTCAudioSource.h View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 44 (21 generated)
the sun
I'm not an that familiar with objc, but shouldn't this be implemented using a property ...
4 years ago (2016-11-28 12:54:52 UTC) #3
tkchin_webrtc
https://codereview.webrtc.org/2534843002/diff/20001/webrtc/sdk/objc/Framework/Classes/RTCAudioSource.mm File webrtc/sdk/objc/Framework/Classes/RTCAudioSource.mm (right): https://codereview.webrtc.org/2534843002/diff/20001/webrtc/sdk/objc/Framework/Classes/RTCAudioSource.mm#newcode41 webrtc/sdk/objc/Framework/Classes/RTCAudioSource.mm:41: - (void)setVolume:(double) volume { no space after (double) https://codereview.webrtc.org/2534843002/diff/20001/webrtc/sdk/objc/Framework/Classes/RTCAudioSource.mm#newcode42 ...
4 years ago (2016-11-28 21:29:54 UTC) #5
tkchin_webrtc
On 2016/11/28 21:29:54, tkchin_webrtc wrote: > https://codereview.webrtc.org/2534843002/diff/20001/webrtc/sdk/objc/Framework/Classes/RTCAudioSource.mm > File webrtc/sdk/objc/Framework/Classes/RTCAudioSource.mm (right): > > https://codereview.webrtc.org/2534843002/diff/20001/webrtc/sdk/objc/Framework/Classes/RTCAudioSource.mm#newcode41 > ...
4 years ago (2016-11-28 21:30:35 UTC) #6
Frederik
On 2016/11/28 21:30:35, tkchin_webrtc wrote: > On 2016/11/28 21:29:54, tkchin_webrtc wrote: > > > https://codereview.webrtc.org/2534843002/diff/20001/webrtc/sdk/objc/Framework/Classes/RTCAudioSource.mm ...
4 years ago (2016-11-28 21:59:25 UTC) #7
the sun
Adding Harald to resolve the interface discussion: - Harald, do you know what the plans ...
4 years ago (2016-11-30 11:38:04 UTC) #9
the sun
Turns out the job of adding the proper wiring to the native APIs may not ...
4 years ago (2016-12-01 12:04:39 UTC) #11
hta-webrtc
lgtm https://codereview.webrtc.org/2534843002/diff/40001/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCAudioSource.h File webrtc/sdk/objc/Framework/Headers/WebRTC/RTCAudioSource.h (right): https://codereview.webrtc.org/2534843002/diff/40001/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCAudioSource.h#newcode26 webrtc/sdk/objc/Framework/Headers/WebRTC/RTCAudioSource.h:26: // replace this implementation I think the surface ...
4 years ago (2016-12-01 13:59:15 UTC) #12
the sun
lgtm % comments https://codereview.webrtc.org/2534843002/diff/40001/AUTHORS File AUTHORS (right): https://codereview.webrtc.org/2534843002/diff/40001/AUTHORS#newcode18 AUTHORS:18: Hugues Ekra <hekra01@gmail.com> Who is this? ...
4 years ago (2016-12-01 18:24:19 UTC) #13
Frederik
Implemented suggested changes from discussion, especially regarding the documentation. https://codereview.webrtc.org/2534843002/diff/20001/webrtc/sdk/objc/Framework/Classes/RTCAudioSource.mm File webrtc/sdk/objc/Framework/Classes/RTCAudioSource.mm (right): https://codereview.webrtc.org/2534843002/diff/20001/webrtc/sdk/objc/Framework/Classes/RTCAudioSource.mm#newcode41 webrtc/sdk/objc/Framework/Classes/RTCAudioSource.mm:41: ...
4 years ago (2016-12-01 18:54:31 UTC) #14
tkchin_webrtc
lgtm https://codereview.webrtc.org/2534843002/diff/60001/AUTHORS File AUTHORS (right): https://codereview.webrtc.org/2534843002/diff/60001/AUTHORS#newcode1 AUTHORS:1: # Names should be added to this file ...
4 years ago (2016-12-02 21:26:36 UTC) #15
polarapps.feedback
On 2016/12/02 21:26:36, tkchin_webrtc wrote: > lgtm > > https://codereview.webrtc.org/2534843002/diff/60001/AUTHORS > File AUTHORS (right): > ...
3 years, 10 months ago (2017-02-22 21:52:57 UTC) #17
the sun
On 2017/02/22 21:52:57, polarapps.feedback wrote: > On 2016/12/02 21:26:36, tkchin_webrtc wrote: > > lgtm > ...
3 years, 10 months ago (2017-02-23 12:11:14 UTC) #18
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/2534843002/60001
3 years, 10 months ago (2017-02-23 12:42:36 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: ios32_sim_ios9_dbg on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/ios32_sim_ios9_dbg/builds/1802) ios_rel on master.tryserver.webrtc (JOB_FAILED, ...
3 years, 10 months ago (2017-02-23 12:45:06 UTC) #28
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/2534843002/80001
3 years, 10 months ago (2017-02-23 13:14:25 UTC) #31
commit-bot: I haz the power
Try jobs failed on following builders: mac_baremetal on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/mac_baremetal/builds/19141)
3 years, 10 months ago (2017-02-23 13:19:55 UTC) #33
Frederik
On 2017/02/23 13:14:25, commit-bot: I haz the power wrote: > CQ is trying da patch. ...
3 years, 10 months ago (2017-02-23 13:21:49 UTC) #34
the sun
On 2017/02/23 13:21:49, Frederik wrote: > On 2017/02/23 13:14:25, commit-bot: I haz the power wrote: ...
3 years, 9 months ago (2017-02-23 20:53:20 UTC) #35
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/2534843002/100001
3 years, 9 months ago (2017-02-23 21:15:13 UTC) #38
commit-bot: I haz the power
Committed patchset #6 (id:100001) as https://chromium.googlesource.com/external/webrtc/+/0d1305ee8873d4ae3d6a0401056cb3dab78fc390
3 years, 9 months ago (2017-02-23 21:57:06 UTC) #41
kthelgason
On 2017/02/23 21:57:06, commit-bot: I haz the power wrote: > Committed patchset #6 (id:100001) as ...
3 years, 9 months ago (2017-03-23 15:10:46 UTC) #42
the sun
On 2017/03/23 15:10:46, kthelgason wrote: > On 2017/02/23 21:57:06, commit-bot: I haz the power wrote: ...
3 years, 9 months ago (2017-03-23 16:49:26 UTC) #43
Frederik
3 years, 9 months ago (2017-03-23 17:00:09 UTC) #44
Message was sent while issue was closed.
On 2017/03/23 16:49:26, the sun wrote:
> On 2017/03/23 15:10:46, kthelgason wrote:
> > On 2017/02/23 21:57:06, commit-bot: I haz the power wrote:
> > > Committed patchset #6 (id:100001) as
> > >
> >
>
https://chromium.googlesource.com/external/webrtc/+/0d1305ee8873d4ae3d6a04010...
> > 
> > This CL removes someone from the AUTHORS file, why? Also, it has a TODO with
> no
> > owner. It should probably not have landed in it's current state.
> 
> You're right. I wonder what happened. I'll fix it since I should've kept my
eyes
> open during review.

I'm sorry it was not intended by me to delete someone from the Authors file.
Thanks for fixing the issue, sun!

Powered by Google App Engine
This is Rietveld 408576698