Protect APM in webkit builds.
Update libwertc AudioRtpSender::SetAudioSend with WEBRTC_WEBKIT_BUILD This only introduces the WEBRTC_WEBKIT BUILD, inspired by WEBRTC_CHROMIUM_BUILD macro. It is only defined by Webkit libwebrtc build system. https://trac.webkit.org/changeset/210977 BUG=webrtc:7039 Review-Url: https://codereview.webrtc.org/2651273003 Cr-Commit-Position: refs/heads/master@{#16432}
This commit is contained in:
1
AUTHORS
1
AUTHORS
@ -3,6 +3,7 @@
|
||||
|
||||
Adam Fedor <adam.fedor@gmail.com>
|
||||
Alexander Brauckmann <a.brauckmann@gmail.com>
|
||||
Alexandre Gouaillard <agouaillard@gmail.com>
|
||||
Andrew MacDonald <andrew@webrtc.org>
|
||||
Anil Kumar <an1kumar@gmail.com>
|
||||
Ben Strong <bstrong@gmail.com>
|
||||
|
@ -249,7 +249,7 @@ void AudioRtpSender::SetAudioSend() {
|
||||
return;
|
||||
}
|
||||
cricket::AudioOptions options;
|
||||
#if !defined(WEBRTC_CHROMIUM_BUILD)
|
||||
#if !defined(WEBRTC_CHROMIUM_BUILD) && !defined(WEBRTC_WEBKIT_BUILD)
|
||||
// TODO(tommi): Remove this hack when we move CreateAudioSource out of
|
||||
// PeerConnection. This is a bit of a strange way to apply local audio
|
||||
// options since it is also applied to all streams/channels, local or remote.
|
||||
|
Reference in New Issue
Block a user