⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 212846 in webkit


Ignore:
Timestamp:
Feb 22, 2017, 12:46:32 PM (10 years ago)
Author:
jer.noble@apple.com
Message:

Source/WebCore:
MediaStreamSourceNode never receives audio from MockRealtimeAudioSourceMac.
​https://bugs.webkit.org/show_bug.cgi?id=168731

Reviewed by Eric Carlson.

Test: fast/mediastream/mock-media-source-webaudio.html

Because the audioSourceProvider can be created before the mock source is configured, explicitly configure the
source if necessary after creating the audioSourceProvider.

  • platform/mediastream/mac/MockRealtimeAudioSourceMac.mm:

(WebCore::MockRealtimeAudioSourceMac::audioSourceProvider):

LayoutTests:
MediaStreamSourceNode never receives audio from a getUserMedia() created stream
​https://bugs.webkit.org/show_bug.cgi?id=168731

Reviewed by Eric Carlson.

  • fast/mediastream/mock-media-source-webaudio-expected.txt: Added.
  • fast/mediastream/mock-media-source-webaudio.html: Added.
Location:
trunk
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r212845 r212846  
     12017-02-22  Jer Noble  <jer.noble@apple.com>
     2
     3        MediaStreamSourceNode never receives audio from a getUserMedia() created stream
     4        https://bugs.webkit.org/show_bug.cgi?id=168731
     5
     6        Reviewed by Eric Carlson.
     7
     8        * fast/mediastream/mock-media-source-webaudio-expected.txt: Added.
     9        * fast/mediastream/mock-media-source-webaudio.html: Added.
     10
    1112017-02-22  Chris Dumez  <cdumez@apple.com>
    212
  • trunk/Source/WebCore/ChangeLog

    r212845 r212846  
     12017-02-22  Jer Noble  <jer.noble@apple.com>
     2
     3        MediaStreamSourceNode never receives audio from MockRealtimeAudioSourceMac.
     4        https://bugs.webkit.org/show_bug.cgi?id=168731
     5
     6        Reviewed by Eric Carlson.
     7
     8        Test: fast/mediastream/mock-media-source-webaudio.html
     9
     10        Because the audioSourceProvider can be created before the mock source is configured, explicitly configure the
     11        source if necessary after creating the audioSourceProvider.
     12
     13        * platform/mediastream/mac/MockRealtimeAudioSourceMac.mm:
     14        (WebCore::MockRealtimeAudioSourceMac::audioSourceProvider):
     15
    1162017-02-22  Chris Dumez  <cdumez@apple.com>
    217
  • trunk/Source/WebCore/platform/mediastream/mac/MockRealtimeAudioSourceMac.mm

    r212725 r212846  
    204204{
    205205    if (!m_audioSourceProvider) {
     206        if (!m_audioBufferList)
     207            reconfigure();
     208
    206209        m_audioSourceProvider = WebAudioSourceProviderAVFObjC::create(*this);
    207210        m_audioSourceProvider->prepare(&m_streamFormat);
Note: See TracChangeset for help on using the changeset viewer.