Bug 106053

Summary: Implement MediaStreamSource::setAudioFormat()
Product: WebKit Reporter: Chris Rogers <crogers>
Component: New BugsAssignee: Chris Rogers <crogers>
Status: RESOLVED FIXED    
Severity: Normal CC: abarth, dglazkov, eric.carlson, feature-media-reviews, fishd, hta, jamesr, levin+threading, s.choi, tkent+wkapi, tommyw, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch none

Description Chris Rogers 2013-01-03 15:30:32 PST
Implement MediaStreamSource::setAudioFormat()
Comment 1 Chris Rogers 2013-01-03 15:35:22 PST
Created attachment 181237 [details]
Patch
Comment 2 WebKit Review Bot 2013-01-03 15:37:46 PST
Please wait for approval from abarth@webkit.org, dglazkov@chromium.org, fishd@chromium.org, jamesr@chromium.org or tkent@chromium.org before submitting, as this patch contains changes to the Chromium public API. See also https://trac.webkit.org/wiki/ChromiumWebKitAPI.
Comment 3 WebKit Review Bot 2013-01-03 16:07:23 PST
Comment on attachment 181237 [details]
Patch

Attachment 181237 [details] did not pass chromium-ews (chromium-xvfb):
Output: http://queues.webkit.org/results/15649816
Comment 4 Chris Rogers 2013-01-03 16:28:20 PST
Created attachment 181249 [details]
Patch
Comment 5 Tommy Widenflycht 2013-01-04 00:50:35 PST
Comment on attachment 181249 [details]
Patch

Looks reasonable to me; I guess this is needed for setting up the plumbing correctly?
Comment 6 Chris Rogers 2013-01-04 10:48:30 PST
(In reply to comment #5)
> (From update of attachment 181249 [details])
> Looks reasonable to me; I guess this is needed for setting up the plumbing correctly?

Yes, exactly.  It's needed so that WebRTC will know whether to configure a mono, stereo, or multi-channel stream when negotiating with peers.  The sample-rate is also included, since it is important to know for the embedder.

Adam, does this look ok for WebKit API?
Comment 7 Adam Barth 2013-01-04 11:53:33 PST
Comment on attachment 181249 [details]
Patch

API change LGTM
Comment 8 Chris Rogers 2013-01-04 13:04:39 PST
I can haz R+?
Comment 9 Kenneth Russell 2013-01-04 13:44:20 PST
Comment on attachment 181249 [details]
Patch

Looks fine to me.
Comment 10 WebKit Review Bot 2013-01-05 12:05:55 PST
Comment on attachment 181249 [details]
Patch

Clearing flags on attachment: 181249

Committed r138895: <http://trac.webkit.org/changeset/138895>
Comment 11 WebKit Review Bot 2013-01-05 12:06:00 PST
All reviewed patches have been landed.  Closing bug.