2016-04-27 01:54:20 -07:00
|
|
|
# Copyright 2016 The WebRTC project authors. All Rights Reserved.
|
|
|
|
|
#
|
|
|
|
|
# Use of this source code is governed by a BSD-style license
|
|
|
|
|
# that can be found in the LICENSE file in the root of the source
|
|
|
|
|
# tree. An additional intellectual property rights grant can be found
|
|
|
|
|
# in the file PATENTS. All contributing project authors may
|
|
|
|
|
# be found in the AUTHORS file in the root of the source tree.
|
|
|
|
|
|
2017-01-24 06:58:22 -08:00
|
|
|
import("../webrtc.gni")
|
2016-09-15 04:30:18 -07:00
|
|
|
if (is_ios) {
|
2017-06-22 01:47:20 -07:00
|
|
|
import("//build/config/ios/ios_sdk.gni")
|
2018-11-22 09:00:13 +01:00
|
|
|
import("//build/config/ios/rules.gni")
|
2016-09-15 04:30:18 -07:00
|
|
|
}
|
2018-08-30 09:30:29 +02:00
|
|
|
if (is_mac) {
|
|
|
|
|
import("//build/config/mac/rules.gni")
|
Reland of Split iOS sdk in to separate targets (patchset #1 id:1 of https://codereview.webrtc.org/2911053002/ )
Reason for revert:
Take three of relanding this after all internal issues have been resolved.
Original issue's description:
> Revert of Split iOS sdk in to separate targets (patchset #3 id:320001 of https://codereview.webrtc.org/2893843003/ )
>
> Reason for revert:
> Breaks downstream project.
>
> Original issue's description:
> > Reland of Split iOS sdk in to separate targets (patchset #1 id:1 of https://codereview.webrtc.org/2893593002/ )
> >
> > Reason for revert:
> > Take two of fixing downstream issues?
> >
> > Original issue's description:
> > > Revert of Split iOS sdk in to separate targets (patchset #1 id:1 of https://codereview.webrtc.org/2890733003/ )
> > >
> > > Reason for revert:
> > > Still problems with downstream projects
> > >
> > > Original issue's description:
> > > > Reland of Split iOS sdk in to separate targets (patchset #1 id:1 of https://codereview.webrtc.org/2890513002/ )
> > > >
> > > > Reason for revert:
> > > > Fixing downstream breakages
> > > >
> > > > Original issue's description:
> > > > > Revert of Split iOS sdk in to separate targets (patchset #13 id:280001 of https://codereview.webrtc.org/2862543002/ )
> > > > >
> > > > > Reason for revert:
> > > > > Breaking downstream projects.
> > > > >
> > > > > Original issue's description:
> > > > > > Split iOS sdk in to separate targets
> > > > > >
> > > > > > This CL splits the iOS sdk into separate static libraries for video,
> > > > > > audio, ui, common, and peerconnection-related code. This will in the
> > > > > > future make it easier to compile WebRTC without unneeded components.
> > > > > >
> > > > > > BUG=webrtc:4867
> > > > > >
> > > > > > Review-Url: https://codereview.webrtc.org/2862543002
> > > > > > Cr-Commit-Position: refs/heads/master@{#18166}
> > > > > > Committed: https://chromium.googlesource.com/external/webrtc/+/52c83fe7102f566cf35a7533092873d58b38f426
> > > > >
> > > > > TBR=magjed@webrtc.org,denicija@webrtc.org,tkchin@webrtc.org,henrika@webrtc.org,kthelgason@webrtc.org
> > > > > # Skipping CQ checks because original CL landed less than 1 days ago.
> > > > > NOPRESUBMIT=true
> > > > > NOTREECHECKS=true
> > > > > NOTRY=true
> > > > > BUG=webrtc:4867
> > > > >
> > > > > Review-Url: https://codereview.webrtc.org/2890513002
> > > > > Cr-Commit-Position: refs/heads/master@{#18170}
> > > > > Committed: https://chromium.googlesource.com/external/webrtc/+/9756238084707787f735e1294e896e462e459717
> > > >
> > > > TBR=magjed@webrtc.org,denicija@webrtc.org,tkchin@webrtc.org,henrika@webrtc.org,charujain@webrtc.org
> > > > # Skipping CQ checks because original CL landed less than 1 days ago.
> > > > NOPRESUBMIT=true
> > > > NOTREECHECKS=true
> > > > NOTRY=true
> > > > BUG=webrtc:4867
> > > >
> > > > Review-Url: https://codereview.webrtc.org/2890733003
> > > > Cr-Commit-Position: refs/heads/master@{#18174}
> > > > Committed: https://chromium.googlesource.com/external/webrtc/+/d51e042492bedd057bc0cac7828979d5c7369cea
> > >
> > > TBR=magjed@webrtc.org,denicija@webrtc.org,tkchin@webrtc.org,henrika@webrtc.org,charujain@webrtc.org
> > > # Skipping CQ checks because original CL landed less than 1 days ago.
> > > NOPRESUBMIT=true
> > > NOTREECHECKS=true
> > > NOTRY=true
> > > BUG=webrtc:4867
> > >
> > > Review-Url: https://codereview.webrtc.org/2893593002
> > > Cr-Commit-Position: refs/heads/master@{#18182}
> > > Committed: https://chromium.googlesource.com/external/webrtc/+/37144b214e2baf62ecb262ab878dde8c59cdd6a3
> >
> > TBR=magjed@webrtc.org,denicija@webrtc.org,tkchin@webrtc.org,henrika@webrtc.org,charujain@webrtc.org
> > # Skipping CQ checks because original CL landed less than 1 days ago.
> > NOPRESUBMIT=true
> > NOTREECHECKS=true
> > NOTRY=true
> > BUG=webrtc:4867
> >
> > Review-Url: https://codereview.webrtc.org/2893843003
> > Cr-Commit-Position: refs/heads/master@{#18303}
> > Committed: https://chromium.googlesource.com/external/webrtc/+/580c3522d294c877adfe555048c675bd8d166657
>
> TBR=magjed@webrtc.org,denicija@webrtc.org,tkchin@webrtc.org,henrika@webrtc.org,charujain@webrtc.org,kthelgason@webrtc.org
> # Skipping CQ checks because original CL landed less than 1 days ago.
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
> BUG=webrtc:4867
>
> Review-Url: https://codereview.webrtc.org/2911053002
> Cr-Commit-Position: refs/heads/master@{#18309}
> Committed: https://chromium.googlesource.com/external/webrtc/+/af5c05540cc8208f682cafe88c5c16a505479196
TBR=magjed@webrtc.org,denicija@webrtc.org,tkchin@webrtc.org,henrika@webrtc.org,charujain@webrtc.org,mbonadei@webrtc.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=webrtc:4867
Review-Url: https://codereview.webrtc.org/2913753003
Cr-Commit-Position: refs/heads/master@{#18319}
2017-05-30 01:48:47 -07:00
|
|
|
}
|
|
|
|
|
|
2016-10-28 05:44:03 -07:00
|
|
|
group("sdk") {
|
2017-06-27 08:56:46 +02:00
|
|
|
public_deps = []
|
|
|
|
|
if (!build_with_chromium) {
|
|
|
|
|
if (is_android) {
|
|
|
|
|
public_deps += [ "android" ]
|
|
|
|
|
}
|
|
|
|
|
if (is_ios) {
|
2017-08-24 05:43:45 -07:00
|
|
|
public_deps += [ ":framework_objc" ]
|
2017-06-27 08:56:46 +02:00
|
|
|
}
|
2016-10-28 05:44:03 -07:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("media_constraints") {
|
2019-02-13 08:52:27 +01:00
|
|
|
sources = [
|
|
|
|
|
"media_constraints.cc",
|
|
|
|
|
"media_constraints.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
"../api:audio_options_api",
|
|
|
|
|
"../api:libjingle_peerconnection_api",
|
|
|
|
|
]
|
2020-06-05 14:30:41 +02:00
|
|
|
absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ]
|
2019-02-13 08:52:27 +01:00
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("sdk_tests") {
|
2019-02-13 08:52:27 +01:00
|
|
|
testonly = true
|
2020-01-16 14:41:10 +01:00
|
|
|
sources = [ "media_constraints_unittest.cc" ]
|
2019-02-13 08:52:27 +01:00
|
|
|
deps = [
|
|
|
|
|
":media_constraints",
|
|
|
|
|
"../test:test_support",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2016-11-09 07:44:27 -08:00
|
|
|
if (is_ios || is_mac) {
|
2017-08-24 05:43:45 -07:00
|
|
|
config("common_config_objc") {
|
2016-05-25 11:37:11 -07:00
|
|
|
include_dirs = [
|
2018-08-30 09:30:29 +02:00
|
|
|
"objc",
|
|
|
|
|
|
|
|
|
|
# This is needed so that framework headers can include base headers
|
|
|
|
|
# without pathname (so it works from within the framework module).
|
|
|
|
|
"objc/base",
|
|
|
|
|
|
|
|
|
|
# This is here for backward compatiblity reasons.
|
|
|
|
|
"objc/Framework/Headers", # TODO(bugs.webrtc.org/9627): Remove this.
|
2016-05-25 11:37:11 -07:00
|
|
|
]
|
2017-10-24 15:28:51 +02:00
|
|
|
cflags = [
|
2018-11-09 13:55:45 -08:00
|
|
|
"-Wimplicit-retain-self",
|
2017-10-24 15:28:51 +02:00
|
|
|
"-Wstrict-overflow",
|
|
|
|
|
"-Wmissing-field-initializers",
|
|
|
|
|
]
|
2018-09-19 17:53:59 +02:00
|
|
|
|
|
|
|
|
if (use_clang_coverage) {
|
|
|
|
|
configs = [ "//build/config/coverage:default_coverage" ]
|
|
|
|
|
}
|
2016-05-25 11:37:11 -07:00
|
|
|
}
|
|
|
|
|
|
2018-06-04 10:24:37 +02:00
|
|
|
config("used_from_extension") {
|
|
|
|
|
if (is_ios && rtc_apprtcmobile_broadcast_extension) {
|
|
|
|
|
cflags = [ "-fapplication-extension" ]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2018-08-30 09:30:29 +02:00
|
|
|
# TODO(bugs.webrtc.org/9627): Remove this when unused. Targets should depend on base_objc
|
|
|
|
|
# or helpers_objc directly instead.
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("common_objc") {
|
2018-08-09 10:54:40 +02:00
|
|
|
visibility = [ "*" ]
|
2018-08-30 09:30:29 +02:00
|
|
|
|
2020-01-16 14:41:10 +01:00
|
|
|
sources = [ "objc/helpers/noop.mm" ]
|
2018-08-30 09:30:29 +02:00
|
|
|
|
|
|
|
|
public_configs = [ ":common_config_objc" ]
|
|
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
":base_objc",
|
|
|
|
|
":helpers_objc",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("base_objc") {
|
2018-08-30 09:30:29 +02:00
|
|
|
visibility = [ "*" ]
|
2016-04-27 01:54:20 -07:00
|
|
|
sources = [
|
2018-08-30 09:30:29 +02:00
|
|
|
"objc/base/RTCCodecSpecificInfo.h",
|
|
|
|
|
"objc/base/RTCEncodedImage.h",
|
|
|
|
|
"objc/base/RTCEncodedImage.m",
|
|
|
|
|
"objc/base/RTCI420Buffer.h",
|
|
|
|
|
"objc/base/RTCLogging.h",
|
|
|
|
|
"objc/base/RTCLogging.mm",
|
|
|
|
|
"objc/base/RTCMacros.h",
|
|
|
|
|
"objc/base/RTCMutableI420Buffer.h",
|
|
|
|
|
"objc/base/RTCMutableYUVPlanarBuffer.h",
|
|
|
|
|
"objc/base/RTCRtpFragmentationHeader.h",
|
|
|
|
|
"objc/base/RTCRtpFragmentationHeader.m",
|
|
|
|
|
"objc/base/RTCVideoCapturer.h",
|
|
|
|
|
"objc/base/RTCVideoCapturer.m",
|
|
|
|
|
"objc/base/RTCVideoCodecInfo.h",
|
|
|
|
|
"objc/base/RTCVideoCodecInfo.m",
|
|
|
|
|
"objc/base/RTCVideoDecoder.h",
|
|
|
|
|
"objc/base/RTCVideoDecoderFactory.h",
|
|
|
|
|
"objc/base/RTCVideoEncoder.h",
|
|
|
|
|
"objc/base/RTCVideoEncoderFactory.h",
|
|
|
|
|
"objc/base/RTCVideoEncoderQpThresholds.h",
|
|
|
|
|
"objc/base/RTCVideoEncoderQpThresholds.m",
|
|
|
|
|
"objc/base/RTCVideoEncoderSettings.h",
|
|
|
|
|
"objc/base/RTCVideoEncoderSettings.m",
|
|
|
|
|
"objc/base/RTCVideoFrame.h",
|
|
|
|
|
"objc/base/RTCVideoFrame.mm",
|
|
|
|
|
"objc/base/RTCVideoFrameBuffer.h",
|
|
|
|
|
"objc/base/RTCVideoRenderer.h",
|
|
|
|
|
"objc/base/RTCYUVPlanarBuffer.h",
|
2016-04-27 01:54:20 -07:00
|
|
|
]
|
2017-04-28 02:14:54 -07:00
|
|
|
|
2017-04-21 00:02:02 -07:00
|
|
|
deps = [
|
2019-03-21 13:35:10 +01:00
|
|
|
"../rtc_base",
|
2017-12-13 16:05:42 +01:00
|
|
|
"../rtc_base:checks",
|
2017-04-21 00:02:02 -07:00
|
|
|
]
|
2018-06-04 10:24:37 +02:00
|
|
|
configs += [
|
|
|
|
|
"..:common_objc",
|
|
|
|
|
":used_from_extension",
|
|
|
|
|
]
|
2017-04-24 00:57:16 -07:00
|
|
|
|
2017-08-24 05:43:45 -07:00
|
|
|
public_configs = [ ":common_config_objc" ]
|
2018-08-30 09:30:29 +02:00
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("helpers_objc") {
|
2018-08-30 09:30:29 +02:00
|
|
|
sources = [
|
|
|
|
|
"objc/helpers/AVCaptureSession+DevicePosition.h",
|
|
|
|
|
"objc/helpers/AVCaptureSession+DevicePosition.mm",
|
|
|
|
|
"objc/helpers/NSString+StdString.h",
|
|
|
|
|
"objc/helpers/NSString+StdString.mm",
|
|
|
|
|
"objc/helpers/RTCDispatcher+Private.h",
|
|
|
|
|
"objc/helpers/RTCDispatcher.h",
|
|
|
|
|
"objc/helpers/RTCDispatcher.m",
|
|
|
|
|
"objc/helpers/scoped_cftyperef.h",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
":base_objc",
|
|
|
|
|
"../rtc_base:checks",
|
|
|
|
|
]
|
|
|
|
|
|
2020-07-03 10:19:30 +02:00
|
|
|
frameworks = [
|
2018-08-30 09:30:29 +02:00
|
|
|
"AVFoundation.framework",
|
|
|
|
|
"CoreMedia.framework",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
configs += [
|
|
|
|
|
"..:common_objc",
|
|
|
|
|
":used_from_extension",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
public_configs = [ ":common_config_objc" ]
|
2017-04-28 02:14:54 -07:00
|
|
|
|
2016-06-08 01:14:15 -07:00
|
|
|
if (is_ios) {
|
|
|
|
|
sources += [
|
2018-08-30 09:30:29 +02:00
|
|
|
"objc/helpers/RTCCameraPreviewView.h",
|
|
|
|
|
"objc/helpers/RTCCameraPreviewView.m",
|
|
|
|
|
"objc/helpers/UIDevice+RTCDevice.h",
|
|
|
|
|
"objc/helpers/UIDevice+RTCDevice.mm",
|
2016-06-08 01:14:15 -07:00
|
|
|
]
|
2017-04-28 02:14:54 -07:00
|
|
|
}
|
2018-08-30 09:30:29 +02:00
|
|
|
}
|
2017-04-28 02:14:54 -07:00
|
|
|
|
2018-08-30 09:30:29 +02:00
|
|
|
if (!build_with_chromium) {
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("callback_logger_objc") {
|
2018-08-30 09:30:29 +02:00
|
|
|
sources = [
|
|
|
|
|
"objc/api/logging/RTCCallbackLogger.h",
|
|
|
|
|
"objc/api/logging/RTCCallbackLogger.mm",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
":base_objc",
|
2019-03-21 13:35:10 +01:00
|
|
|
"../rtc_base",
|
2018-08-30 09:30:29 +02:00
|
|
|
"../rtc_base:checks",
|
|
|
|
|
"../rtc_base:logging",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
configs += [
|
|
|
|
|
"..:common_objc",
|
|
|
|
|
":used_from_extension",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("file_logger_objc") {
|
2018-08-30 09:30:29 +02:00
|
|
|
sources = [
|
|
|
|
|
"objc/api/peerconnection/RTCFileLogger.h",
|
|
|
|
|
"objc/api/peerconnection/RTCFileLogger.mm",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
":base_objc",
|
2019-03-21 13:35:10 +01:00
|
|
|
"../rtc_base",
|
2018-08-30 09:30:29 +02:00
|
|
|
"../rtc_base:checks",
|
|
|
|
|
"../rtc_base:logging",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
configs += [
|
|
|
|
|
"..:common_objc",
|
|
|
|
|
":used_from_extension",
|
Reland of Split iOS sdk in to separate targets (patchset #1 id:1 of https://codereview.webrtc.org/2911053002/ )
Reason for revert:
Take three of relanding this after all internal issues have been resolved.
Original issue's description:
> Revert of Split iOS sdk in to separate targets (patchset #3 id:320001 of https://codereview.webrtc.org/2893843003/ )
>
> Reason for revert:
> Breaks downstream project.
>
> Original issue's description:
> > Reland of Split iOS sdk in to separate targets (patchset #1 id:1 of https://codereview.webrtc.org/2893593002/ )
> >
> > Reason for revert:
> > Take two of fixing downstream issues?
> >
> > Original issue's description:
> > > Revert of Split iOS sdk in to separate targets (patchset #1 id:1 of https://codereview.webrtc.org/2890733003/ )
> > >
> > > Reason for revert:
> > > Still problems with downstream projects
> > >
> > > Original issue's description:
> > > > Reland of Split iOS sdk in to separate targets (patchset #1 id:1 of https://codereview.webrtc.org/2890513002/ )
> > > >
> > > > Reason for revert:
> > > > Fixing downstream breakages
> > > >
> > > > Original issue's description:
> > > > > Revert of Split iOS sdk in to separate targets (patchset #13 id:280001 of https://codereview.webrtc.org/2862543002/ )
> > > > >
> > > > > Reason for revert:
> > > > > Breaking downstream projects.
> > > > >
> > > > > Original issue's description:
> > > > > > Split iOS sdk in to separate targets
> > > > > >
> > > > > > This CL splits the iOS sdk into separate static libraries for video,
> > > > > > audio, ui, common, and peerconnection-related code. This will in the
> > > > > > future make it easier to compile WebRTC without unneeded components.
> > > > > >
> > > > > > BUG=webrtc:4867
> > > > > >
> > > > > > Review-Url: https://codereview.webrtc.org/2862543002
> > > > > > Cr-Commit-Position: refs/heads/master@{#18166}
> > > > > > Committed: https://chromium.googlesource.com/external/webrtc/+/52c83fe7102f566cf35a7533092873d58b38f426
> > > > >
> > > > > TBR=magjed@webrtc.org,denicija@webrtc.org,tkchin@webrtc.org,henrika@webrtc.org,kthelgason@webrtc.org
> > > > > # Skipping CQ checks because original CL landed less than 1 days ago.
> > > > > NOPRESUBMIT=true
> > > > > NOTREECHECKS=true
> > > > > NOTRY=true
> > > > > BUG=webrtc:4867
> > > > >
> > > > > Review-Url: https://codereview.webrtc.org/2890513002
> > > > > Cr-Commit-Position: refs/heads/master@{#18170}
> > > > > Committed: https://chromium.googlesource.com/external/webrtc/+/9756238084707787f735e1294e896e462e459717
> > > >
> > > > TBR=magjed@webrtc.org,denicija@webrtc.org,tkchin@webrtc.org,henrika@webrtc.org,charujain@webrtc.org
> > > > # Skipping CQ checks because original CL landed less than 1 days ago.
> > > > NOPRESUBMIT=true
> > > > NOTREECHECKS=true
> > > > NOTRY=true
> > > > BUG=webrtc:4867
> > > >
> > > > Review-Url: https://codereview.webrtc.org/2890733003
> > > > Cr-Commit-Position: refs/heads/master@{#18174}
> > > > Committed: https://chromium.googlesource.com/external/webrtc/+/d51e042492bedd057bc0cac7828979d5c7369cea
> > >
> > > TBR=magjed@webrtc.org,denicija@webrtc.org,tkchin@webrtc.org,henrika@webrtc.org,charujain@webrtc.org
> > > # Skipping CQ checks because original CL landed less than 1 days ago.
> > > NOPRESUBMIT=true
> > > NOTREECHECKS=true
> > > NOTRY=true
> > > BUG=webrtc:4867
> > >
> > > Review-Url: https://codereview.webrtc.org/2893593002
> > > Cr-Commit-Position: refs/heads/master@{#18182}
> > > Committed: https://chromium.googlesource.com/external/webrtc/+/37144b214e2baf62ecb262ab878dde8c59cdd6a3
> >
> > TBR=magjed@webrtc.org,denicija@webrtc.org,tkchin@webrtc.org,henrika@webrtc.org,charujain@webrtc.org
> > # Skipping CQ checks because original CL landed less than 1 days ago.
> > NOPRESUBMIT=true
> > NOTREECHECKS=true
> > NOTRY=true
> > BUG=webrtc:4867
> >
> > Review-Url: https://codereview.webrtc.org/2893843003
> > Cr-Commit-Position: refs/heads/master@{#18303}
> > Committed: https://chromium.googlesource.com/external/webrtc/+/580c3522d294c877adfe555048c675bd8d166657
>
> TBR=magjed@webrtc.org,denicija@webrtc.org,tkchin@webrtc.org,henrika@webrtc.org,charujain@webrtc.org,kthelgason@webrtc.org
> # Skipping CQ checks because original CL landed less than 1 days ago.
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
> BUG=webrtc:4867
>
> Review-Url: https://codereview.webrtc.org/2911053002
> Cr-Commit-Position: refs/heads/master@{#18309}
> Committed: https://chromium.googlesource.com/external/webrtc/+/af5c05540cc8208f682cafe88c5c16a505479196
TBR=magjed@webrtc.org,denicija@webrtc.org,tkchin@webrtc.org,henrika@webrtc.org,charujain@webrtc.org,mbonadei@webrtc.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=webrtc:4867
Review-Url: https://codereview.webrtc.org/2913753003
Cr-Commit-Position: refs/heads/master@{#18319}
2017-05-30 01:48:47 -07:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2017-05-31 05:14:26 -07:00
|
|
|
if (!build_with_chromium) {
|
2018-02-16 10:49:22 +01:00
|
|
|
if (is_ios) {
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("native_api_audio_device_module") {
|
2018-05-15 10:22:36 +02:00
|
|
|
visibility = [ "*" ]
|
|
|
|
|
|
|
|
|
|
sources = [
|
2018-08-30 09:30:29 +02:00
|
|
|
"objc/native/api/audio_device_module.h",
|
|
|
|
|
"objc/native/api/audio_device_module.mm",
|
2018-05-15 10:22:36 +02:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
":audio_device",
|
|
|
|
|
"../modules/audio_device:audio_device_api",
|
|
|
|
|
"../modules/audio_device:audio_device_generic",
|
|
|
|
|
"../rtc_base:checks",
|
|
|
|
|
"../rtc_base:rtc_base_approved",
|
|
|
|
|
"../system_wrappers",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
rtc_source_set("audio_session_observer") {
|
|
|
|
|
visibility = [ ":*" ]
|
|
|
|
|
|
2020-01-16 14:41:10 +01:00
|
|
|
sources = [ "objc/native/src/audio/audio_session_observer.h" ]
|
2018-05-15 10:22:36 +02:00
|
|
|
|
2020-01-16 14:41:10 +01:00
|
|
|
deps = [ "../rtc_base" ]
|
2018-05-15 10:22:36 +02:00
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("audio_device") {
|
2018-05-15 10:22:36 +02:00
|
|
|
visibility = [ "*" ]
|
|
|
|
|
|
|
|
|
|
sources = [
|
2018-08-30 09:30:29 +02:00
|
|
|
"objc/native/src/audio/audio_device_ios.h",
|
|
|
|
|
"objc/native/src/audio/audio_device_ios.mm",
|
|
|
|
|
"objc/native/src/audio/audio_device_module_ios.h",
|
|
|
|
|
"objc/native/src/audio/audio_device_module_ios.mm",
|
|
|
|
|
"objc/native/src/audio/helpers.h",
|
|
|
|
|
"objc/native/src/audio/helpers.mm",
|
|
|
|
|
"objc/native/src/audio/voice_processing_audio_unit.h",
|
|
|
|
|
"objc/native/src/audio/voice_processing_audio_unit.mm",
|
2018-05-15 10:22:36 +02:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
":audio_objc",
|
|
|
|
|
":audio_session_observer",
|
2018-08-30 09:30:29 +02:00
|
|
|
":base_objc",
|
2018-05-15 10:22:36 +02:00
|
|
|
"../api:array_view",
|
2019-06-27 15:16:34 +02:00
|
|
|
"../api/task_queue",
|
|
|
|
|
"../api/task_queue:default_task_queue_factory",
|
2018-05-15 10:22:36 +02:00
|
|
|
"../modules/audio_device:audio_device_api",
|
|
|
|
|
"../modules/audio_device:audio_device_buffer",
|
|
|
|
|
"../modules/audio_device:audio_device_generic",
|
2019-03-21 13:35:10 +01:00
|
|
|
"../rtc_base",
|
2018-05-15 10:22:36 +02:00
|
|
|
"../rtc_base:checks",
|
2019-03-28 11:03:27 +01:00
|
|
|
"../system_wrappers:field_trial",
|
2018-09-28 08:51:10 +02:00
|
|
|
"../system_wrappers:metrics",
|
2018-05-15 10:22:36 +02:00
|
|
|
]
|
2020-06-05 14:30:41 +02:00
|
|
|
absl_deps = [ "//third_party/abseil-cpp/absl/base:core_headers" ]
|
2018-05-15 10:22:36 +02:00
|
|
|
|
2020-07-03 10:19:30 +02:00
|
|
|
frameworks = [ "AudioToolbox.framework" ]
|
2018-05-15 10:22:36 +02:00
|
|
|
}
|
|
|
|
|
|
2019-12-26 23:01:42 -08:00
|
|
|
# This target exists to expose :audio_session_objc and
|
|
|
|
|
# :audio_session_delegate_adapter_objc for backward compatibility,
|
|
|
|
|
# and should be deprecated.
|
|
|
|
|
group("audio_objc") {
|
|
|
|
|
public_deps = [ # no-presubmit-check TODO(webrtc:11238)
|
|
|
|
|
":audio_session_delegate_adapter_objc",
|
|
|
|
|
":audio_session_objc",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
rtc_library("audio_session_delegate_adapter_objc") {
|
|
|
|
|
sources = [
|
|
|
|
|
"objc/components/audio/RTCNativeAudioSessionDelegateAdapter.h",
|
|
|
|
|
"objc/components/audio/RTCNativeAudioSessionDelegateAdapter.mm",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
configs += [
|
|
|
|
|
"..:common_objc",
|
|
|
|
|
":used_from_extension",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
public_configs = [ ":common_config_objc" ]
|
|
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
":audio_session_objc",
|
|
|
|
|
":audio_session_observer",
|
|
|
|
|
":base_objc",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
rtc_library("audio_session_objc") {
|
2020-01-09 08:31:06 -08:00
|
|
|
visibility = [ "*" ]
|
|
|
|
|
|
2018-02-16 10:49:22 +01:00
|
|
|
sources = [
|
2018-08-30 09:30:29 +02:00
|
|
|
"objc/components/audio/RTCAudioSession+Configuration.mm",
|
|
|
|
|
"objc/components/audio/RTCAudioSession+Private.h",
|
|
|
|
|
"objc/components/audio/RTCAudioSession.h",
|
|
|
|
|
"objc/components/audio/RTCAudioSession.mm",
|
|
|
|
|
"objc/components/audio/RTCAudioSessionConfiguration.h",
|
|
|
|
|
"objc/components/audio/RTCAudioSessionConfiguration.m",
|
2018-02-16 10:49:22 +01:00
|
|
|
]
|
2019-12-26 23:01:42 -08:00
|
|
|
|
2018-06-04 10:24:37 +02:00
|
|
|
configs += [
|
|
|
|
|
"..:common_objc",
|
|
|
|
|
":used_from_extension",
|
|
|
|
|
]
|
2017-06-05 05:48:47 -07:00
|
|
|
|
2018-02-16 10:49:22 +01:00
|
|
|
public_configs = [ ":common_config_objc" ]
|
2017-09-15 14:07:30 +02:00
|
|
|
|
2020-07-03 10:19:30 +02:00
|
|
|
frameworks = [ "AVFoundation.framework" ]
|
2018-10-09 12:33:06 -07:00
|
|
|
|
2018-02-16 10:49:22 +01:00
|
|
|
deps = [
|
2018-08-30 09:30:29 +02:00
|
|
|
":base_objc",
|
|
|
|
|
":helpers_objc",
|
2019-03-21 13:35:10 +01:00
|
|
|
"../rtc_base",
|
2018-02-16 10:49:22 +01:00
|
|
|
"../rtc_base:checks",
|
|
|
|
|
"../rtc_base:rtc_base_approved",
|
|
|
|
|
]
|
2017-06-05 05:48:47 -07:00
|
|
|
}
|
2020-08-19 16:41:54 -07:00
|
|
|
|
|
|
|
|
rtc_source_set("network_monitor_observer") {
|
|
|
|
|
visibility = [ ":*" ]
|
|
|
|
|
|
|
|
|
|
sources = [ "objc/native/src/network_monitor_observer.h" ]
|
|
|
|
|
|
|
|
|
|
deps = [ "../rtc_base" ]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
rtc_library("network_monitor_objc") {
|
|
|
|
|
visibility = [ "*" ]
|
|
|
|
|
|
|
|
|
|
sources = [
|
|
|
|
|
"objc/components/network/RTCNetworkMonitor+Private.h",
|
|
|
|
|
"objc/components/network/RTCNetworkMonitor.h",
|
|
|
|
|
"objc/components/network/RTCNetworkMonitor.mm",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
configs += [ ":used_from_extension" ]
|
|
|
|
|
|
|
|
|
|
frameworks = [ "Network.framework" ]
|
|
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
":base_objc",
|
|
|
|
|
":helpers_objc",
|
|
|
|
|
":network_monitor_observer",
|
|
|
|
|
"../rtc_base/system:gcd_helpers",
|
|
|
|
|
]
|
|
|
|
|
}
|
2017-06-05 05:48:47 -07:00
|
|
|
}
|
2017-06-28 14:05:44 -07:00
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("videosource_objc") {
|
2017-06-28 14:05:44 -07:00
|
|
|
sources = [
|
2018-08-30 09:30:29 +02:00
|
|
|
"objc/api/peerconnection/RTCVideoSource+Private.h",
|
|
|
|
|
"objc/api/peerconnection/RTCVideoSource.h",
|
|
|
|
|
"objc/api/peerconnection/RTCVideoSource.mm",
|
2017-06-28 14:05:44 -07:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
2018-08-30 09:30:29 +02:00
|
|
|
":base_objc",
|
2018-03-07 10:32:03 +01:00
|
|
|
":mediasource_objc",
|
|
|
|
|
":native_video",
|
2018-02-16 10:49:22 +01:00
|
|
|
":videoframebuffer_objc",
|
2017-06-28 14:05:44 -07:00
|
|
|
"../api:libjingle_peerconnection_api",
|
2019-09-17 14:30:41 +02:00
|
|
|
"../api:media_stream_interface",
|
2018-05-11 11:15:30 +02:00
|
|
|
"../api/video:video_frame",
|
|
|
|
|
"../api/video:video_frame_i420",
|
2019-06-10 12:59:38 +02:00
|
|
|
"../api/video:video_rtp_headers",
|
2017-06-28 14:05:44 -07:00
|
|
|
"../common_video",
|
|
|
|
|
"../media:rtc_media_base",
|
2019-03-21 13:35:10 +01:00
|
|
|
"../rtc_base",
|
2017-12-13 16:05:42 +01:00
|
|
|
"../rtc_base:checks",
|
2017-12-14 11:24:00 +01:00
|
|
|
"//third_party/libyuv",
|
2017-06-28 14:05:44 -07:00
|
|
|
]
|
|
|
|
|
|
2018-06-04 10:24:37 +02:00
|
|
|
configs += [
|
|
|
|
|
"..:common_objc",
|
|
|
|
|
":used_from_extension",
|
|
|
|
|
]
|
2017-06-28 14:05:44 -07:00
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("videoframebuffer_objc") {
|
2018-08-09 10:54:40 +02:00
|
|
|
visibility = [ "*" ]
|
2018-02-16 10:49:22 +01:00
|
|
|
sources = [
|
2018-09-03 14:44:50 +02:00
|
|
|
"objc/api/video_frame_buffer/RTCNativeI420Buffer+Private.h",
|
|
|
|
|
"objc/api/video_frame_buffer/RTCNativeI420Buffer.h",
|
|
|
|
|
"objc/api/video_frame_buffer/RTCNativeI420Buffer.mm",
|
|
|
|
|
"objc/api/video_frame_buffer/RTCNativeMutableI420Buffer.h",
|
|
|
|
|
"objc/api/video_frame_buffer/RTCNativeMutableI420Buffer.mm",
|
2018-08-30 09:30:29 +02:00
|
|
|
"objc/components/video_frame_buffer/RTCCVPixelBuffer.h",
|
|
|
|
|
"objc/components/video_frame_buffer/RTCCVPixelBuffer.mm",
|
2018-02-16 10:49:22 +01:00
|
|
|
]
|
|
|
|
|
deps = [
|
2018-08-30 09:30:29 +02:00
|
|
|
":base_objc",
|
2018-05-11 11:15:30 +02:00
|
|
|
"//api/video:video_frame",
|
|
|
|
|
"//api/video:video_frame_i420",
|
2019-06-10 12:59:38 +02:00
|
|
|
"//api/video:video_rtp_headers",
|
2018-02-16 10:49:22 +01:00
|
|
|
"//common_video",
|
|
|
|
|
"//rtc_base:checks",
|
|
|
|
|
"//rtc_base:rtc_base_approved",
|
|
|
|
|
"//third_party/libyuv",
|
|
|
|
|
]
|
2018-06-04 10:24:37 +02:00
|
|
|
configs += [
|
|
|
|
|
"..:common_objc",
|
|
|
|
|
":used_from_extension",
|
|
|
|
|
]
|
2020-07-03 10:19:30 +02:00
|
|
|
frameworks = [
|
2019-03-07 10:44:26 +01:00
|
|
|
"VideoToolbox.framework",
|
2019-07-18 22:25:48 +02:00
|
|
|
"CoreGraphics.framework",
|
2019-03-07 10:44:26 +01:00
|
|
|
"CoreVideo.framework",
|
|
|
|
|
]
|
2018-02-16 10:49:22 +01:00
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("video_objc") {
|
Reland of Split iOS sdk in to separate targets (patchset #1 id:1 of https://codereview.webrtc.org/2911053002/ )
Reason for revert:
Take three of relanding this after all internal issues have been resolved.
Original issue's description:
> Revert of Split iOS sdk in to separate targets (patchset #3 id:320001 of https://codereview.webrtc.org/2893843003/ )
>
> Reason for revert:
> Breaks downstream project.
>
> Original issue's description:
> > Reland of Split iOS sdk in to separate targets (patchset #1 id:1 of https://codereview.webrtc.org/2893593002/ )
> >
> > Reason for revert:
> > Take two of fixing downstream issues?
> >
> > Original issue's description:
> > > Revert of Split iOS sdk in to separate targets (patchset #1 id:1 of https://codereview.webrtc.org/2890733003/ )
> > >
> > > Reason for revert:
> > > Still problems with downstream projects
> > >
> > > Original issue's description:
> > > > Reland of Split iOS sdk in to separate targets (patchset #1 id:1 of https://codereview.webrtc.org/2890513002/ )
> > > >
> > > > Reason for revert:
> > > > Fixing downstream breakages
> > > >
> > > > Original issue's description:
> > > > > Revert of Split iOS sdk in to separate targets (patchset #13 id:280001 of https://codereview.webrtc.org/2862543002/ )
> > > > >
> > > > > Reason for revert:
> > > > > Breaking downstream projects.
> > > > >
> > > > > Original issue's description:
> > > > > > Split iOS sdk in to separate targets
> > > > > >
> > > > > > This CL splits the iOS sdk into separate static libraries for video,
> > > > > > audio, ui, common, and peerconnection-related code. This will in the
> > > > > > future make it easier to compile WebRTC without unneeded components.
> > > > > >
> > > > > > BUG=webrtc:4867
> > > > > >
> > > > > > Review-Url: https://codereview.webrtc.org/2862543002
> > > > > > Cr-Commit-Position: refs/heads/master@{#18166}
> > > > > > Committed: https://chromium.googlesource.com/external/webrtc/+/52c83fe7102f566cf35a7533092873d58b38f426
> > > > >
> > > > > TBR=magjed@webrtc.org,denicija@webrtc.org,tkchin@webrtc.org,henrika@webrtc.org,kthelgason@webrtc.org
> > > > > # Skipping CQ checks because original CL landed less than 1 days ago.
> > > > > NOPRESUBMIT=true
> > > > > NOTREECHECKS=true
> > > > > NOTRY=true
> > > > > BUG=webrtc:4867
> > > > >
> > > > > Review-Url: https://codereview.webrtc.org/2890513002
> > > > > Cr-Commit-Position: refs/heads/master@{#18170}
> > > > > Committed: https://chromium.googlesource.com/external/webrtc/+/9756238084707787f735e1294e896e462e459717
> > > >
> > > > TBR=magjed@webrtc.org,denicija@webrtc.org,tkchin@webrtc.org,henrika@webrtc.org,charujain@webrtc.org
> > > > # Skipping CQ checks because original CL landed less than 1 days ago.
> > > > NOPRESUBMIT=true
> > > > NOTREECHECKS=true
> > > > NOTRY=true
> > > > BUG=webrtc:4867
> > > >
> > > > Review-Url: https://codereview.webrtc.org/2890733003
> > > > Cr-Commit-Position: refs/heads/master@{#18174}
> > > > Committed: https://chromium.googlesource.com/external/webrtc/+/d51e042492bedd057bc0cac7828979d5c7369cea
> > >
> > > TBR=magjed@webrtc.org,denicija@webrtc.org,tkchin@webrtc.org,henrika@webrtc.org,charujain@webrtc.org
> > > # Skipping CQ checks because original CL landed less than 1 days ago.
> > > NOPRESUBMIT=true
> > > NOTREECHECKS=true
> > > NOTRY=true
> > > BUG=webrtc:4867
> > >
> > > Review-Url: https://codereview.webrtc.org/2893593002
> > > Cr-Commit-Position: refs/heads/master@{#18182}
> > > Committed: https://chromium.googlesource.com/external/webrtc/+/37144b214e2baf62ecb262ab878dde8c59cdd6a3
> >
> > TBR=magjed@webrtc.org,denicija@webrtc.org,tkchin@webrtc.org,henrika@webrtc.org,charujain@webrtc.org
> > # Skipping CQ checks because original CL landed less than 1 days ago.
> > NOPRESUBMIT=true
> > NOTREECHECKS=true
> > NOTRY=true
> > BUG=webrtc:4867
> >
> > Review-Url: https://codereview.webrtc.org/2893843003
> > Cr-Commit-Position: refs/heads/master@{#18303}
> > Committed: https://chromium.googlesource.com/external/webrtc/+/580c3522d294c877adfe555048c675bd8d166657
>
> TBR=magjed@webrtc.org,denicija@webrtc.org,tkchin@webrtc.org,henrika@webrtc.org,charujain@webrtc.org,kthelgason@webrtc.org
> # Skipping CQ checks because original CL landed less than 1 days ago.
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
> BUG=webrtc:4867
>
> Review-Url: https://codereview.webrtc.org/2911053002
> Cr-Commit-Position: refs/heads/master@{#18309}
> Committed: https://chromium.googlesource.com/external/webrtc/+/af5c05540cc8208f682cafe88c5c16a505479196
TBR=magjed@webrtc.org,denicija@webrtc.org,tkchin@webrtc.org,henrika@webrtc.org,charujain@webrtc.org,mbonadei@webrtc.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=webrtc:4867
Review-Url: https://codereview.webrtc.org/2913753003
Cr-Commit-Position: refs/heads/master@{#18319}
2017-05-30 01:48:47 -07:00
|
|
|
sources = [
|
2018-08-30 09:30:29 +02:00
|
|
|
"objc/components/renderer/opengl/RTCDefaultShader.h",
|
|
|
|
|
"objc/components/renderer/opengl/RTCDefaultShader.mm",
|
|
|
|
|
"objc/components/renderer/opengl/RTCI420TextureCache.h",
|
|
|
|
|
"objc/components/renderer/opengl/RTCI420TextureCache.mm",
|
|
|
|
|
"objc/components/renderer/opengl/RTCOpenGLDefines.h",
|
|
|
|
|
"objc/components/renderer/opengl/RTCShader.h",
|
|
|
|
|
"objc/components/renderer/opengl/RTCShader.mm",
|
|
|
|
|
"objc/components/renderer/opengl/RTCVideoViewShading.h",
|
2017-04-28 02:14:54 -07:00
|
|
|
]
|
2020-07-03 10:19:30 +02:00
|
|
|
frameworks = [ "CoreVideo.framework" ]
|
2017-04-28 02:14:54 -07:00
|
|
|
if (is_ios) {
|
Reland of Add metal view, shaders and renderer. (patchset #1 id:1 of https://codereview.webrtc.org/2711003004/ )
Reason for revert:
Re-land
Original issue's description:
> Revert of Add metal view, shaders and renderer. (patchset #18 id:340001 of https://codereview.webrtc.org/2651743007/ )
>
> Reason for revert:
> Reverting due to breakage in the Google3 import
>
> Original issue's description:
> > Add metal view, shaders and renderer.
> >
> > This CL submits standalone Metal view, renderer and shader.
> >
> > BUG=webrtc:7079
> >
> > Review-Url: https://codereview.webrtc.org/2651743007
> > Cr-Commit-Position: refs/heads/master@{#16787}
> > Committed: https://chromium.googlesource.com/external/webrtc/+/fc8c97f950a4fead4a5debe3c838942db1834010
>
> TBR=magjed@webrtc.org,kthelgason@webrtc.org,tkchin@webrtc.org,haysc@webrtc.org
> # Skipping CQ checks because original CL landed less than 1 days ago.
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
> BUG=webrtc:7079
>
> Review-Url: https://codereview.webrtc.org/2711003004
> Cr-Commit-Position: refs/heads/master@{#16788}
> Committed: https://chromium.googlesource.com/external/webrtc/+/b681aabdfcdcb22de049df3916f2dd8c40dcbf57
TBR=magjed@webrtc.org,kthelgason@webrtc.org,tkchin@webrtc.org,haysc@webrtc.org
# Not skipping CQ checks because original CL landed more than 1 days ago.
BUG=webrtc:7079
Review-Url: https://codereview.webrtc.org/2716703004
Cr-Commit-Position: refs/heads/master@{#16846}
2017-02-26 11:44:13 -08:00
|
|
|
sources += [
|
2018-08-30 09:30:29 +02:00
|
|
|
"objc/components/renderer/opengl/RTCNV12TextureCache.h",
|
|
|
|
|
"objc/components/renderer/opengl/RTCNV12TextureCache.m",
|
Reland of Add metal view, shaders and renderer. (patchset #1 id:1 of https://codereview.webrtc.org/2711003004/ )
Reason for revert:
Re-land
Original issue's description:
> Revert of Add metal view, shaders and renderer. (patchset #18 id:340001 of https://codereview.webrtc.org/2651743007/ )
>
> Reason for revert:
> Reverting due to breakage in the Google3 import
>
> Original issue's description:
> > Add metal view, shaders and renderer.
> >
> > This CL submits standalone Metal view, renderer and shader.
> >
> > BUG=webrtc:7079
> >
> > Review-Url: https://codereview.webrtc.org/2651743007
> > Cr-Commit-Position: refs/heads/master@{#16787}
> > Committed: https://chromium.googlesource.com/external/webrtc/+/fc8c97f950a4fead4a5debe3c838942db1834010
>
> TBR=magjed@webrtc.org,kthelgason@webrtc.org,tkchin@webrtc.org,haysc@webrtc.org
> # Skipping CQ checks because original CL landed less than 1 days ago.
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
> BUG=webrtc:7079
>
> Review-Url: https://codereview.webrtc.org/2711003004
> Cr-Commit-Position: refs/heads/master@{#16788}
> Committed: https://chromium.googlesource.com/external/webrtc/+/b681aabdfcdcb22de049df3916f2dd8c40dcbf57
TBR=magjed@webrtc.org,kthelgason@webrtc.org,tkchin@webrtc.org,haysc@webrtc.org
# Not skipping CQ checks because original CL landed more than 1 days ago.
BUG=webrtc:7079
Review-Url: https://codereview.webrtc.org/2716703004
Cr-Commit-Position: refs/heads/master@{#16846}
2017-02-26 11:44:13 -08:00
|
|
|
]
|
2020-07-03 10:19:30 +02:00
|
|
|
frameworks += [
|
2017-05-31 05:14:26 -07:00
|
|
|
"GLKit.framework",
|
|
|
|
|
"OpenGLES.framework",
|
|
|
|
|
"QuartzCore.framework",
|
|
|
|
|
]
|
|
|
|
|
} else if (is_mac) {
|
2020-07-03 10:19:30 +02:00
|
|
|
frameworks += [
|
2017-05-31 05:14:26 -07:00
|
|
|
"CoreMedia.framework",
|
|
|
|
|
"OpenGL.framework",
|
Reland of Split iOS sdk in to separate targets (patchset #1 id:1 of https://codereview.webrtc.org/2911053002/ )
Reason for revert:
Take three of relanding this after all internal issues have been resolved.
Original issue's description:
> Revert of Split iOS sdk in to separate targets (patchset #3 id:320001 of https://codereview.webrtc.org/2893843003/ )
>
> Reason for revert:
> Breaks downstream project.
>
> Original issue's description:
> > Reland of Split iOS sdk in to separate targets (patchset #1 id:1 of https://codereview.webrtc.org/2893593002/ )
> >
> > Reason for revert:
> > Take two of fixing downstream issues?
> >
> > Original issue's description:
> > > Revert of Split iOS sdk in to separate targets (patchset #1 id:1 of https://codereview.webrtc.org/2890733003/ )
> > >
> > > Reason for revert:
> > > Still problems with downstream projects
> > >
> > > Original issue's description:
> > > > Reland of Split iOS sdk in to separate targets (patchset #1 id:1 of https://codereview.webrtc.org/2890513002/ )
> > > >
> > > > Reason for revert:
> > > > Fixing downstream breakages
> > > >
> > > > Original issue's description:
> > > > > Revert of Split iOS sdk in to separate targets (patchset #13 id:280001 of https://codereview.webrtc.org/2862543002/ )
> > > > >
> > > > > Reason for revert:
> > > > > Breaking downstream projects.
> > > > >
> > > > > Original issue's description:
> > > > > > Split iOS sdk in to separate targets
> > > > > >
> > > > > > This CL splits the iOS sdk into separate static libraries for video,
> > > > > > audio, ui, common, and peerconnection-related code. This will in the
> > > > > > future make it easier to compile WebRTC without unneeded components.
> > > > > >
> > > > > > BUG=webrtc:4867
> > > > > >
> > > > > > Review-Url: https://codereview.webrtc.org/2862543002
> > > > > > Cr-Commit-Position: refs/heads/master@{#18166}
> > > > > > Committed: https://chromium.googlesource.com/external/webrtc/+/52c83fe7102f566cf35a7533092873d58b38f426
> > > > >
> > > > > TBR=magjed@webrtc.org,denicija@webrtc.org,tkchin@webrtc.org,henrika@webrtc.org,kthelgason@webrtc.org
> > > > > # Skipping CQ checks because original CL landed less than 1 days ago.
> > > > > NOPRESUBMIT=true
> > > > > NOTREECHECKS=true
> > > > > NOTRY=true
> > > > > BUG=webrtc:4867
> > > > >
> > > > > Review-Url: https://codereview.webrtc.org/2890513002
> > > > > Cr-Commit-Position: refs/heads/master@{#18170}
> > > > > Committed: https://chromium.googlesource.com/external/webrtc/+/9756238084707787f735e1294e896e462e459717
> > > >
> > > > TBR=magjed@webrtc.org,denicija@webrtc.org,tkchin@webrtc.org,henrika@webrtc.org,charujain@webrtc.org
> > > > # Skipping CQ checks because original CL landed less than 1 days ago.
> > > > NOPRESUBMIT=true
> > > > NOTREECHECKS=true
> > > > NOTRY=true
> > > > BUG=webrtc:4867
> > > >
> > > > Review-Url: https://codereview.webrtc.org/2890733003
> > > > Cr-Commit-Position: refs/heads/master@{#18174}
> > > > Committed: https://chromium.googlesource.com/external/webrtc/+/d51e042492bedd057bc0cac7828979d5c7369cea
> > >
> > > TBR=magjed@webrtc.org,denicija@webrtc.org,tkchin@webrtc.org,henrika@webrtc.org,charujain@webrtc.org
> > > # Skipping CQ checks because original CL landed less than 1 days ago.
> > > NOPRESUBMIT=true
> > > NOTREECHECKS=true
> > > NOTRY=true
> > > BUG=webrtc:4867
> > >
> > > Review-Url: https://codereview.webrtc.org/2893593002
> > > Cr-Commit-Position: refs/heads/master@{#18182}
> > > Committed: https://chromium.googlesource.com/external/webrtc/+/37144b214e2baf62ecb262ab878dde8c59cdd6a3
> >
> > TBR=magjed@webrtc.org,denicija@webrtc.org,tkchin@webrtc.org,henrika@webrtc.org,charujain@webrtc.org
> > # Skipping CQ checks because original CL landed less than 1 days ago.
> > NOPRESUBMIT=true
> > NOTREECHECKS=true
> > NOTRY=true
> > BUG=webrtc:4867
> >
> > Review-Url: https://codereview.webrtc.org/2893843003
> > Cr-Commit-Position: refs/heads/master@{#18303}
> > Committed: https://chromium.googlesource.com/external/webrtc/+/580c3522d294c877adfe555048c675bd8d166657
>
> TBR=magjed@webrtc.org,denicija@webrtc.org,tkchin@webrtc.org,henrika@webrtc.org,charujain@webrtc.org,kthelgason@webrtc.org
> # Skipping CQ checks because original CL landed less than 1 days ago.
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
> BUG=webrtc:4867
>
> Review-Url: https://codereview.webrtc.org/2911053002
> Cr-Commit-Position: refs/heads/master@{#18309}
> Committed: https://chromium.googlesource.com/external/webrtc/+/af5c05540cc8208f682cafe88c5c16a505479196
TBR=magjed@webrtc.org,denicija@webrtc.org,tkchin@webrtc.org,henrika@webrtc.org,charujain@webrtc.org,mbonadei@webrtc.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=webrtc:4867
Review-Url: https://codereview.webrtc.org/2913753003
Cr-Commit-Position: refs/heads/master@{#18319}
2017-05-30 01:48:47 -07:00
|
|
|
]
|
Reland of Add metal view, shaders and renderer. (patchset #1 id:1 of https://codereview.webrtc.org/2711003004/ )
Reason for revert:
Re-land
Original issue's description:
> Revert of Add metal view, shaders and renderer. (patchset #18 id:340001 of https://codereview.webrtc.org/2651743007/ )
>
> Reason for revert:
> Reverting due to breakage in the Google3 import
>
> Original issue's description:
> > Add metal view, shaders and renderer.
> >
> > This CL submits standalone Metal view, renderer and shader.
> >
> > BUG=webrtc:7079
> >
> > Review-Url: https://codereview.webrtc.org/2651743007
> > Cr-Commit-Position: refs/heads/master@{#16787}
> > Committed: https://chromium.googlesource.com/external/webrtc/+/fc8c97f950a4fead4a5debe3c838942db1834010
>
> TBR=magjed@webrtc.org,kthelgason@webrtc.org,tkchin@webrtc.org,haysc@webrtc.org
> # Skipping CQ checks because original CL landed less than 1 days ago.
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
> BUG=webrtc:7079
>
> Review-Url: https://codereview.webrtc.org/2711003004
> Cr-Commit-Position: refs/heads/master@{#16788}
> Committed: https://chromium.googlesource.com/external/webrtc/+/b681aabdfcdcb22de049df3916f2dd8c40dcbf57
TBR=magjed@webrtc.org,kthelgason@webrtc.org,tkchin@webrtc.org,haysc@webrtc.org
# Not skipping CQ checks because original CL landed more than 1 days ago.
BUG=webrtc:7079
Review-Url: https://codereview.webrtc.org/2716703004
Cr-Commit-Position: refs/heads/master@{#16846}
2017-02-26 11:44:13 -08:00
|
|
|
}
|
2017-05-31 05:14:26 -07:00
|
|
|
|
Reland of Split iOS sdk in to separate targets (patchset #1 id:1 of https://codereview.webrtc.org/2911053002/ )
Reason for revert:
Take three of relanding this after all internal issues have been resolved.
Original issue's description:
> Revert of Split iOS sdk in to separate targets (patchset #3 id:320001 of https://codereview.webrtc.org/2893843003/ )
>
> Reason for revert:
> Breaks downstream project.
>
> Original issue's description:
> > Reland of Split iOS sdk in to separate targets (patchset #1 id:1 of https://codereview.webrtc.org/2893593002/ )
> >
> > Reason for revert:
> > Take two of fixing downstream issues?
> >
> > Original issue's description:
> > > Revert of Split iOS sdk in to separate targets (patchset #1 id:1 of https://codereview.webrtc.org/2890733003/ )
> > >
> > > Reason for revert:
> > > Still problems with downstream projects
> > >
> > > Original issue's description:
> > > > Reland of Split iOS sdk in to separate targets (patchset #1 id:1 of https://codereview.webrtc.org/2890513002/ )
> > > >
> > > > Reason for revert:
> > > > Fixing downstream breakages
> > > >
> > > > Original issue's description:
> > > > > Revert of Split iOS sdk in to separate targets (patchset #13 id:280001 of https://codereview.webrtc.org/2862543002/ )
> > > > >
> > > > > Reason for revert:
> > > > > Breaking downstream projects.
> > > > >
> > > > > Original issue's description:
> > > > > > Split iOS sdk in to separate targets
> > > > > >
> > > > > > This CL splits the iOS sdk into separate static libraries for video,
> > > > > > audio, ui, common, and peerconnection-related code. This will in the
> > > > > > future make it easier to compile WebRTC without unneeded components.
> > > > > >
> > > > > > BUG=webrtc:4867
> > > > > >
> > > > > > Review-Url: https://codereview.webrtc.org/2862543002
> > > > > > Cr-Commit-Position: refs/heads/master@{#18166}
> > > > > > Committed: https://chromium.googlesource.com/external/webrtc/+/52c83fe7102f566cf35a7533092873d58b38f426
> > > > >
> > > > > TBR=magjed@webrtc.org,denicija@webrtc.org,tkchin@webrtc.org,henrika@webrtc.org,kthelgason@webrtc.org
> > > > > # Skipping CQ checks because original CL landed less than 1 days ago.
> > > > > NOPRESUBMIT=true
> > > > > NOTREECHECKS=true
> > > > > NOTRY=true
> > > > > BUG=webrtc:4867
> > > > >
> > > > > Review-Url: https://codereview.webrtc.org/2890513002
> > > > > Cr-Commit-Position: refs/heads/master@{#18170}
> > > > > Committed: https://chromium.googlesource.com/external/webrtc/+/9756238084707787f735e1294e896e462e459717
> > > >
> > > > TBR=magjed@webrtc.org,denicija@webrtc.org,tkchin@webrtc.org,henrika@webrtc.org,charujain@webrtc.org
> > > > # Skipping CQ checks because original CL landed less than 1 days ago.
> > > > NOPRESUBMIT=true
> > > > NOTREECHECKS=true
> > > > NOTRY=true
> > > > BUG=webrtc:4867
> > > >
> > > > Review-Url: https://codereview.webrtc.org/2890733003
> > > > Cr-Commit-Position: refs/heads/master@{#18174}
> > > > Committed: https://chromium.googlesource.com/external/webrtc/+/d51e042492bedd057bc0cac7828979d5c7369cea
> > >
> > > TBR=magjed@webrtc.org,denicija@webrtc.org,tkchin@webrtc.org,henrika@webrtc.org,charujain@webrtc.org
> > > # Skipping CQ checks because original CL landed less than 1 days ago.
> > > NOPRESUBMIT=true
> > > NOTREECHECKS=true
> > > NOTRY=true
> > > BUG=webrtc:4867
> > >
> > > Review-Url: https://codereview.webrtc.org/2893593002
> > > Cr-Commit-Position: refs/heads/master@{#18182}
> > > Committed: https://chromium.googlesource.com/external/webrtc/+/37144b214e2baf62ecb262ab878dde8c59cdd6a3
> >
> > TBR=magjed@webrtc.org,denicija@webrtc.org,tkchin@webrtc.org,henrika@webrtc.org,charujain@webrtc.org
> > # Skipping CQ checks because original CL landed less than 1 days ago.
> > NOPRESUBMIT=true
> > NOTREECHECKS=true
> > NOTRY=true
> > BUG=webrtc:4867
> >
> > Review-Url: https://codereview.webrtc.org/2893843003
> > Cr-Commit-Position: refs/heads/master@{#18303}
> > Committed: https://chromium.googlesource.com/external/webrtc/+/580c3522d294c877adfe555048c675bd8d166657
>
> TBR=magjed@webrtc.org,denicija@webrtc.org,tkchin@webrtc.org,henrika@webrtc.org,charujain@webrtc.org,kthelgason@webrtc.org
> # Skipping CQ checks because original CL landed less than 1 days ago.
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
> BUG=webrtc:4867
>
> Review-Url: https://codereview.webrtc.org/2911053002
> Cr-Commit-Position: refs/heads/master@{#18309}
> Committed: https://chromium.googlesource.com/external/webrtc/+/af5c05540cc8208f682cafe88c5c16a505479196
TBR=magjed@webrtc.org,denicija@webrtc.org,tkchin@webrtc.org,henrika@webrtc.org,charujain@webrtc.org,mbonadei@webrtc.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=webrtc:4867
Review-Url: https://codereview.webrtc.org/2913753003
Cr-Commit-Position: refs/heads/master@{#18319}
2017-05-30 01:48:47 -07:00
|
|
|
deps = [
|
2018-08-30 09:30:29 +02:00
|
|
|
":base_objc",
|
|
|
|
|
":helpers_objc",
|
2018-02-16 10:49:22 +01:00
|
|
|
":mediaconstraints_objc",
|
2018-02-01 15:47:05 +01:00
|
|
|
":native_video",
|
2018-02-16 10:49:22 +01:00
|
|
|
":videoframebuffer_objc",
|
2018-03-07 10:32:03 +01:00
|
|
|
":videosource_objc",
|
2017-05-31 05:14:26 -07:00
|
|
|
"../api:libjingle_peerconnection_api",
|
2018-05-11 11:15:30 +02:00
|
|
|
"../api/video:video_frame",
|
2019-06-10 12:59:38 +02:00
|
|
|
"../api/video:video_rtp_headers",
|
2017-05-31 05:14:26 -07:00
|
|
|
"../common_video",
|
|
|
|
|
"../media:rtc_media_base",
|
2019-03-21 13:35:10 +01:00
|
|
|
"../rtc_base",
|
2017-12-13 16:05:42 +01:00
|
|
|
"../rtc_base:checks",
|
2016-04-27 01:54:20 -07:00
|
|
|
]
|
2020-06-05 14:30:41 +02:00
|
|
|
absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ]
|
2016-04-27 01:54:20 -07:00
|
|
|
|
2018-06-04 10:24:37 +02:00
|
|
|
configs += [
|
|
|
|
|
"..:common_objc",
|
|
|
|
|
":used_from_extension",
|
|
|
|
|
]
|
2016-08-25 03:25:04 -07:00
|
|
|
}
|
2017-04-25 04:04:50 -07:00
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("ui_objc") {
|
2018-01-10 15:54:53 +00:00
|
|
|
visibility = [ "*" ]
|
2019-01-14 14:23:23 +01:00
|
|
|
allow_poison = [ "audio_codecs" ] # TODO(bugs.webrtc.org/8396): Remove.
|
2017-05-31 05:14:26 -07:00
|
|
|
if (is_ios) {
|
|
|
|
|
sources = [
|
2018-08-30 09:30:29 +02:00
|
|
|
"objc/components/renderer/opengl/RTCDisplayLinkTimer.h",
|
|
|
|
|
"objc/components/renderer/opengl/RTCDisplayLinkTimer.m",
|
|
|
|
|
"objc/components/renderer/opengl/RTCEAGLVideoView.h",
|
|
|
|
|
"objc/components/renderer/opengl/RTCEAGLVideoView.m",
|
2017-05-31 05:14:26 -07:00
|
|
|
]
|
2017-04-25 04:04:50 -07:00
|
|
|
}
|
2017-05-31 05:14:26 -07:00
|
|
|
if (is_mac) {
|
|
|
|
|
sources = [
|
2018-08-30 09:30:29 +02:00
|
|
|
"objc/components/renderer/opengl/RTCNSGLVideoView.h",
|
|
|
|
|
"objc/components/renderer/opengl/RTCNSGLVideoView.m",
|
2017-05-31 05:14:26 -07:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
configs += [ "..:common_objc" ]
|
2017-04-21 00:02:02 -07:00
|
|
|
deps = [
|
2018-08-30 09:30:29 +02:00
|
|
|
":base_objc",
|
|
|
|
|
":helpers_objc",
|
2018-02-16 10:49:22 +01:00
|
|
|
":video_objc",
|
|
|
|
|
":videocapture_objc",
|
|
|
|
|
":videoframebuffer_objc",
|
2017-04-21 00:02:02 -07:00
|
|
|
]
|
2017-05-31 05:14:26 -07:00
|
|
|
}
|
2017-04-21 00:02:02 -07:00
|
|
|
|
2017-05-31 05:14:26 -07:00
|
|
|
if (rtc_use_metal_rendering) {
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("metal_objc") {
|
2018-02-16 17:55:36 +01:00
|
|
|
visibility = [ "*" ]
|
2019-07-10 12:44:43 +02:00
|
|
|
allow_poison = [
|
|
|
|
|
"audio_codecs", # TODO(bugs.webrtc.org/8396): Remove.
|
|
|
|
|
"default_task_queue",
|
|
|
|
|
]
|
2017-05-31 05:14:26 -07:00
|
|
|
sources = [
|
2018-08-30 09:30:29 +02:00
|
|
|
"objc/components/renderer/metal/RTCMTLI420Renderer.h",
|
|
|
|
|
"objc/components/renderer/metal/RTCMTLI420Renderer.mm",
|
|
|
|
|
"objc/components/renderer/metal/RTCMTLRenderer+Private.h",
|
|
|
|
|
"objc/components/renderer/metal/RTCMTLRenderer.h",
|
|
|
|
|
"objc/components/renderer/metal/RTCMTLRenderer.mm",
|
2017-05-31 05:14:26 -07:00
|
|
|
]
|
|
|
|
|
if (is_ios) {
|
|
|
|
|
sources += [
|
2018-08-30 09:30:29 +02:00
|
|
|
"objc/components/renderer/metal/RTCMTLNV12Renderer.h",
|
|
|
|
|
"objc/components/renderer/metal/RTCMTLNV12Renderer.mm",
|
|
|
|
|
"objc/components/renderer/metal/RTCMTLRGBRenderer.h",
|
|
|
|
|
"objc/components/renderer/metal/RTCMTLRGBRenderer.mm",
|
|
|
|
|
"objc/components/renderer/metal/RTCMTLVideoView.h",
|
|
|
|
|
"objc/components/renderer/metal/RTCMTLVideoView.m",
|
2017-05-31 05:14:26 -07:00
|
|
|
]
|
Reland of Split iOS sdk in to separate targets (patchset #1 id:1 of https://codereview.webrtc.org/2911053002/ )
Reason for revert:
Take three of relanding this after all internal issues have been resolved.
Original issue's description:
> Revert of Split iOS sdk in to separate targets (patchset #3 id:320001 of https://codereview.webrtc.org/2893843003/ )
>
> Reason for revert:
> Breaks downstream project.
>
> Original issue's description:
> > Reland of Split iOS sdk in to separate targets (patchset #1 id:1 of https://codereview.webrtc.org/2893593002/ )
> >
> > Reason for revert:
> > Take two of fixing downstream issues?
> >
> > Original issue's description:
> > > Revert of Split iOS sdk in to separate targets (patchset #1 id:1 of https://codereview.webrtc.org/2890733003/ )
> > >
> > > Reason for revert:
> > > Still problems with downstream projects
> > >
> > > Original issue's description:
> > > > Reland of Split iOS sdk in to separate targets (patchset #1 id:1 of https://codereview.webrtc.org/2890513002/ )
> > > >
> > > > Reason for revert:
> > > > Fixing downstream breakages
> > > >
> > > > Original issue's description:
> > > > > Revert of Split iOS sdk in to separate targets (patchset #13 id:280001 of https://codereview.webrtc.org/2862543002/ )
> > > > >
> > > > > Reason for revert:
> > > > > Breaking downstream projects.
> > > > >
> > > > > Original issue's description:
> > > > > > Split iOS sdk in to separate targets
> > > > > >
> > > > > > This CL splits the iOS sdk into separate static libraries for video,
> > > > > > audio, ui, common, and peerconnection-related code. This will in the
> > > > > > future make it easier to compile WebRTC without unneeded components.
> > > > > >
> > > > > > BUG=webrtc:4867
> > > > > >
> > > > > > Review-Url: https://codereview.webrtc.org/2862543002
> > > > > > Cr-Commit-Position: refs/heads/master@{#18166}
> > > > > > Committed: https://chromium.googlesource.com/external/webrtc/+/52c83fe7102f566cf35a7533092873d58b38f426
> > > > >
> > > > > TBR=magjed@webrtc.org,denicija@webrtc.org,tkchin@webrtc.org,henrika@webrtc.org,kthelgason@webrtc.org
> > > > > # Skipping CQ checks because original CL landed less than 1 days ago.
> > > > > NOPRESUBMIT=true
> > > > > NOTREECHECKS=true
> > > > > NOTRY=true
> > > > > BUG=webrtc:4867
> > > > >
> > > > > Review-Url: https://codereview.webrtc.org/2890513002
> > > > > Cr-Commit-Position: refs/heads/master@{#18170}
> > > > > Committed: https://chromium.googlesource.com/external/webrtc/+/9756238084707787f735e1294e896e462e459717
> > > >
> > > > TBR=magjed@webrtc.org,denicija@webrtc.org,tkchin@webrtc.org,henrika@webrtc.org,charujain@webrtc.org
> > > > # Skipping CQ checks because original CL landed less than 1 days ago.
> > > > NOPRESUBMIT=true
> > > > NOTREECHECKS=true
> > > > NOTRY=true
> > > > BUG=webrtc:4867
> > > >
> > > > Review-Url: https://codereview.webrtc.org/2890733003
> > > > Cr-Commit-Position: refs/heads/master@{#18174}
> > > > Committed: https://chromium.googlesource.com/external/webrtc/+/d51e042492bedd057bc0cac7828979d5c7369cea
> > >
> > > TBR=magjed@webrtc.org,denicija@webrtc.org,tkchin@webrtc.org,henrika@webrtc.org,charujain@webrtc.org
> > > # Skipping CQ checks because original CL landed less than 1 days ago.
> > > NOPRESUBMIT=true
> > > NOTREECHECKS=true
> > > NOTRY=true
> > > BUG=webrtc:4867
> > >
> > > Review-Url: https://codereview.webrtc.org/2893593002
> > > Cr-Commit-Position: refs/heads/master@{#18182}
> > > Committed: https://chromium.googlesource.com/external/webrtc/+/37144b214e2baf62ecb262ab878dde8c59cdd6a3
> >
> > TBR=magjed@webrtc.org,denicija@webrtc.org,tkchin@webrtc.org,henrika@webrtc.org,charujain@webrtc.org
> > # Skipping CQ checks because original CL landed less than 1 days ago.
> > NOPRESUBMIT=true
> > NOTREECHECKS=true
> > NOTRY=true
> > BUG=webrtc:4867
> >
> > Review-Url: https://codereview.webrtc.org/2893843003
> > Cr-Commit-Position: refs/heads/master@{#18303}
> > Committed: https://chromium.googlesource.com/external/webrtc/+/580c3522d294c877adfe555048c675bd8d166657
>
> TBR=magjed@webrtc.org,denicija@webrtc.org,tkchin@webrtc.org,henrika@webrtc.org,charujain@webrtc.org,kthelgason@webrtc.org
> # Skipping CQ checks because original CL landed less than 1 days ago.
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
> BUG=webrtc:4867
>
> Review-Url: https://codereview.webrtc.org/2911053002
> Cr-Commit-Position: refs/heads/master@{#18309}
> Committed: https://chromium.googlesource.com/external/webrtc/+/af5c05540cc8208f682cafe88c5c16a505479196
TBR=magjed@webrtc.org,denicija@webrtc.org,tkchin@webrtc.org,henrika@webrtc.org,charujain@webrtc.org,mbonadei@webrtc.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=webrtc:4867
Review-Url: https://codereview.webrtc.org/2913753003
Cr-Commit-Position: refs/heads/master@{#18319}
2017-05-30 01:48:47 -07:00
|
|
|
}
|
2020-07-03 10:19:30 +02:00
|
|
|
frameworks = [
|
2019-08-09 09:44:19 +02:00
|
|
|
"CoreVideo.framework",
|
|
|
|
|
"Metal.framework",
|
|
|
|
|
"MetalKit.framework",
|
|
|
|
|
]
|
2017-05-31 05:14:26 -07:00
|
|
|
if (is_mac) {
|
|
|
|
|
sources += [
|
2018-08-30 09:30:29 +02:00
|
|
|
"objc/components/renderer/metal/RTCMTLNSVideoView.h",
|
|
|
|
|
"objc/components/renderer/metal/RTCMTLNSVideoView.m",
|
2017-05-31 05:14:26 -07:00
|
|
|
]
|
2020-07-03 10:19:30 +02:00
|
|
|
frameworks += [ "AppKit.framework" ]
|
2017-05-31 05:14:26 -07:00
|
|
|
}
|
|
|
|
|
deps = [
|
2018-08-30 09:30:29 +02:00
|
|
|
":base_objc",
|
2018-02-16 10:49:22 +01:00
|
|
|
":peerconnectionfactory_base_objc",
|
2017-08-24 05:43:45 -07:00
|
|
|
":video_objc",
|
2018-02-16 10:49:22 +01:00
|
|
|
":videoframebuffer_objc",
|
2018-05-11 11:15:30 +02:00
|
|
|
"../api/video:video_frame",
|
2019-06-10 12:59:38 +02:00
|
|
|
"../api/video:video_rtp_headers",
|
2017-12-13 16:05:42 +01:00
|
|
|
"../rtc_base:checks",
|
2017-07-19 10:40:47 -07:00
|
|
|
"../rtc_base:rtc_base_approved",
|
2017-05-31 05:14:26 -07:00
|
|
|
]
|
|
|
|
|
configs += [ "..:common_objc" ]
|
2017-08-24 05:43:45 -07:00
|
|
|
public_configs = [ ":common_config_objc" ]
|
2017-01-04 07:11:23 -08:00
|
|
|
}
|
|
|
|
|
}
|
2016-09-15 04:30:18 -07:00
|
|
|
|
2018-08-30 09:30:29 +02:00
|
|
|
# TODO(bugs.webrtc.org/9627): Remove this target.
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("videocapturebase_objc") {
|
2018-03-15 09:41:03 +01:00
|
|
|
visibility = [ "*" ]
|
2020-01-16 14:41:10 +01:00
|
|
|
sources = [ "objc/helpers/noop.mm" ]
|
2018-03-15 09:41:03 +01:00
|
|
|
|
|
|
|
|
configs += [ "..:common_objc" ]
|
|
|
|
|
|
|
|
|
|
public_configs = [ ":common_config_objc" ]
|
|
|
|
|
|
|
|
|
|
deps = [
|
2018-08-30 09:30:29 +02:00
|
|
|
":base_objc",
|
2018-03-15 09:41:03 +01:00
|
|
|
":videoframebuffer_objc",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("videocapture_objc") {
|
2018-01-10 15:54:53 +00:00
|
|
|
visibility = [ "*" ]
|
2019-01-14 14:23:23 +01:00
|
|
|
allow_poison = [ "audio_codecs" ] # TODO(bugs.webrtc.org/8396): Remove.
|
2017-05-31 05:14:26 -07:00
|
|
|
sources = [
|
2018-08-30 09:30:29 +02:00
|
|
|
"objc/components/capturer/RTCCameraVideoCapturer.h",
|
|
|
|
|
"objc/components/capturer/RTCCameraVideoCapturer.m",
|
2017-06-28 14:05:44 -07:00
|
|
|
]
|
|
|
|
|
if (is_ios) {
|
|
|
|
|
sources += [
|
2018-08-30 09:30:29 +02:00
|
|
|
"objc/components/capturer/RTCFileVideoCapturer.h",
|
|
|
|
|
"objc/components/capturer/RTCFileVideoCapturer.m",
|
2017-06-28 14:05:44 -07:00
|
|
|
]
|
|
|
|
|
}
|
2020-07-03 10:19:30 +02:00
|
|
|
frameworks = [
|
2019-03-07 10:44:26 +01:00
|
|
|
"AVFoundation.framework",
|
|
|
|
|
"CoreVideo.framework",
|
|
|
|
|
]
|
2017-06-28 14:05:44 -07:00
|
|
|
|
|
|
|
|
configs += [ "..:common_objc" ]
|
|
|
|
|
|
2017-08-24 05:43:45 -07:00
|
|
|
public_configs = [ ":common_config_objc" ]
|
2017-06-28 14:05:44 -07:00
|
|
|
|
|
|
|
|
deps = [
|
2018-08-30 09:30:29 +02:00
|
|
|
":base_objc",
|
|
|
|
|
":helpers_objc",
|
2017-08-24 05:43:45 -07:00
|
|
|
":video_objc",
|
2018-02-16 10:49:22 +01:00
|
|
|
":videoframebuffer_objc",
|
2020-03-16 18:00:59 +03:00
|
|
|
"../rtc_base/system:gcd_helpers",
|
2017-06-28 14:05:44 -07:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("videocodec_objc") {
|
2018-04-22 19:55:00 +02:00
|
|
|
visibility = [ "*" ]
|
2018-09-06 13:45:44 +02:00
|
|
|
configs += [ "..:no_global_constructors" ]
|
2018-02-16 10:49:22 +01:00
|
|
|
sources = [
|
2018-08-30 09:30:29 +02:00
|
|
|
"objc/components/video_codec/RTCCodecSpecificInfoH264+Private.h",
|
|
|
|
|
"objc/components/video_codec/RTCCodecSpecificInfoH264.h",
|
|
|
|
|
"objc/components/video_codec/RTCCodecSpecificInfoH264.mm",
|
|
|
|
|
"objc/components/video_codec/RTCH264ProfileLevelId.h",
|
|
|
|
|
"objc/components/video_codec/RTCH264ProfileLevelId.mm",
|
2017-06-28 14:05:44 -07:00
|
|
|
]
|
2018-04-26 15:41:01 +03:00
|
|
|
if (is_ios) {
|
|
|
|
|
sources += [
|
2018-08-30 09:30:29 +02:00
|
|
|
"objc/components/video_codec/UIDevice+H264Profile.h",
|
|
|
|
|
"objc/components/video_codec/UIDevice+H264Profile.mm",
|
2018-04-26 15:41:01 +03:00
|
|
|
]
|
|
|
|
|
}
|
2019-03-01 10:32:56 +01:00
|
|
|
|
2018-02-16 10:49:22 +01:00
|
|
|
public_configs = [ ":common_config_objc" ]
|
|
|
|
|
deps = [
|
2018-08-30 09:30:29 +02:00
|
|
|
":base_objc",
|
|
|
|
|
":helpers_objc",
|
Reland of Injectable Obj-C video codecs (patchset #1 id:1 of https://codereview.webrtc.org/2980173002/ )
Reason for revert:
Relanding after fixing issues with no video.
Original issue's description:
> Revert of Injectable Obj-C video codecs (patchset #2 id:370001 of https://codereview.webrtc.org/2979983002/ )
>
> Reason for revert:
> Still having problems with no video. Reverting.
> Once no video is visible, no video is available from then on even if the callee app is in the foreground.
>
>
> Original issue's description:
> > Reland of Injectable Obj-C video codecs (patchset #1 id:1 of https://codereview.webrtc.org/2979973002/ )
> >
> > Reason for revert:
> > Fix the broken build file
> >
> > Original issue's description:
> > > Revert of Injectable Obj-C video codecs (patchset #3 id:400001 of https://codereview.webrtc.org/2981583002/ )
> > >
> > > Reason for revert:
> > > Breaks bots. Build file incorrect.
> > >
> > > Original issue's description:
> > > > Reland of Injectable Obj-C video codecs (patchset #1 id:1 of https://codereview.webrtc.org/2975963002/ )
> > > >
> > > > Reason for revert:
> > > > New CL for fixing the issues
> > > >
> > > > Original issue's description:
> > > > > Revert of Injectable Obj-C video codecs (patchset #8 id:140001 of https://codereview.webrtc.org/2966023002/ )
> > > > >
> > > > > Reason for revert:
> > > > > Causes no video in certain scenarios. Please come up with a test plan or unit test to prevent such problems in the future.
> > > > >
> > > > > Original issue's description:
> > > > > > Injectable Obj-C video codecs
> > > > > >
> > > > > > Initial CL for this effort, with a working RTCVideoEncoder/Decoder for H264
> > > > > > (wrapping the VideoToolbox codec).
> > > > > >
> > > > > > Some notes / things left to do:
> > > > > > - There are some hard-coded references to codec types that are supported by
> > > > > > webrtc::VideoCodec, cricket::VideoCodec, webrtc::CodecSpecificInfo etc
> > > > > > since we need to convert to/from these types in ObjCVideoEncoder/Decoder.
> > > > > > These types would need to be more codec agnostic to avoid this.
> > > > > > - Most interfaces are borrowed from the design document for injectable
> > > > > > codecs in Android. Some data in the corresponding C++ classes is discarded
> > > > > > when converting to the Obj-C version, since it has fewer fields. I have not
> > > > > > verified whether all data that we do keep is needed, or whether we might be
> > > > > > losing anything useful in these conversions.
> > > > > > - Implement the VideoToolbox codec code directly in the RTCVideoEncoderH264
> > > > > > classes, instead of wrapping webrtc::H264VideoToolboxEncoder / decoder.
> > > > > > Eliminates converting between ObjC/C++ types outside the ObjCVideoEncoder/
> > > > > > Decoder wrapper classes.
> > > > > > - List the injected codec factory's supported codecs in the list of codecs in
> > > > > > AppRTCMobile.
> > > > > >
> > > > > > BUG=webrtc:7924
> > > > > > R=magjed@webrtc.org
> > > > > >
> > > > > > Review-Url: https://codereview.webrtc.org/2966023002 .
> > > > > > Cr-Commit-Position: refs/heads/master@{#18928}
> > > > > > Committed: https://chromium.googlesource.com/external/webrtc/+/a0349c138db62c52435be84b6c837f5f4758e264
> > > > >
> > > > > TBR=magjed@webrtc.org,andersc@webrtc.org
> > > > > # Not skipping CQ checks because original CL landed more than 1 days ago.
> > > > > BUG=webrtc:7924
> > > > > NOTRY=true
> > > > >
> > > > > Review-Url: https://codereview.webrtc.org/2975963002
> > > > > Cr-Commit-Position: refs/heads/master@{#18979}
> > > > > Committed: https://chromium.googlesource.com/external/webrtc/+/1095ada7ad56fe29b7b2bbc560a8f6475a7978ce
> > > >
> > > > R=magjed@webrtc.org
> > > > TBR=tkchin@webrtc.org
> > > > # Skipping CQ checks because original CL landed less than 1 days ago.
> > > > NOPRESUBMIT=true
> > > > NOTREECHECKS=true
> > > > NOTRY=true
> > > > BUG=webrtc:7924
> > > >
> > > > Review-Url: https://codereview.webrtc.org/2981583002 .
> > > > Cr-Commit-Position: refs/heads/master@{#19002}
> > > > Committed: https://chromium.googlesource.com/external/webrtc/+/a5f1de1e6541de03f944bcbf49be87c01f57a18b
> > >
> > > TBR=magjed@webrtc.org,tkchin@webrtc.org,jtteh@webrtc.org,andersc@webrtc.org
> > > # Skipping CQ checks because original CL landed less than 1 days ago.
> > > NOPRESUBMIT=true
> > > NOTREECHECKS=true
> > > NOTRY=true
> > > BUG=webrtc:7924
> > >
> > > Review-Url: https://codereview.webrtc.org/2979973002
> > > Cr-Commit-Position: refs/heads/master@{#19004}
> > > Committed: https://chromium.googlesource.com/external/webrtc/+/81d40ee1491d5229c2677cc04b1f40d67c2babef
> >
> > TBR=magjed@webrtc.org,tkchin@webrtc.org,jtteh@webrtc.org,sprang@webrtc.org
> > BUG=webrtc:7924
> >
> > Review-Url: https://codereview.webrtc.org/2979983002
> > Cr-Commit-Position: refs/heads/master@{#19005}
> > Committed: https://chromium.googlesource.com/external/webrtc/+/732a3437da4db7b452758b8e1cf26fce0ce3bf65
>
> TBR=magjed@webrtc.org,tkchin@webrtc.org,sprang@webrtc.org,haysc@webrtc.org,andersc@webrtc.org
> # Not skipping CQ checks because original CL landed more than 1 days ago.
> BUG=webrtc:7924
>
> Review-Url: https://codereview.webrtc.org/2980173002
> Cr-Commit-Position: refs/heads/master@{#19036}
> Committed: https://chromium.googlesource.com/external/webrtc/+/860f7298166084d966749e22b69aa2fdcf4d4ed6
TBR=magjed@webrtc.org,tkchin@webrtc.org,sprang@webrtc.org,haysc@webrtc.org,andersc@webrtc.org,jtteh@webrtc.org
# Not skipping CQ checks because original CL landed more than 1 days ago.
BUG=webrtc:7924
Review-Url: https://codereview.webrtc.org/2977213002
Cr-Commit-Position: refs/heads/master@{#19135}
2017-07-25 07:55:58 -07:00
|
|
|
"../api/video_codecs:video_codecs_api",
|
2018-02-16 10:49:22 +01:00
|
|
|
"../common_video",
|
2018-04-26 15:41:01 +03:00
|
|
|
"../media:rtc_h264_profile_id",
|
2017-06-28 14:05:44 -07:00
|
|
|
"../media:rtc_media_base",
|
2018-02-16 10:49:22 +01:00
|
|
|
"../modules:module_api",
|
|
|
|
|
"../modules/video_coding:video_codec_interface",
|
2018-08-30 09:30:29 +02:00
|
|
|
"../rtc_base:checks",
|
2018-02-16 10:49:22 +01:00
|
|
|
"../rtc_base:rtc_base_approved",
|
2017-06-28 14:05:44 -07:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("default_codec_factory_objc") {
|
2018-01-30 10:32:13 +01:00
|
|
|
sources = [
|
2018-08-30 09:30:29 +02:00
|
|
|
"objc/components/video_codec/RTCDefaultVideoDecoderFactory.h",
|
|
|
|
|
"objc/components/video_codec/RTCDefaultVideoDecoderFactory.m",
|
|
|
|
|
"objc/components/video_codec/RTCDefaultVideoEncoderFactory.h",
|
|
|
|
|
"objc/components/video_codec/RTCDefaultVideoEncoderFactory.m",
|
2018-01-30 10:32:13 +01:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
2018-08-30 09:30:29 +02:00
|
|
|
":base_objc",
|
2018-02-16 10:49:22 +01:00
|
|
|
":native_video",
|
|
|
|
|
":videocodec_objc",
|
2018-08-30 09:30:29 +02:00
|
|
|
":videotoolbox_objc",
|
2018-04-13 15:36:43 +02:00
|
|
|
":vp8",
|
|
|
|
|
":vp9",
|
2018-08-30 09:30:29 +02:00
|
|
|
":vpx_codec_constants",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("vpx_codec_constants") {
|
2018-09-06 13:45:44 +02:00
|
|
|
configs += [ "..:no_global_constructors" ]
|
2018-08-30 09:30:29 +02:00
|
|
|
sources = [
|
|
|
|
|
"objc/api/video_codec/RTCVideoCodecConstants.h",
|
|
|
|
|
"objc/api/video_codec/RTCVideoCodecConstants.mm",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
":base_objc",
|
|
|
|
|
"../media:rtc_media_base",
|
2018-01-30 10:32:13 +01:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("vp8") {
|
2018-02-16 10:49:22 +01:00
|
|
|
visibility = [ "*" ]
|
2018-04-27 04:31:53 +02:00
|
|
|
allow_poison = [ "software_video_codecs" ]
|
2018-01-30 10:32:13 +01:00
|
|
|
sources = [
|
2018-08-30 09:30:29 +02:00
|
|
|
"objc/api/video_codec/RTCVideoDecoderVP8.h",
|
|
|
|
|
"objc/api/video_codec/RTCVideoDecoderVP8.mm",
|
|
|
|
|
"objc/api/video_codec/RTCVideoEncoderVP8.h",
|
|
|
|
|
"objc/api/video_codec/RTCVideoEncoderVP8.mm",
|
2018-01-30 10:32:13 +01:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
2018-08-30 09:30:29 +02:00
|
|
|
":base_objc",
|
2018-03-07 10:32:03 +01:00
|
|
|
":wrapped_native_codec_objc",
|
2018-01-30 10:32:13 +01:00
|
|
|
"../modules/video_coding:webrtc_vp8",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("vp9") {
|
2018-02-16 10:49:22 +01:00
|
|
|
visibility = [ "*" ]
|
2018-04-27 04:31:53 +02:00
|
|
|
allow_poison = [ "software_video_codecs" ]
|
2018-01-30 10:32:13 +01:00
|
|
|
sources = [
|
2018-08-30 09:30:29 +02:00
|
|
|
"objc/api/video_codec/RTCVideoDecoderVP9.h",
|
|
|
|
|
"objc/api/video_codec/RTCVideoDecoderVP9.mm",
|
|
|
|
|
"objc/api/video_codec/RTCVideoEncoderVP9.h",
|
|
|
|
|
"objc/api/video_codec/RTCVideoEncoderVP9.mm",
|
2018-01-30 10:32:13 +01:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
2018-08-30 09:30:29 +02:00
|
|
|
":base_objc",
|
2018-03-07 10:32:03 +01:00
|
|
|
":wrapped_native_codec_objc",
|
2018-08-30 09:30:29 +02:00
|
|
|
"../media:rtc_media_base",
|
2018-01-30 10:32:13 +01:00
|
|
|
"../modules/video_coding:webrtc_vp9",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2017-06-28 14:05:44 -07:00
|
|
|
# Build the PeerConnectionFactory without audio/video support.
|
|
|
|
|
# This target depends on the objc_peeerconnectionfactory_base which still
|
|
|
|
|
# includes some audio/video related objects such as RTCAudioSource because
|
|
|
|
|
# these objects are just thin wrappers of native C++ interfaces required
|
|
|
|
|
# when implementing webrtc::PeerConnectionFactoryInterface and
|
|
|
|
|
# webrtc::PeerConnectionInterface.
|
2018-03-06 10:18:43 +01:00
|
|
|
# The applications which only use WebRTC DataChannel can depend on this.
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("peerconnectionfactory_no_media_objc") {
|
2018-01-10 15:54:53 +00:00
|
|
|
visibility = [ "*" ]
|
2019-07-10 12:44:43 +02:00
|
|
|
allow_poison = [
|
|
|
|
|
"audio_codecs", # TODO(bugs.webrtc.org/8396): Remove.
|
|
|
|
|
"default_task_queue",
|
|
|
|
|
]
|
2017-06-28 14:05:44 -07:00
|
|
|
defines = [ "HAVE_NO_MEDIA" ]
|
|
|
|
|
|
2020-01-16 14:41:10 +01:00
|
|
|
sources = [ "objc/helpers/noop.mm" ]
|
2017-06-28 14:05:44 -07:00
|
|
|
|
2017-08-24 05:43:45 -07:00
|
|
|
public_configs = [ ":common_config_objc" ]
|
2017-06-28 14:05:44 -07:00
|
|
|
|
|
|
|
|
deps = [
|
2018-02-01 15:47:05 +01:00
|
|
|
":native_api",
|
|
|
|
|
":native_video",
|
2017-08-24 05:43:45 -07:00
|
|
|
":peerconnectionfactory_base_objc",
|
2017-06-28 14:05:44 -07:00
|
|
|
"../api:libjingle_peerconnection_api",
|
2019-03-21 13:35:10 +01:00
|
|
|
"../rtc_base",
|
2017-06-28 14:05:44 -07:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("mediaconstraints_objc") {
|
2018-09-06 13:45:44 +02:00
|
|
|
configs += [ "..:no_global_constructors" ]
|
2018-02-16 10:49:22 +01:00
|
|
|
sources = [
|
2018-08-30 09:30:29 +02:00
|
|
|
"objc/api/peerconnection/RTCMediaConstraints+Private.h",
|
|
|
|
|
"objc/api/peerconnection/RTCMediaConstraints.h",
|
|
|
|
|
"objc/api/peerconnection/RTCMediaConstraints.mm",
|
2018-02-16 10:49:22 +01:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
public_configs = [ ":common_config_objc" ]
|
|
|
|
|
deps = [
|
2018-08-30 09:30:29 +02:00
|
|
|
":base_objc",
|
|
|
|
|
":helpers_objc",
|
2019-02-13 08:52:27 +01:00
|
|
|
":media_constraints",
|
2018-02-16 10:49:22 +01:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2018-08-30 09:30:29 +02:00
|
|
|
# TODO(bugs.webrtc.org/9627): Remove, targets should depend on base_objc.
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("videorenderer_objc") {
|
2018-08-30 09:30:29 +02:00
|
|
|
visibility = [ "*" ]
|
2020-01-16 14:41:10 +01:00
|
|
|
sources = [ "objc/helpers/noop.mm" ]
|
2018-03-07 10:32:03 +01:00
|
|
|
|
|
|
|
|
configs += [ "..:common_objc" ]
|
|
|
|
|
public_configs = [ ":common_config_objc" ]
|
2018-08-30 09:30:29 +02:00
|
|
|
|
2020-01-16 14:41:10 +01:00
|
|
|
deps = [ ":base_objc" ]
|
2018-03-07 10:32:03 +01:00
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("videorendereradapter_objc") {
|
2018-04-22 19:55:00 +02:00
|
|
|
visibility = [ "*" ]
|
2019-01-14 14:23:23 +01:00
|
|
|
allow_poison = [ "audio_codecs" ] # TODO(bugs.webrtc.org/8396): Remove.
|
2018-03-07 10:32:03 +01:00
|
|
|
sources = [
|
2018-08-30 09:30:29 +02:00
|
|
|
"objc/api/RTCVideoRendererAdapter+Private.h",
|
|
|
|
|
"objc/api/RTCVideoRendererAdapter.h",
|
|
|
|
|
"objc/api/RTCVideoRendererAdapter.mm",
|
2018-03-07 10:32:03 +01:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
configs += [ "..:common_objc" ]
|
|
|
|
|
public_configs = [ ":common_config_objc" ]
|
|
|
|
|
|
|
|
|
|
deps = [
|
2018-08-30 09:30:29 +02:00
|
|
|
":base_objc",
|
2018-03-07 10:32:03 +01:00
|
|
|
":native_api",
|
|
|
|
|
":videoframebuffer_objc",
|
|
|
|
|
"../api:libjingle_peerconnection_api",
|
2019-09-17 14:30:41 +02:00
|
|
|
"../api:media_stream_interface",
|
2018-03-07 10:32:03 +01:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("mediasource_objc") {
|
2018-03-07 10:32:03 +01:00
|
|
|
sources = [
|
2018-08-30 09:30:29 +02:00
|
|
|
"objc/api/peerconnection/RTCMediaSource+Private.h",
|
|
|
|
|
"objc/api/peerconnection/RTCMediaSource.h",
|
|
|
|
|
"objc/api/peerconnection/RTCMediaSource.mm",
|
2018-03-07 10:32:03 +01:00
|
|
|
]
|
|
|
|
|
|
2018-06-04 10:24:37 +02:00
|
|
|
configs += [
|
|
|
|
|
"..:common_objc",
|
|
|
|
|
":used_from_extension",
|
|
|
|
|
]
|
2018-03-07 10:32:03 +01:00
|
|
|
public_configs = [ ":common_config_objc" ]
|
|
|
|
|
|
|
|
|
|
deps = [
|
2018-08-30 09:30:29 +02:00
|
|
|
":base_objc",
|
2019-09-17 14:30:41 +02:00
|
|
|
"../api:media_stream_interface",
|
2018-03-07 10:32:03 +01:00
|
|
|
"../rtc_base:checks",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("base_native_additions_objc") {
|
2018-08-30 09:30:29 +02:00
|
|
|
sources = [
|
|
|
|
|
"objc/api/peerconnection/RTCEncodedImage+Private.h",
|
|
|
|
|
"objc/api/peerconnection/RTCEncodedImage+Private.mm",
|
|
|
|
|
"objc/api/peerconnection/RTCVideoCodecInfo+Private.h",
|
|
|
|
|
"objc/api/peerconnection/RTCVideoCodecInfo+Private.mm",
|
|
|
|
|
"objc/api/peerconnection/RTCVideoEncoderSettings+Private.h",
|
|
|
|
|
"objc/api/peerconnection/RTCVideoEncoderSettings+Private.mm",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
configs += [ "..:common_objc" ]
|
|
|
|
|
|
|
|
|
|
public_configs = [ ":common_config_objc" ]
|
|
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
":base_objc",
|
|
|
|
|
":helpers_objc",
|
2018-10-05 14:17:58 +02:00
|
|
|
"../api/video:encoded_image",
|
2018-08-30 09:30:29 +02:00
|
|
|
"../api/video_codecs:video_codecs_api",
|
|
|
|
|
"../modules:module_api",
|
|
|
|
|
"../modules/video_coding:video_codec_interface",
|
2019-03-21 13:35:10 +01:00
|
|
|
"../rtc_base",
|
2018-08-30 09:30:29 +02:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("peerconnectionfactory_base_objc") {
|
2018-04-22 19:55:00 +02:00
|
|
|
visibility = [ "*" ]
|
2019-07-10 12:44:43 +02:00
|
|
|
allow_poison = [
|
|
|
|
|
"audio_codecs", # TODO(bugs.webrtc.org/8396): Remove.
|
|
|
|
|
"default_task_queue",
|
|
|
|
|
]
|
2018-09-06 13:45:44 +02:00
|
|
|
configs += [
|
|
|
|
|
"..:no_exit_time_destructors",
|
|
|
|
|
"..:no_global_constructors",
|
|
|
|
|
]
|
2017-06-28 14:05:44 -07:00
|
|
|
sources = [
|
2018-08-30 09:30:29 +02:00
|
|
|
"objc/api/peerconnection/RTCAudioSource+Private.h",
|
|
|
|
|
"objc/api/peerconnection/RTCAudioSource.h",
|
|
|
|
|
"objc/api/peerconnection/RTCAudioSource.mm",
|
|
|
|
|
"objc/api/peerconnection/RTCAudioTrack+Private.h",
|
|
|
|
|
"objc/api/peerconnection/RTCAudioTrack.h",
|
|
|
|
|
"objc/api/peerconnection/RTCAudioTrack.mm",
|
|
|
|
|
"objc/api/peerconnection/RTCCertificate.h",
|
|
|
|
|
"objc/api/peerconnection/RTCCertificate.mm",
|
|
|
|
|
"objc/api/peerconnection/RTCConfiguration+Native.h",
|
|
|
|
|
"objc/api/peerconnection/RTCConfiguration+Private.h",
|
|
|
|
|
"objc/api/peerconnection/RTCConfiguration.h",
|
|
|
|
|
"objc/api/peerconnection/RTCConfiguration.mm",
|
2018-10-25 10:16:44 -07:00
|
|
|
"objc/api/peerconnection/RTCCryptoOptions.h",
|
|
|
|
|
"objc/api/peerconnection/RTCCryptoOptions.mm",
|
2018-08-30 09:30:29 +02:00
|
|
|
"objc/api/peerconnection/RTCDataChannel+Private.h",
|
|
|
|
|
"objc/api/peerconnection/RTCDataChannel.h",
|
|
|
|
|
"objc/api/peerconnection/RTCDataChannel.mm",
|
|
|
|
|
"objc/api/peerconnection/RTCDataChannelConfiguration+Private.h",
|
|
|
|
|
"objc/api/peerconnection/RTCDataChannelConfiguration.h",
|
|
|
|
|
"objc/api/peerconnection/RTCDataChannelConfiguration.mm",
|
|
|
|
|
"objc/api/peerconnection/RTCDtmfSender+Private.h",
|
|
|
|
|
"objc/api/peerconnection/RTCDtmfSender.h",
|
|
|
|
|
"objc/api/peerconnection/RTCDtmfSender.mm",
|
|
|
|
|
"objc/api/peerconnection/RTCFieldTrials.h",
|
|
|
|
|
"objc/api/peerconnection/RTCFieldTrials.mm",
|
|
|
|
|
"objc/api/peerconnection/RTCIceCandidate+Private.h",
|
|
|
|
|
"objc/api/peerconnection/RTCIceCandidate.h",
|
|
|
|
|
"objc/api/peerconnection/RTCIceCandidate.mm",
|
|
|
|
|
"objc/api/peerconnection/RTCIceServer+Private.h",
|
|
|
|
|
"objc/api/peerconnection/RTCIceServer.h",
|
|
|
|
|
"objc/api/peerconnection/RTCIceServer.mm",
|
|
|
|
|
"objc/api/peerconnection/RTCLegacyStatsReport+Private.h",
|
|
|
|
|
"objc/api/peerconnection/RTCLegacyStatsReport.h",
|
|
|
|
|
"objc/api/peerconnection/RTCLegacyStatsReport.mm",
|
|
|
|
|
"objc/api/peerconnection/RTCMediaStream+Private.h",
|
|
|
|
|
"objc/api/peerconnection/RTCMediaStream.h",
|
|
|
|
|
"objc/api/peerconnection/RTCMediaStream.mm",
|
|
|
|
|
"objc/api/peerconnection/RTCMediaStreamTrack+Private.h",
|
|
|
|
|
"objc/api/peerconnection/RTCMediaStreamTrack.h",
|
|
|
|
|
"objc/api/peerconnection/RTCMediaStreamTrack.mm",
|
|
|
|
|
"objc/api/peerconnection/RTCMetrics.h",
|
|
|
|
|
"objc/api/peerconnection/RTCMetrics.mm",
|
|
|
|
|
"objc/api/peerconnection/RTCMetricsSampleInfo+Private.h",
|
|
|
|
|
"objc/api/peerconnection/RTCMetricsSampleInfo.h",
|
|
|
|
|
"objc/api/peerconnection/RTCMetricsSampleInfo.mm",
|
|
|
|
|
"objc/api/peerconnection/RTCPeerConnection+DataChannel.mm",
|
|
|
|
|
"objc/api/peerconnection/RTCPeerConnection+Private.h",
|
|
|
|
|
"objc/api/peerconnection/RTCPeerConnection+Stats.mm",
|
|
|
|
|
"objc/api/peerconnection/RTCPeerConnection.h",
|
|
|
|
|
"objc/api/peerconnection/RTCPeerConnection.mm",
|
|
|
|
|
"objc/api/peerconnection/RTCPeerConnectionFactory+Native.h",
|
|
|
|
|
"objc/api/peerconnection/RTCPeerConnectionFactory+Private.h",
|
|
|
|
|
"objc/api/peerconnection/RTCPeerConnectionFactory.h",
|
|
|
|
|
"objc/api/peerconnection/RTCPeerConnectionFactory.mm",
|
|
|
|
|
"objc/api/peerconnection/RTCPeerConnectionFactoryBuilder+DefaultComponents.h",
|
|
|
|
|
"objc/api/peerconnection/RTCPeerConnectionFactoryBuilder+DefaultComponents.mm",
|
|
|
|
|
"objc/api/peerconnection/RTCPeerConnectionFactoryBuilder.h",
|
|
|
|
|
"objc/api/peerconnection/RTCPeerConnectionFactoryBuilder.mm",
|
|
|
|
|
"objc/api/peerconnection/RTCPeerConnectionFactoryOptions+Private.h",
|
|
|
|
|
"objc/api/peerconnection/RTCPeerConnectionFactoryOptions.h",
|
|
|
|
|
"objc/api/peerconnection/RTCPeerConnectionFactoryOptions.mm",
|
|
|
|
|
"objc/api/peerconnection/RTCRtcpParameters+Private.h",
|
|
|
|
|
"objc/api/peerconnection/RTCRtcpParameters.h",
|
|
|
|
|
"objc/api/peerconnection/RTCRtcpParameters.mm",
|
|
|
|
|
"objc/api/peerconnection/RTCRtpCodecParameters+Private.h",
|
|
|
|
|
"objc/api/peerconnection/RTCRtpCodecParameters.h",
|
|
|
|
|
"objc/api/peerconnection/RTCRtpCodecParameters.mm",
|
|
|
|
|
"objc/api/peerconnection/RTCRtpEncodingParameters+Private.h",
|
|
|
|
|
"objc/api/peerconnection/RTCRtpEncodingParameters.h",
|
|
|
|
|
"objc/api/peerconnection/RTCRtpEncodingParameters.mm",
|
|
|
|
|
"objc/api/peerconnection/RTCRtpHeaderExtension+Private.h",
|
|
|
|
|
"objc/api/peerconnection/RTCRtpHeaderExtension.h",
|
|
|
|
|
"objc/api/peerconnection/RTCRtpHeaderExtension.mm",
|
|
|
|
|
"objc/api/peerconnection/RTCRtpParameters+Private.h",
|
|
|
|
|
"objc/api/peerconnection/RTCRtpParameters.h",
|
|
|
|
|
"objc/api/peerconnection/RTCRtpParameters.mm",
|
2018-10-02 10:20:58 -07:00
|
|
|
"objc/api/peerconnection/RTCRtpReceiver+Native.h",
|
2018-08-30 09:30:29 +02:00
|
|
|
"objc/api/peerconnection/RTCRtpReceiver+Private.h",
|
|
|
|
|
"objc/api/peerconnection/RTCRtpReceiver.h",
|
|
|
|
|
"objc/api/peerconnection/RTCRtpReceiver.mm",
|
2018-10-02 10:20:58 -07:00
|
|
|
"objc/api/peerconnection/RTCRtpSender+Native.h",
|
2018-08-30 09:30:29 +02:00
|
|
|
"objc/api/peerconnection/RTCRtpSender+Private.h",
|
|
|
|
|
"objc/api/peerconnection/RTCRtpSender.h",
|
|
|
|
|
"objc/api/peerconnection/RTCRtpSender.mm",
|
|
|
|
|
"objc/api/peerconnection/RTCRtpTransceiver+Private.h",
|
|
|
|
|
"objc/api/peerconnection/RTCRtpTransceiver.h",
|
|
|
|
|
"objc/api/peerconnection/RTCRtpTransceiver.mm",
|
|
|
|
|
"objc/api/peerconnection/RTCSSLAdapter.h",
|
|
|
|
|
"objc/api/peerconnection/RTCSSLAdapter.mm",
|
|
|
|
|
"objc/api/peerconnection/RTCSessionDescription+Private.h",
|
|
|
|
|
"objc/api/peerconnection/RTCSessionDescription.h",
|
|
|
|
|
"objc/api/peerconnection/RTCSessionDescription.mm",
|
2019-02-21 17:27:09 +01:00
|
|
|
"objc/api/peerconnection/RTCStatisticsReport+Private.h",
|
|
|
|
|
"objc/api/peerconnection/RTCStatisticsReport.h",
|
|
|
|
|
"objc/api/peerconnection/RTCStatisticsReport.mm",
|
2018-08-30 09:30:29 +02:00
|
|
|
"objc/api/peerconnection/RTCTracing.h",
|
|
|
|
|
"objc/api/peerconnection/RTCTracing.mm",
|
|
|
|
|
"objc/api/peerconnection/RTCVideoTrack+Private.h",
|
|
|
|
|
"objc/api/peerconnection/RTCVideoTrack.h",
|
|
|
|
|
"objc/api/peerconnection/RTCVideoTrack.mm",
|
2016-12-05 11:27:30 -08:00
|
|
|
]
|
2016-09-15 04:30:18 -07:00
|
|
|
|
2018-06-04 10:24:37 +02:00
|
|
|
configs += [
|
|
|
|
|
"..:common_objc",
|
|
|
|
|
":used_from_extension",
|
|
|
|
|
]
|
2017-08-24 05:43:45 -07:00
|
|
|
public_configs = [ ":common_config_objc" ]
|
2017-05-31 05:14:26 -07:00
|
|
|
|
2016-09-15 04:30:18 -07:00
|
|
|
deps = [
|
2018-08-30 09:30:29 +02:00
|
|
|
":base_native_additions_objc",
|
|
|
|
|
":base_objc",
|
|
|
|
|
":file_logger_objc",
|
|
|
|
|
":helpers_objc",
|
|
|
|
|
":legacy_header_paths",
|
2018-02-16 10:49:22 +01:00
|
|
|
":mediaconstraints_objc",
|
2018-03-07 10:32:03 +01:00
|
|
|
":mediasource_objc",
|
2018-02-01 15:47:05 +01:00
|
|
|
":native_api",
|
|
|
|
|
":native_video",
|
2018-02-16 10:49:22 +01:00
|
|
|
":video_objc",
|
|
|
|
|
":videoframebuffer_objc",
|
2018-03-07 10:32:03 +01:00
|
|
|
":videorendereradapter_objc",
|
|
|
|
|
":videosource_objc",
|
2018-08-30 09:30:29 +02:00
|
|
|
":videotoolbox_objc",
|
2017-12-06 11:23:19 +01:00
|
|
|
"../api:libjingle_peerconnection_api",
|
2019-09-17 14:30:41 +02:00
|
|
|
"../api:media_stream_interface",
|
2019-05-13 12:27:23 +02:00
|
|
|
"../api:rtc_event_log_output_file",
|
2019-02-21 17:27:09 +01:00
|
|
|
"../api:rtc_stats_api",
|
2019-08-26 10:45:28 +02:00
|
|
|
"../api:rtp_parameters",
|
2019-01-25 20:26:48 +01:00
|
|
|
"../api:scoped_refptr",
|
2018-06-20 16:18:59 -07:00
|
|
|
"../api/audio_codecs:audio_codecs_api",
|
2018-04-06 10:06:42 +02:00
|
|
|
"../api/audio_codecs:builtin_audio_decoder_factory",
|
2018-06-20 16:18:59 -07:00
|
|
|
"../api/audio_codecs:builtin_audio_encoder_factory",
|
2019-09-13 14:42:15 +02:00
|
|
|
"../api/crypto:frame_decryptor_interface",
|
|
|
|
|
"../api/crypto:frame_encryptor_interface",
|
2019-06-26 15:49:47 +02:00
|
|
|
"../api/rtc_event_log:rtc_event_log_factory",
|
2019-05-17 13:20:14 +02:00
|
|
|
"../api/task_queue:default_task_queue_factory",
|
2018-05-11 11:15:30 +02:00
|
|
|
"../api/video:video_frame",
|
2019-06-10 12:59:38 +02:00
|
|
|
"../api/video:video_rtp_headers",
|
2017-10-05 16:55:38 +02:00
|
|
|
"../api/video_codecs:video_codecs_api",
|
2017-06-22 15:26:30 +02:00
|
|
|
"../common_video",
|
2017-05-31 05:14:26 -07:00
|
|
|
"../media:rtc_media_base",
|
Reland of Injectable Obj-C video codecs (patchset #1 id:1 of https://codereview.webrtc.org/2980173002/ )
Reason for revert:
Relanding after fixing issues with no video.
Original issue's description:
> Revert of Injectable Obj-C video codecs (patchset #2 id:370001 of https://codereview.webrtc.org/2979983002/ )
>
> Reason for revert:
> Still having problems with no video. Reverting.
> Once no video is visible, no video is available from then on even if the callee app is in the foreground.
>
>
> Original issue's description:
> > Reland of Injectable Obj-C video codecs (patchset #1 id:1 of https://codereview.webrtc.org/2979973002/ )
> >
> > Reason for revert:
> > Fix the broken build file
> >
> > Original issue's description:
> > > Revert of Injectable Obj-C video codecs (patchset #3 id:400001 of https://codereview.webrtc.org/2981583002/ )
> > >
> > > Reason for revert:
> > > Breaks bots. Build file incorrect.
> > >
> > > Original issue's description:
> > > > Reland of Injectable Obj-C video codecs (patchset #1 id:1 of https://codereview.webrtc.org/2975963002/ )
> > > >
> > > > Reason for revert:
> > > > New CL for fixing the issues
> > > >
> > > > Original issue's description:
> > > > > Revert of Injectable Obj-C video codecs (patchset #8 id:140001 of https://codereview.webrtc.org/2966023002/ )
> > > > >
> > > > > Reason for revert:
> > > > > Causes no video in certain scenarios. Please come up with a test plan or unit test to prevent such problems in the future.
> > > > >
> > > > > Original issue's description:
> > > > > > Injectable Obj-C video codecs
> > > > > >
> > > > > > Initial CL for this effort, with a working RTCVideoEncoder/Decoder for H264
> > > > > > (wrapping the VideoToolbox codec).
> > > > > >
> > > > > > Some notes / things left to do:
> > > > > > - There are some hard-coded references to codec types that are supported by
> > > > > > webrtc::VideoCodec, cricket::VideoCodec, webrtc::CodecSpecificInfo etc
> > > > > > since we need to convert to/from these types in ObjCVideoEncoder/Decoder.
> > > > > > These types would need to be more codec agnostic to avoid this.
> > > > > > - Most interfaces are borrowed from the design document for injectable
> > > > > > codecs in Android. Some data in the corresponding C++ classes is discarded
> > > > > > when converting to the Obj-C version, since it has fewer fields. I have not
> > > > > > verified whether all data that we do keep is needed, or whether we might be
> > > > > > losing anything useful in these conversions.
> > > > > > - Implement the VideoToolbox codec code directly in the RTCVideoEncoderH264
> > > > > > classes, instead of wrapping webrtc::H264VideoToolboxEncoder / decoder.
> > > > > > Eliminates converting between ObjC/C++ types outside the ObjCVideoEncoder/
> > > > > > Decoder wrapper classes.
> > > > > > - List the injected codec factory's supported codecs in the list of codecs in
> > > > > > AppRTCMobile.
> > > > > >
> > > > > > BUG=webrtc:7924
> > > > > > R=magjed@webrtc.org
> > > > > >
> > > > > > Review-Url: https://codereview.webrtc.org/2966023002 .
> > > > > > Cr-Commit-Position: refs/heads/master@{#18928}
> > > > > > Committed: https://chromium.googlesource.com/external/webrtc/+/a0349c138db62c52435be84b6c837f5f4758e264
> > > > >
> > > > > TBR=magjed@webrtc.org,andersc@webrtc.org
> > > > > # Not skipping CQ checks because original CL landed more than 1 days ago.
> > > > > BUG=webrtc:7924
> > > > > NOTRY=true
> > > > >
> > > > > Review-Url: https://codereview.webrtc.org/2975963002
> > > > > Cr-Commit-Position: refs/heads/master@{#18979}
> > > > > Committed: https://chromium.googlesource.com/external/webrtc/+/1095ada7ad56fe29b7b2bbc560a8f6475a7978ce
> > > >
> > > > R=magjed@webrtc.org
> > > > TBR=tkchin@webrtc.org
> > > > # Skipping CQ checks because original CL landed less than 1 days ago.
> > > > NOPRESUBMIT=true
> > > > NOTREECHECKS=true
> > > > NOTRY=true
> > > > BUG=webrtc:7924
> > > >
> > > > Review-Url: https://codereview.webrtc.org/2981583002 .
> > > > Cr-Commit-Position: refs/heads/master@{#19002}
> > > > Committed: https://chromium.googlesource.com/external/webrtc/+/a5f1de1e6541de03f944bcbf49be87c01f57a18b
> > >
> > > TBR=magjed@webrtc.org,tkchin@webrtc.org,jtteh@webrtc.org,andersc@webrtc.org
> > > # Skipping CQ checks because original CL landed less than 1 days ago.
> > > NOPRESUBMIT=true
> > > NOTREECHECKS=true
> > > NOTRY=true
> > > BUG=webrtc:7924
> > >
> > > Review-Url: https://codereview.webrtc.org/2979973002
> > > Cr-Commit-Position: refs/heads/master@{#19004}
> > > Committed: https://chromium.googlesource.com/external/webrtc/+/81d40ee1491d5229c2677cc04b1f40d67c2babef
> >
> > TBR=magjed@webrtc.org,tkchin@webrtc.org,jtteh@webrtc.org,sprang@webrtc.org
> > BUG=webrtc:7924
> >
> > Review-Url: https://codereview.webrtc.org/2979983002
> > Cr-Commit-Position: refs/heads/master@{#19005}
> > Committed: https://chromium.googlesource.com/external/webrtc/+/732a3437da4db7b452758b8e1cf26fce0ce3bf65
>
> TBR=magjed@webrtc.org,tkchin@webrtc.org,sprang@webrtc.org,haysc@webrtc.org,andersc@webrtc.org
> # Not skipping CQ checks because original CL landed more than 1 days ago.
> BUG=webrtc:7924
>
> Review-Url: https://codereview.webrtc.org/2980173002
> Cr-Commit-Position: refs/heads/master@{#19036}
> Committed: https://chromium.googlesource.com/external/webrtc/+/860f7298166084d966749e22b69aa2fdcf4d4ed6
TBR=magjed@webrtc.org,tkchin@webrtc.org,sprang@webrtc.org,haysc@webrtc.org,andersc@webrtc.org,jtteh@webrtc.org
# Not skipping CQ checks because original CL landed more than 1 days ago.
BUG=webrtc:7924
Review-Url: https://codereview.webrtc.org/2977213002
Cr-Commit-Position: refs/heads/master@{#19135}
2017-07-25 07:55:58 -07:00
|
|
|
"../modules:module_api",
|
2018-06-20 16:18:59 -07:00
|
|
|
"../modules/audio_device:audio_device_api",
|
2019-03-21 13:35:10 +01:00
|
|
|
"../modules/audio_processing",
|
2018-11-07 14:29:54 +00:00
|
|
|
"../modules/audio_processing:api",
|
2018-01-08 11:05:10 +01:00
|
|
|
"../modules/video_coding:video_codec_interface",
|
2017-06-28 14:05:44 -07:00
|
|
|
"../pc:peerconnection",
|
2019-03-21 13:35:10 +01:00
|
|
|
"../rtc_base",
|
2017-12-13 16:05:42 +01:00
|
|
|
"../rtc_base:checks",
|
2018-09-28 08:51:10 +02:00
|
|
|
"../system_wrappers:field_trial",
|
|
|
|
|
"../system_wrappers:metrics",
|
2016-09-15 04:30:18 -07:00
|
|
|
]
|
2018-05-15 10:22:36 +02:00
|
|
|
|
|
|
|
|
if (is_ios) {
|
|
|
|
|
deps += [ ":native_api_audio_device_module" ]
|
|
|
|
|
}
|
2017-05-31 05:14:26 -07:00
|
|
|
}
|
2017-04-24 00:57:16 -07:00
|
|
|
|
2018-08-30 09:30:29 +02:00
|
|
|
# TODO(bugs.webrtc.org/9627): Remove this target.
|
|
|
|
|
rtc_source_set("legacy_header_paths") {
|
|
|
|
|
sources = [
|
|
|
|
|
"objc/Framework/Classes/Common/NSString+StdString.h",
|
|
|
|
|
"objc/Framework/Classes/Common/scoped_cftyperef.h",
|
|
|
|
|
"objc/Framework/Classes/PeerConnection/RTCConfiguration+Native.h",
|
|
|
|
|
"objc/Framework/Classes/PeerConnection/RTCPeerConnectionFactory+Native.h",
|
|
|
|
|
"objc/Framework/Classes/PeerConnection/RTCVideoCodec+Private.h",
|
|
|
|
|
"objc/Framework/Classes/Video/RTCDefaultShader.h",
|
|
|
|
|
"objc/Framework/Classes/Video/RTCNV12TextureCache.h",
|
|
|
|
|
"objc/Framework/Classes/VideoToolbox/nalu_rewriter.h",
|
|
|
|
|
"objc/Framework/Headers/WebRTC/RTCAudioSession.h",
|
|
|
|
|
"objc/Framework/Headers/WebRTC/RTCAudioSessionConfiguration.h",
|
|
|
|
|
"objc/Framework/Headers/WebRTC/RTCAudioSource.h",
|
|
|
|
|
"objc/Framework/Headers/WebRTC/RTCAudioTrack.h",
|
|
|
|
|
"objc/Framework/Headers/WebRTC/RTCCVPixelBuffer.h",
|
|
|
|
|
"objc/Framework/Headers/WebRTC/RTCCallbackLogger.h",
|
|
|
|
|
"objc/Framework/Headers/WebRTC/RTCCameraPreviewView.h",
|
|
|
|
|
"objc/Framework/Headers/WebRTC/RTCCameraVideoCapturer.h",
|
|
|
|
|
"objc/Framework/Headers/WebRTC/RTCCertificate.h",
|
|
|
|
|
"objc/Framework/Headers/WebRTC/RTCConfiguration.h",
|
|
|
|
|
"objc/Framework/Headers/WebRTC/RTCDataChannel.h",
|
|
|
|
|
"objc/Framework/Headers/WebRTC/RTCDataChannelConfiguration.h",
|
|
|
|
|
"objc/Framework/Headers/WebRTC/RTCDefaultVideoDecoderFactory.h",
|
|
|
|
|
"objc/Framework/Headers/WebRTC/RTCDefaultVideoEncoderFactory.h",
|
|
|
|
|
"objc/Framework/Headers/WebRTC/RTCDispatcher.h",
|
|
|
|
|
"objc/Framework/Headers/WebRTC/RTCDtmfSender.h",
|
|
|
|
|
"objc/Framework/Headers/WebRTC/RTCEAGLVideoView.h",
|
|
|
|
|
"objc/Framework/Headers/WebRTC/RTCFieldTrials.h",
|
|
|
|
|
"objc/Framework/Headers/WebRTC/RTCFileLogger.h",
|
|
|
|
|
"objc/Framework/Headers/WebRTC/RTCFileVideoCapturer.h",
|
|
|
|
|
"objc/Framework/Headers/WebRTC/RTCH264ProfileLevelId.h",
|
|
|
|
|
"objc/Framework/Headers/WebRTC/RTCIceCandidate.h",
|
|
|
|
|
"objc/Framework/Headers/WebRTC/RTCIceServer.h",
|
|
|
|
|
"objc/Framework/Headers/WebRTC/RTCLegacyStatsReport.h",
|
|
|
|
|
"objc/Framework/Headers/WebRTC/RTCLogging.h",
|
|
|
|
|
"objc/Framework/Headers/WebRTC/RTCMTLNSVideoView.h",
|
|
|
|
|
"objc/Framework/Headers/WebRTC/RTCMTLVideoView.h",
|
|
|
|
|
"objc/Framework/Headers/WebRTC/RTCMacros.h",
|
|
|
|
|
"objc/Framework/Headers/WebRTC/RTCMediaConstraints.h",
|
|
|
|
|
"objc/Framework/Headers/WebRTC/RTCMediaSource.h",
|
|
|
|
|
"objc/Framework/Headers/WebRTC/RTCMediaStream.h",
|
|
|
|
|
"objc/Framework/Headers/WebRTC/RTCMediaStreamTrack.h",
|
|
|
|
|
"objc/Framework/Headers/WebRTC/RTCMetrics.h",
|
|
|
|
|
"objc/Framework/Headers/WebRTC/RTCMetricsSampleInfo.h",
|
|
|
|
|
"objc/Framework/Headers/WebRTC/RTCNSGLVideoView.h",
|
|
|
|
|
"objc/Framework/Headers/WebRTC/RTCPeerConnection.h",
|
|
|
|
|
"objc/Framework/Headers/WebRTC/RTCPeerConnectionFactory.h",
|
|
|
|
|
"objc/Framework/Headers/WebRTC/RTCPeerConnectionFactoryOptions.h",
|
|
|
|
|
"objc/Framework/Headers/WebRTC/RTCRtcpParameters.h",
|
|
|
|
|
"objc/Framework/Headers/WebRTC/RTCRtpCodecParameters.h",
|
|
|
|
|
"objc/Framework/Headers/WebRTC/RTCRtpEncodingParameters.h",
|
|
|
|
|
"objc/Framework/Headers/WebRTC/RTCRtpHeaderExtension.h",
|
|
|
|
|
"objc/Framework/Headers/WebRTC/RTCRtpParameters.h",
|
|
|
|
|
"objc/Framework/Headers/WebRTC/RTCRtpReceiver.h",
|
|
|
|
|
"objc/Framework/Headers/WebRTC/RTCRtpSender.h",
|
|
|
|
|
"objc/Framework/Headers/WebRTC/RTCRtpTransceiver.h",
|
|
|
|
|
"objc/Framework/Headers/WebRTC/RTCSSLAdapter.h",
|
|
|
|
|
"objc/Framework/Headers/WebRTC/RTCSessionDescription.h",
|
|
|
|
|
"objc/Framework/Headers/WebRTC/RTCTracing.h",
|
|
|
|
|
"objc/Framework/Headers/WebRTC/RTCVideoCapturer.h",
|
|
|
|
|
"objc/Framework/Headers/WebRTC/RTCVideoCodec.h",
|
|
|
|
|
"objc/Framework/Headers/WebRTC/RTCVideoCodecFactory.h",
|
|
|
|
|
"objc/Framework/Headers/WebRTC/RTCVideoCodecH264.h",
|
|
|
|
|
"objc/Framework/Headers/WebRTC/RTCVideoCodecInfo.h",
|
|
|
|
|
"objc/Framework/Headers/WebRTC/RTCVideoDecoderVP8.h",
|
|
|
|
|
"objc/Framework/Headers/WebRTC/RTCVideoDecoderVP9.h",
|
|
|
|
|
"objc/Framework/Headers/WebRTC/RTCVideoEncoderVP8.h",
|
|
|
|
|
"objc/Framework/Headers/WebRTC/RTCVideoEncoderVP9.h",
|
|
|
|
|
"objc/Framework/Headers/WebRTC/RTCVideoFrame.h",
|
|
|
|
|
"objc/Framework/Headers/WebRTC/RTCVideoFrameBuffer.h",
|
|
|
|
|
"objc/Framework/Headers/WebRTC/RTCVideoRenderer.h",
|
|
|
|
|
"objc/Framework/Headers/WebRTC/RTCVideoSource.h",
|
|
|
|
|
"objc/Framework/Headers/WebRTC/RTCVideoTrack.h",
|
|
|
|
|
"objc/Framework/Headers/WebRTC/RTCVideoViewShading.h",
|
|
|
|
|
"objc/Framework/Headers/WebRTC/UIDevice+RTCDevice.h",
|
|
|
|
|
"objc/Framework/Native/api/audio_device_module.h",
|
|
|
|
|
"objc/Framework/Native/api/video_decoder_factory.h",
|
|
|
|
|
"objc/Framework/Native/api/video_encoder_factory.h",
|
|
|
|
|
"objc/Framework/Native/api/video_frame_buffer.h",
|
|
|
|
|
"objc/Framework/Native/src/objc_video_decoder_factory.h",
|
|
|
|
|
"objc/Framework/Native/src/objc_video_encoder_factory.h",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2017-05-31 05:14:26 -07:00
|
|
|
if (rtc_include_tests) {
|
2017-11-15 13:15:24 +01:00
|
|
|
if (is_ios) {
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("sdk_unittests_sources") {
|
2017-10-12 13:46:00 +02:00
|
|
|
testonly = true
|
2018-08-30 09:30:29 +02:00
|
|
|
include_dirs = [ "objc/" ]
|
2017-11-15 13:15:24 +01:00
|
|
|
|
2017-10-12 13:46:00 +02:00
|
|
|
sources = [
|
2018-08-30 09:30:29 +02:00
|
|
|
"objc/unittests/ObjCVideoTrackSource_xctest.mm",
|
|
|
|
|
"objc/unittests/RTCCVPixelBuffer_xctest.mm",
|
|
|
|
|
"objc/unittests/RTCCallbackLogger_xctest.m",
|
2020-02-20 07:34:45 -08:00
|
|
|
"objc/unittests/RTCEncodedImage_xctest.mm",
|
2018-08-30 09:30:29 +02:00
|
|
|
"objc/unittests/RTCFileVideoCapturer_xctest.mm",
|
|
|
|
|
"objc/unittests/RTCH264ProfileLevelId_xctest.m",
|
2019-01-04 12:03:31 -08:00
|
|
|
"objc/unittests/RTCNV12TextureCache_xctest.m",
|
2018-08-30 09:30:29 +02:00
|
|
|
"objc/unittests/RTCPeerConnectionFactory_xctest.m",
|
|
|
|
|
"objc/unittests/frame_buffer_helpers.h",
|
|
|
|
|
"objc/unittests/frame_buffer_helpers.mm",
|
2018-10-29 18:18:09 +01:00
|
|
|
"objc/unittests/nalu_rewriter_xctest.mm",
|
2017-10-12 13:46:00 +02:00
|
|
|
]
|
2017-11-15 13:15:24 +01:00
|
|
|
|
2018-05-15 10:22:36 +02:00
|
|
|
# TODO(peterhanspers): Reenable these tests on simulator.
|
|
|
|
|
# See bugs.webrtc.org/7812
|
|
|
|
|
if (!use_ios_simulator) {
|
|
|
|
|
sources += [
|
2018-08-30 09:30:29 +02:00
|
|
|
"objc/unittests/RTCAudioDeviceModule_xctest.mm",
|
|
|
|
|
"objc/unittests/RTCAudioDevice_xctest.mm",
|
2018-05-15 10:22:36 +02:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2017-10-12 13:46:00 +02:00
|
|
|
deps = [
|
2018-05-15 10:22:36 +02:00
|
|
|
":audio_device",
|
2019-12-26 23:01:42 -08:00
|
|
|
":audio_session_objc",
|
2020-02-20 07:34:45 -08:00
|
|
|
":base_native_additions_objc",
|
2018-08-30 09:30:29 +02:00
|
|
|
":base_objc",
|
|
|
|
|
":callback_logger_objc",
|
2018-01-15 13:31:03 +01:00
|
|
|
":framework_objc",
|
2018-08-30 09:30:29 +02:00
|
|
|
":mediaconstraints_objc",
|
2018-04-03 11:40:39 +02:00
|
|
|
":native_api",
|
2018-05-15 10:22:36 +02:00
|
|
|
":native_api_audio_device_module",
|
2018-04-03 11:40:39 +02:00
|
|
|
":native_video",
|
2018-08-30 09:30:29 +02:00
|
|
|
":peerconnectionfactory_base_objc",
|
2019-01-04 12:03:31 -08:00
|
|
|
":video_objc",
|
2018-10-29 18:18:09 +01:00
|
|
|
":video_toolbox_cc",
|
2018-02-16 10:49:22 +01:00
|
|
|
":videocapture_objc",
|
2018-06-01 12:51:09 +02:00
|
|
|
":videocodec_objc",
|
2018-04-03 11:40:39 +02:00
|
|
|
":videoframebuffer_objc",
|
2018-03-07 10:32:03 +01:00
|
|
|
":videosource_objc",
|
2017-10-12 13:46:00 +02:00
|
|
|
":videotoolbox_objc",
|
2019-01-25 20:26:48 +01:00
|
|
|
"../api:scoped_refptr",
|
2019-10-08 23:58:41 +09:00
|
|
|
"../api/task_queue:default_task_queue_factory",
|
2018-05-11 11:15:30 +02:00
|
|
|
"../api/video:video_frame_i420",
|
2019-03-21 13:35:10 +01:00
|
|
|
"../common_video",
|
2017-10-12 13:46:00 +02:00
|
|
|
"../media:rtc_media_base",
|
2018-04-03 11:40:39 +02:00
|
|
|
"../media:rtc_media_tests_utils",
|
2017-10-12 13:46:00 +02:00
|
|
|
"../modules:module_api",
|
2019-03-21 13:35:10 +01:00
|
|
|
"../rtc_base",
|
2018-11-23 13:15:08 +01:00
|
|
|
"../rtc_base:gunit_helpers",
|
2019-03-21 13:35:10 +01:00
|
|
|
"../system_wrappers",
|
2018-04-03 11:40:39 +02:00
|
|
|
"//third_party/libyuv",
|
2017-10-12 13:46:00 +02:00
|
|
|
]
|
2018-02-16 10:49:22 +01:00
|
|
|
|
|
|
|
|
if (rtc_use_metal_rendering) {
|
2018-08-30 09:30:29 +02:00
|
|
|
sources += [ "objc/unittests/RTCMTLVideoView_xctest.m" ]
|
2018-02-16 10:49:22 +01:00
|
|
|
deps += [ ":metal_objc" ]
|
|
|
|
|
}
|
|
|
|
|
|
2017-10-12 13:46:00 +02:00
|
|
|
public_deps = [
|
|
|
|
|
"//build/config/ios:xctest",
|
|
|
|
|
"//third_party/ocmock",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2017-11-15 13:15:24 +01:00
|
|
|
bundle_data("sdk_unittests_bundle_data") {
|
|
|
|
|
sources = [
|
2018-08-30 09:30:29 +02:00
|
|
|
"objc/unittests/audio_short16.pcm",
|
|
|
|
|
"objc/unittests/audio_short44.pcm",
|
|
|
|
|
"objc/unittests/audio_short48.pcm",
|
2018-05-15 10:22:36 +02:00
|
|
|
|
|
|
|
|
# Sample video taken from https://media.xiph.org/video/derf/
|
2018-08-30 09:30:29 +02:00
|
|
|
"objc/unittests/foreman.mp4",
|
2017-11-15 13:15:24 +01:00
|
|
|
]
|
2020-01-16 14:41:10 +01:00
|
|
|
outputs = [ "{{bundle_resources_dir}}/{{source_file_part}}" ]
|
2017-11-15 13:15:24 +01:00
|
|
|
}
|
|
|
|
|
|
2018-08-30 09:30:29 +02:00
|
|
|
# These tests use static linking.
|
2020-09-10 09:53:00 +00:00
|
|
|
rtc_ios_xctest_test("sdk_unittests") {
|
2017-10-12 13:46:00 +02:00
|
|
|
info_plist = "//test/ios/Info.plist"
|
2020-01-16 14:41:10 +01:00
|
|
|
sources = [ "objc/unittests/main.mm" ]
|
2017-11-15 13:15:24 +01:00
|
|
|
|
2019-08-19 14:24:00 +02:00
|
|
|
extra_substitutions = [ "GTEST_BUNDLE_ID_SUFFIX=generic-unit-test" ]
|
2017-10-12 13:46:00 +02:00
|
|
|
deps = [
|
2018-06-19 12:51:51 +03:00
|
|
|
":peerconnectionfactory_base_objc",
|
2017-11-15 13:15:24 +01:00
|
|
|
":sdk_unittests_bundle_data",
|
2017-10-12 13:46:00 +02:00
|
|
|
":sdk_unittests_sources",
|
2019-06-12 11:30:59 +02:00
|
|
|
"../rtc_base",
|
2018-11-06 12:29:29 +01:00
|
|
|
"//test:test_support",
|
2017-10-12 13:46:00 +02:00
|
|
|
]
|
|
|
|
|
ldflags = [ "-all_load" ]
|
|
|
|
|
}
|
2018-08-30 09:30:29 +02:00
|
|
|
|
|
|
|
|
# These tests link to the framework.
|
2020-09-10 09:53:00 +00:00
|
|
|
rtc_ios_xctest_test("sdk_framework_unittests") {
|
2018-08-30 09:30:29 +02:00
|
|
|
info_plist = "//test/ios/Info.plist"
|
|
|
|
|
sources = [
|
|
|
|
|
"objc/unittests/RTCDoNotPutCPlusPlusInFrameworkHeaders_xctest.m",
|
2018-11-06 12:29:29 +01:00
|
|
|
"objc/unittests/main.mm",
|
2018-08-30 09:30:29 +02:00
|
|
|
]
|
|
|
|
|
|
2019-08-19 14:24:00 +02:00
|
|
|
extra_substitutions = [ "GTEST_BUNDLE_ID_SUFFIX=generic-unit-test" ]
|
2018-08-30 09:30:29 +02:00
|
|
|
deps = [
|
|
|
|
|
":framework_objc+link",
|
|
|
|
|
":ios_framework_bundle",
|
2019-06-12 11:30:59 +02:00
|
|
|
"../rtc_base",
|
2018-11-06 12:29:29 +01:00
|
|
|
"//test:test_support",
|
2018-08-30 09:30:29 +02:00
|
|
|
]
|
|
|
|
|
}
|
2017-10-12 13:46:00 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
# TODO(denicija): once all tests are migrated to xctest remove this source set.
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("rtc_unittests_objc") {
|
2017-05-31 05:14:26 -07:00
|
|
|
testonly = true
|
2017-04-24 00:57:16 -07:00
|
|
|
|
2017-05-31 05:14:26 -07:00
|
|
|
sources = [
|
2018-08-30 09:30:29 +02:00
|
|
|
"objc/unittests/RTCCertificateTest.mm",
|
|
|
|
|
"objc/unittests/RTCConfigurationTest.mm",
|
|
|
|
|
"objc/unittests/RTCDataChannelConfigurationTest.mm",
|
|
|
|
|
"objc/unittests/RTCIceCandidateTest.mm",
|
|
|
|
|
"objc/unittests/RTCIceServerTest.mm",
|
|
|
|
|
"objc/unittests/RTCMediaConstraintsTest.mm",
|
|
|
|
|
"objc/unittests/RTCPeerConnectionFactoryBuilderTest.mm",
|
|
|
|
|
"objc/unittests/RTCPeerConnectionTest.mm",
|
|
|
|
|
"objc/unittests/RTCSessionDescriptionTest.mm",
|
|
|
|
|
"objc/unittests/RTCTracingTest.mm",
|
|
|
|
|
"objc/unittests/objc_video_decoder_factory_tests.mm",
|
|
|
|
|
"objc/unittests/objc_video_encoder_factory_tests.mm",
|
|
|
|
|
"objc/unittests/scoped_cftyperef_tests.mm",
|
2017-05-31 05:14:26 -07:00
|
|
|
]
|
2018-01-19 11:28:44 +01:00
|
|
|
if (is_ios) {
|
2018-08-30 09:30:29 +02:00
|
|
|
sources += [ "objc/unittests/RTCCameraVideoCapturerTests.mm" ]
|
2017-06-22 01:47:20 -07:00
|
|
|
}
|
2017-05-31 05:14:26 -07:00
|
|
|
|
|
|
|
|
# |-ObjC| flag needed to make sure category method implementations
|
|
|
|
|
# are included:
|
|
|
|
|
# https://developer.apple.com/library/mac/qa/qa1490/_index.html
|
|
|
|
|
ldflags = [ "-ObjC" ]
|
|
|
|
|
|
|
|
|
|
deps = [
|
2018-08-30 09:30:29 +02:00
|
|
|
":base_objc",
|
|
|
|
|
":helpers_objc",
|
2018-02-16 10:49:22 +01:00
|
|
|
":mediaconstraints_objc",
|
|
|
|
|
":native_api",
|
2018-02-01 15:47:05 +01:00
|
|
|
":native_video",
|
2018-02-16 10:49:22 +01:00
|
|
|
":peerconnectionfactory_base_objc",
|
|
|
|
|
":video_objc",
|
|
|
|
|
":videocapture_objc",
|
|
|
|
|
":videocodec_objc",
|
|
|
|
|
":videoframebuffer_objc",
|
2018-03-07 10:32:03 +01:00
|
|
|
":videosource_objc",
|
2017-08-24 05:43:45 -07:00
|
|
|
":videotoolbox_objc",
|
2018-10-08 09:43:21 -07:00
|
|
|
"../api:libjingle_peerconnection_api",
|
2018-06-20 16:18:59 -07:00
|
|
|
"../api/audio_codecs:audio_codecs_api",
|
|
|
|
|
"../api/audio_codecs:builtin_audio_decoder_factory",
|
|
|
|
|
"../api/audio_codecs:builtin_audio_encoder_factory",
|
2018-04-13 15:36:43 +02:00
|
|
|
"../api/video_codecs:video_codecs_api",
|
2017-09-04 04:36:21 -07:00
|
|
|
"../media:rtc_media_base",
|
Reland of Injectable Obj-C video codecs (patchset #1 id:1 of https://codereview.webrtc.org/2980173002/ )
Reason for revert:
Relanding after fixing issues with no video.
Original issue's description:
> Revert of Injectable Obj-C video codecs (patchset #2 id:370001 of https://codereview.webrtc.org/2979983002/ )
>
> Reason for revert:
> Still having problems with no video. Reverting.
> Once no video is visible, no video is available from then on even if the callee app is in the foreground.
>
>
> Original issue's description:
> > Reland of Injectable Obj-C video codecs (patchset #1 id:1 of https://codereview.webrtc.org/2979973002/ )
> >
> > Reason for revert:
> > Fix the broken build file
> >
> > Original issue's description:
> > > Revert of Injectable Obj-C video codecs (patchset #3 id:400001 of https://codereview.webrtc.org/2981583002/ )
> > >
> > > Reason for revert:
> > > Breaks bots. Build file incorrect.
> > >
> > > Original issue's description:
> > > > Reland of Injectable Obj-C video codecs (patchset #1 id:1 of https://codereview.webrtc.org/2975963002/ )
> > > >
> > > > Reason for revert:
> > > > New CL for fixing the issues
> > > >
> > > > Original issue's description:
> > > > > Revert of Injectable Obj-C video codecs (patchset #8 id:140001 of https://codereview.webrtc.org/2966023002/ )
> > > > >
> > > > > Reason for revert:
> > > > > Causes no video in certain scenarios. Please come up with a test plan or unit test to prevent such problems in the future.
> > > > >
> > > > > Original issue's description:
> > > > > > Injectable Obj-C video codecs
> > > > > >
> > > > > > Initial CL for this effort, with a working RTCVideoEncoder/Decoder for H264
> > > > > > (wrapping the VideoToolbox codec).
> > > > > >
> > > > > > Some notes / things left to do:
> > > > > > - There are some hard-coded references to codec types that are supported by
> > > > > > webrtc::VideoCodec, cricket::VideoCodec, webrtc::CodecSpecificInfo etc
> > > > > > since we need to convert to/from these types in ObjCVideoEncoder/Decoder.
> > > > > > These types would need to be more codec agnostic to avoid this.
> > > > > > - Most interfaces are borrowed from the design document for injectable
> > > > > > codecs in Android. Some data in the corresponding C++ classes is discarded
> > > > > > when converting to the Obj-C version, since it has fewer fields. I have not
> > > > > > verified whether all data that we do keep is needed, or whether we might be
> > > > > > losing anything useful in these conversions.
> > > > > > - Implement the VideoToolbox codec code directly in the RTCVideoEncoderH264
> > > > > > classes, instead of wrapping webrtc::H264VideoToolboxEncoder / decoder.
> > > > > > Eliminates converting between ObjC/C++ types outside the ObjCVideoEncoder/
> > > > > > Decoder wrapper classes.
> > > > > > - List the injected codec factory's supported codecs in the list of codecs in
> > > > > > AppRTCMobile.
> > > > > >
> > > > > > BUG=webrtc:7924
> > > > > > R=magjed@webrtc.org
> > > > > >
> > > > > > Review-Url: https://codereview.webrtc.org/2966023002 .
> > > > > > Cr-Commit-Position: refs/heads/master@{#18928}
> > > > > > Committed: https://chromium.googlesource.com/external/webrtc/+/a0349c138db62c52435be84b6c837f5f4758e264
> > > > >
> > > > > TBR=magjed@webrtc.org,andersc@webrtc.org
> > > > > # Not skipping CQ checks because original CL landed more than 1 days ago.
> > > > > BUG=webrtc:7924
> > > > > NOTRY=true
> > > > >
> > > > > Review-Url: https://codereview.webrtc.org/2975963002
> > > > > Cr-Commit-Position: refs/heads/master@{#18979}
> > > > > Committed: https://chromium.googlesource.com/external/webrtc/+/1095ada7ad56fe29b7b2bbc560a8f6475a7978ce
> > > >
> > > > R=magjed@webrtc.org
> > > > TBR=tkchin@webrtc.org
> > > > # Skipping CQ checks because original CL landed less than 1 days ago.
> > > > NOPRESUBMIT=true
> > > > NOTREECHECKS=true
> > > > NOTRY=true
> > > > BUG=webrtc:7924
> > > >
> > > > Review-Url: https://codereview.webrtc.org/2981583002 .
> > > > Cr-Commit-Position: refs/heads/master@{#19002}
> > > > Committed: https://chromium.googlesource.com/external/webrtc/+/a5f1de1e6541de03f944bcbf49be87c01f57a18b
> > >
> > > TBR=magjed@webrtc.org,tkchin@webrtc.org,jtteh@webrtc.org,andersc@webrtc.org
> > > # Skipping CQ checks because original CL landed less than 1 days ago.
> > > NOPRESUBMIT=true
> > > NOTREECHECKS=true
> > > NOTRY=true
> > > BUG=webrtc:7924
> > >
> > > Review-Url: https://codereview.webrtc.org/2979973002
> > > Cr-Commit-Position: refs/heads/master@{#19004}
> > > Committed: https://chromium.googlesource.com/external/webrtc/+/81d40ee1491d5229c2677cc04b1f40d67c2babef
> >
> > TBR=magjed@webrtc.org,tkchin@webrtc.org,jtteh@webrtc.org,sprang@webrtc.org
> > BUG=webrtc:7924
> >
> > Review-Url: https://codereview.webrtc.org/2979983002
> > Cr-Commit-Position: refs/heads/master@{#19005}
> > Committed: https://chromium.googlesource.com/external/webrtc/+/732a3437da4db7b452758b8e1cf26fce0ce3bf65
>
> TBR=magjed@webrtc.org,tkchin@webrtc.org,sprang@webrtc.org,haysc@webrtc.org,andersc@webrtc.org
> # Not skipping CQ checks because original CL landed more than 1 days ago.
> BUG=webrtc:7924
>
> Review-Url: https://codereview.webrtc.org/2980173002
> Cr-Commit-Position: refs/heads/master@{#19036}
> Committed: https://chromium.googlesource.com/external/webrtc/+/860f7298166084d966749e22b69aa2fdcf4d4ed6
TBR=magjed@webrtc.org,tkchin@webrtc.org,sprang@webrtc.org,haysc@webrtc.org,andersc@webrtc.org,jtteh@webrtc.org
# Not skipping CQ checks because original CL landed more than 1 days ago.
BUG=webrtc:7924
Review-Url: https://codereview.webrtc.org/2977213002
Cr-Commit-Position: refs/heads/master@{#19135}
2017-07-25 07:55:58 -07:00
|
|
|
"../modules:module_api",
|
2018-06-20 16:18:59 -07:00
|
|
|
"../modules/audio_device:audio_device_api",
|
2019-03-21 13:35:10 +01:00
|
|
|
"../modules/audio_processing",
|
2018-11-07 14:29:54 +00:00
|
|
|
"../modules/audio_processing:api",
|
2018-01-08 11:05:10 +01:00
|
|
|
"../modules/video_coding:video_codec_interface",
|
2018-11-23 13:15:08 +01:00
|
|
|
"../rtc_base:gunit_helpers",
|
2018-07-25 16:05:48 +02:00
|
|
|
"../rtc_base/system:unused",
|
2018-10-30 21:12:42 +01:00
|
|
|
"../test:test_support",
|
2017-05-31 05:14:26 -07:00
|
|
|
"//third_party/ocmock",
|
|
|
|
|
]
|
|
|
|
|
|
2017-06-05 05:48:47 -07:00
|
|
|
if (is_ios) {
|
2018-08-30 09:30:29 +02:00
|
|
|
sources += [ "objc/unittests/RTCAudioSessionTest.mm" ]
|
2019-12-26 23:01:42 -08:00
|
|
|
deps += [ ":audio_session_objc" ]
|
2017-05-31 05:14:26 -07:00
|
|
|
}
|
2016-09-15 04:30:18 -07:00
|
|
|
}
|
|
|
|
|
}
|
2016-10-11 13:27:26 -07:00
|
|
|
|
2017-05-31 05:14:26 -07:00
|
|
|
if (is_ios) {
|
2018-01-15 13:31:03 +01:00
|
|
|
ios_framework_bundle_with_umbrella_header("framework_objc") {
|
2018-08-30 09:30:29 +02:00
|
|
|
info_plist = "objc/Info.plist"
|
2017-05-31 05:14:26 -07:00
|
|
|
output_name = "WebRTC"
|
2017-08-29 09:49:43 +00:00
|
|
|
|
2017-05-31 05:14:26 -07:00
|
|
|
common_objc_headers = [
|
2018-08-30 09:30:29 +02:00
|
|
|
"objc/base/RTCCodecSpecificInfo.h",
|
|
|
|
|
"objc/base/RTCEncodedImage.h",
|
2018-09-03 14:44:50 +02:00
|
|
|
"objc/base/RTCI420Buffer.h",
|
2018-08-30 09:30:29 +02:00
|
|
|
"objc/base/RTCLogging.h",
|
|
|
|
|
"objc/base/RTCMacros.h",
|
2018-09-03 14:44:50 +02:00
|
|
|
"objc/base/RTCMutableI420Buffer.h",
|
|
|
|
|
"objc/base/RTCMutableYUVPlanarBuffer.h",
|
2018-08-30 09:30:29 +02:00
|
|
|
"objc/base/RTCRtpFragmentationHeader.h",
|
|
|
|
|
"objc/base/RTCVideoCapturer.h",
|
|
|
|
|
"objc/base/RTCVideoCodecInfo.h",
|
|
|
|
|
"objc/base/RTCVideoDecoder.h",
|
|
|
|
|
"objc/base/RTCVideoDecoderFactory.h",
|
|
|
|
|
"objc/base/RTCVideoEncoder.h",
|
|
|
|
|
"objc/base/RTCVideoEncoderFactory.h",
|
|
|
|
|
"objc/base/RTCVideoEncoderQpThresholds.h",
|
|
|
|
|
"objc/base/RTCVideoEncoderSettings.h",
|
|
|
|
|
"objc/base/RTCVideoFrame.h",
|
|
|
|
|
"objc/base/RTCVideoFrameBuffer.h",
|
|
|
|
|
"objc/base/RTCVideoRenderer.h",
|
2018-09-03 14:44:50 +02:00
|
|
|
"objc/base/RTCYUVPlanarBuffer.h",
|
2018-08-30 09:30:29 +02:00
|
|
|
"objc/components/audio/RTCAudioSession.h",
|
|
|
|
|
"objc/components/audio/RTCAudioSessionConfiguration.h",
|
|
|
|
|
"objc/components/capturer/RTCCameraVideoCapturer.h",
|
|
|
|
|
"objc/components/capturer/RTCFileVideoCapturer.h",
|
2020-08-19 16:41:54 -07:00
|
|
|
"objc/components/network/RTCNetworkMonitor.h",
|
2018-08-30 09:30:29 +02:00
|
|
|
"objc/components/renderer/metal/RTCMTLVideoView.h",
|
|
|
|
|
"objc/components/renderer/opengl/RTCEAGLVideoView.h",
|
|
|
|
|
"objc/components/renderer/opengl/RTCVideoViewShading.h",
|
|
|
|
|
"objc/components/video_codec/RTCCodecSpecificInfoH264.h",
|
|
|
|
|
"objc/components/video_codec/RTCDefaultVideoDecoderFactory.h",
|
|
|
|
|
"objc/components/video_codec/RTCDefaultVideoEncoderFactory.h",
|
|
|
|
|
"objc/components/video_codec/RTCH264ProfileLevelId.h",
|
|
|
|
|
"objc/components/video_codec/RTCVideoDecoderFactoryH264.h",
|
|
|
|
|
"objc/components/video_codec/RTCVideoDecoderH264.h",
|
|
|
|
|
"objc/components/video_codec/RTCVideoEncoderFactoryH264.h",
|
|
|
|
|
"objc/components/video_codec/RTCVideoEncoderH264.h",
|
|
|
|
|
"objc/components/video_frame_buffer/RTCCVPixelBuffer.h",
|
|
|
|
|
"objc/helpers/RTCCameraPreviewView.h",
|
|
|
|
|
"objc/helpers/RTCDispatcher.h",
|
|
|
|
|
"objc/helpers/UIDevice+RTCDevice.h",
|
|
|
|
|
"objc/api/peerconnection/RTCAudioSource.h",
|
|
|
|
|
"objc/api/peerconnection/RTCAudioTrack.h",
|
|
|
|
|
"objc/api/peerconnection/RTCConfiguration.h",
|
|
|
|
|
"objc/api/peerconnection/RTCDataChannel.h",
|
|
|
|
|
"objc/api/peerconnection/RTCDataChannelConfiguration.h",
|
|
|
|
|
"objc/api/peerconnection/RTCFieldTrials.h",
|
|
|
|
|
"objc/api/peerconnection/RTCIceCandidate.h",
|
|
|
|
|
"objc/api/peerconnection/RTCIceServer.h",
|
|
|
|
|
"objc/api/peerconnection/RTCLegacyStatsReport.h",
|
|
|
|
|
"objc/api/peerconnection/RTCMediaConstraints.h",
|
|
|
|
|
"objc/api/peerconnection/RTCMediaSource.h",
|
|
|
|
|
"objc/api/peerconnection/RTCMediaStream.h",
|
|
|
|
|
"objc/api/peerconnection/RTCMediaStreamTrack.h",
|
|
|
|
|
"objc/api/peerconnection/RTCMetrics.h",
|
|
|
|
|
"objc/api/peerconnection/RTCMetricsSampleInfo.h",
|
|
|
|
|
"objc/api/peerconnection/RTCPeerConnection.h",
|
|
|
|
|
"objc/api/peerconnection/RTCPeerConnectionFactory.h",
|
|
|
|
|
"objc/api/peerconnection/RTCPeerConnectionFactoryOptions.h",
|
|
|
|
|
"objc/api/peerconnection/RTCRtcpParameters.h",
|
|
|
|
|
"objc/api/peerconnection/RTCRtpCodecParameters.h",
|
|
|
|
|
"objc/api/peerconnection/RTCRtpEncodingParameters.h",
|
|
|
|
|
"objc/api/peerconnection/RTCRtpHeaderExtension.h",
|
|
|
|
|
"objc/api/peerconnection/RTCRtpParameters.h",
|
|
|
|
|
"objc/api/peerconnection/RTCRtpReceiver.h",
|
|
|
|
|
"objc/api/peerconnection/RTCRtpSender.h",
|
|
|
|
|
"objc/api/peerconnection/RTCRtpTransceiver.h",
|
|
|
|
|
"objc/api/peerconnection/RTCDtmfSender.h",
|
|
|
|
|
"objc/api/peerconnection/RTCSSLAdapter.h",
|
|
|
|
|
"objc/api/peerconnection/RTCSessionDescription.h",
|
2019-10-21 11:25:18 +08:00
|
|
|
"objc/api/peerconnection/RTCStatisticsReport.h",
|
2018-08-30 09:30:29 +02:00
|
|
|
"objc/api/peerconnection/RTCTracing.h",
|
|
|
|
|
"objc/api/peerconnection/RTCCertificate.h",
|
2018-10-25 10:16:44 -07:00
|
|
|
"objc/api/peerconnection/RTCCryptoOptions.h",
|
2018-08-30 09:30:29 +02:00
|
|
|
"objc/api/peerconnection/RTCVideoSource.h",
|
|
|
|
|
"objc/api/peerconnection/RTCVideoTrack.h",
|
2018-09-03 14:44:50 +02:00
|
|
|
"objc/api/video_codec/RTCVideoCodecConstants.h",
|
2018-08-30 09:30:29 +02:00
|
|
|
"objc/api/video_codec/RTCVideoDecoderVP8.h",
|
|
|
|
|
"objc/api/video_codec/RTCVideoDecoderVP9.h",
|
|
|
|
|
"objc/api/video_codec/RTCVideoEncoderVP8.h",
|
|
|
|
|
"objc/api/video_codec/RTCVideoEncoderVP9.h",
|
2018-09-03 14:44:50 +02:00
|
|
|
"objc/api/video_frame_buffer/RTCNativeI420Buffer.h",
|
|
|
|
|
"objc/api/video_frame_buffer/RTCNativeMutableI420Buffer.h",
|
2017-05-31 05:14:26 -07:00
|
|
|
]
|
2018-04-13 15:36:43 +02:00
|
|
|
|
2017-05-31 05:14:26 -07:00
|
|
|
if (!build_with_chromium) {
|
2018-02-16 10:49:22 +01:00
|
|
|
common_objc_headers += [
|
2018-08-30 09:30:29 +02:00
|
|
|
"objc/api/logging/RTCCallbackLogger.h",
|
|
|
|
|
"objc/api/peerconnection/RTCFileLogger.h",
|
2018-01-30 15:46:13 +01:00
|
|
|
]
|
2017-05-31 05:14:26 -07:00
|
|
|
}
|
2017-05-30 01:50:35 -07:00
|
|
|
|
2018-02-16 10:49:22 +01:00
|
|
|
sources = common_objc_headers
|
|
|
|
|
public_headers = common_objc_headers
|
|
|
|
|
|
2017-05-31 05:14:26 -07:00
|
|
|
ldflags = [
|
|
|
|
|
"-all_load",
|
|
|
|
|
"-install_name",
|
|
|
|
|
"@rpath/$output_name.framework/$output_name",
|
|
|
|
|
]
|
2017-05-08 05:32:05 -07:00
|
|
|
|
2017-05-31 05:14:26 -07:00
|
|
|
deps = [
|
2017-08-24 05:43:45 -07:00
|
|
|
":audio_objc",
|
2018-08-30 09:30:29 +02:00
|
|
|
":base_objc",
|
2018-02-16 10:49:22 +01:00
|
|
|
":default_codec_factory_objc",
|
|
|
|
|
":native_api",
|
|
|
|
|
":native_video",
|
|
|
|
|
":peerconnectionfactory_base_objc",
|
2017-08-24 05:43:45 -07:00
|
|
|
":ui_objc",
|
2018-02-16 10:49:22 +01:00
|
|
|
":videocapture_objc",
|
|
|
|
|
":videocodec_objc",
|
|
|
|
|
":videotoolbox_objc",
|
2017-07-19 10:40:47 -07:00
|
|
|
"../rtc_base:rtc_base_approved",
|
2017-05-31 05:14:26 -07:00
|
|
|
]
|
2018-02-16 10:49:22 +01:00
|
|
|
if (rtc_use_metal_rendering) {
|
|
|
|
|
deps += [ ":metal_objc" ]
|
|
|
|
|
}
|
2018-08-30 09:30:29 +02:00
|
|
|
if (!build_with_chromium) {
|
|
|
|
|
deps += [
|
|
|
|
|
":callback_logger_objc",
|
|
|
|
|
":file_logger_objc",
|
|
|
|
|
]
|
|
|
|
|
}
|
2017-05-31 05:14:26 -07:00
|
|
|
|
2020-07-03 10:19:30 +02:00
|
|
|
frameworks = [
|
2017-05-31 05:14:26 -07:00
|
|
|
"AVFoundation.framework",
|
|
|
|
|
"CoreGraphics.framework",
|
|
|
|
|
"CoreMedia.framework",
|
|
|
|
|
"GLKit.framework",
|
|
|
|
|
]
|
|
|
|
|
|
2018-06-04 10:24:37 +02:00
|
|
|
configs += [
|
|
|
|
|
"..:common_objc",
|
|
|
|
|
":used_from_extension",
|
|
|
|
|
]
|
2017-05-08 05:32:05 -07:00
|
|
|
|
2017-08-24 05:43:45 -07:00
|
|
|
public_configs = [ ":common_config_objc" ]
|
2017-05-31 05:14:26 -07:00
|
|
|
}
|
2018-08-30 09:30:29 +02:00
|
|
|
|
|
|
|
|
bundle_data("ios_framework_bundle") {
|
2020-01-16 14:41:10 +01:00
|
|
|
deps = [ "../sdk:framework_objc" ]
|
|
|
|
|
sources = [ "$root_build_dir/WebRTC.framework" ]
|
|
|
|
|
outputs = [ "{{bundle_resources_dir}}/Frameworks/{{source_file_part}}" ]
|
2018-08-30 09:30:29 +02:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (is_mac) {
|
2018-09-05 16:29:27 +02:00
|
|
|
mac_framework_bundle_with_umbrella_header("mac_framework_objc") {
|
2018-08-30 09:30:29 +02:00
|
|
|
info_plist = "objc/Info.plist"
|
|
|
|
|
output_name = "WebRTC"
|
|
|
|
|
|
2018-09-05 16:29:27 +02:00
|
|
|
sources = [
|
|
|
|
|
"objc/api/peerconnection/RTCAudioSource.h",
|
|
|
|
|
"objc/api/peerconnection/RTCAudioTrack.h",
|
|
|
|
|
"objc/api/peerconnection/RTCCertificate.h",
|
|
|
|
|
"objc/api/peerconnection/RTCConfiguration.h",
|
2018-10-25 10:16:44 -07:00
|
|
|
"objc/api/peerconnection/RTCCryptoOptions.h",
|
2018-09-05 16:29:27 +02:00
|
|
|
"objc/api/peerconnection/RTCDataChannel.h",
|
|
|
|
|
"objc/api/peerconnection/RTCDataChannelConfiguration.h",
|
|
|
|
|
"objc/api/peerconnection/RTCDtmfSender.h",
|
|
|
|
|
"objc/api/peerconnection/RTCFieldTrials.h",
|
|
|
|
|
"objc/api/peerconnection/RTCIceCandidate.h",
|
|
|
|
|
"objc/api/peerconnection/RTCIceServer.h",
|
|
|
|
|
"objc/api/peerconnection/RTCLegacyStatsReport.h",
|
|
|
|
|
"objc/api/peerconnection/RTCMediaConstraints.h",
|
|
|
|
|
"objc/api/peerconnection/RTCMediaSource.h",
|
|
|
|
|
"objc/api/peerconnection/RTCMediaStream.h",
|
|
|
|
|
"objc/api/peerconnection/RTCMediaStreamTrack.h",
|
|
|
|
|
"objc/api/peerconnection/RTCMetrics.h",
|
|
|
|
|
"objc/api/peerconnection/RTCMetricsSampleInfo.h",
|
|
|
|
|
"objc/api/peerconnection/RTCPeerConnection.h",
|
|
|
|
|
"objc/api/peerconnection/RTCPeerConnectionFactory.h",
|
|
|
|
|
"objc/api/peerconnection/RTCPeerConnectionFactoryOptions.h",
|
|
|
|
|
"objc/api/peerconnection/RTCRtcpParameters.h",
|
|
|
|
|
"objc/api/peerconnection/RTCRtpCodecParameters.h",
|
|
|
|
|
"objc/api/peerconnection/RTCRtpEncodingParameters.h",
|
|
|
|
|
"objc/api/peerconnection/RTCRtpHeaderExtension.h",
|
|
|
|
|
"objc/api/peerconnection/RTCRtpParameters.h",
|
|
|
|
|
"objc/api/peerconnection/RTCRtpReceiver.h",
|
|
|
|
|
"objc/api/peerconnection/RTCRtpSender.h",
|
|
|
|
|
"objc/api/peerconnection/RTCRtpTransceiver.h",
|
|
|
|
|
"objc/api/peerconnection/RTCSSLAdapter.h",
|
|
|
|
|
"objc/api/peerconnection/RTCSessionDescription.h",
|
|
|
|
|
"objc/api/peerconnection/RTCTracing.h",
|
|
|
|
|
"objc/api/peerconnection/RTCVideoSource.h",
|
|
|
|
|
"objc/api/peerconnection/RTCVideoTrack.h",
|
|
|
|
|
"objc/api/video_codec/RTCVideoDecoderVP8.h",
|
|
|
|
|
"objc/api/video_codec/RTCVideoDecoderVP9.h",
|
|
|
|
|
"objc/api/video_codec/RTCVideoEncoderVP8.h",
|
|
|
|
|
"objc/api/video_codec/RTCVideoEncoderVP9.h",
|
|
|
|
|
"objc/api/video_frame_buffer/RTCNativeI420Buffer.h",
|
|
|
|
|
"objc/api/video_frame_buffer/RTCNativeMutableI420Buffer.h",
|
|
|
|
|
"objc/base/RTCCodecSpecificInfo.h",
|
|
|
|
|
"objc/base/RTCEncodedImage.h",
|
|
|
|
|
"objc/base/RTCI420Buffer.h",
|
|
|
|
|
"objc/base/RTCLogging.h",
|
|
|
|
|
"objc/base/RTCMacros.h",
|
|
|
|
|
"objc/base/RTCMutableI420Buffer.h",
|
|
|
|
|
"objc/base/RTCMutableYUVPlanarBuffer.h",
|
|
|
|
|
"objc/base/RTCRtpFragmentationHeader.h",
|
|
|
|
|
"objc/base/RTCVideoCapturer.h",
|
|
|
|
|
"objc/base/RTCVideoCodecInfo.h",
|
|
|
|
|
"objc/base/RTCVideoDecoder.h",
|
|
|
|
|
"objc/base/RTCVideoDecoderFactory.h",
|
|
|
|
|
"objc/base/RTCVideoEncoder.h",
|
|
|
|
|
"objc/base/RTCVideoEncoderFactory.h",
|
|
|
|
|
"objc/base/RTCVideoEncoderQpThresholds.h",
|
|
|
|
|
"objc/base/RTCVideoEncoderSettings.h",
|
|
|
|
|
"objc/base/RTCVideoFrame.h",
|
|
|
|
|
"objc/base/RTCVideoFrameBuffer.h",
|
|
|
|
|
"objc/base/RTCVideoRenderer.h",
|
|
|
|
|
"objc/base/RTCYUVPlanarBuffer.h",
|
|
|
|
|
"objc/components/capturer/RTCCameraVideoCapturer.h",
|
|
|
|
|
"objc/components/capturer/RTCFileVideoCapturer.h",
|
|
|
|
|
"objc/components/renderer/metal/RTCMTLNSVideoView.h",
|
|
|
|
|
"objc/components/renderer/opengl/RTCNSGLVideoView.h",
|
|
|
|
|
"objc/components/renderer/opengl/RTCVideoViewShading.h",
|
|
|
|
|
"objc/components/video_codec/RTCCodecSpecificInfoH264.h",
|
|
|
|
|
"objc/components/video_codec/RTCDefaultVideoDecoderFactory.h",
|
|
|
|
|
"objc/components/video_codec/RTCDefaultVideoEncoderFactory.h",
|
|
|
|
|
"objc/components/video_codec/RTCH264ProfileLevelId.h",
|
|
|
|
|
"objc/components/video_codec/RTCVideoDecoderFactoryH264.h",
|
|
|
|
|
"objc/components/video_codec/RTCVideoDecoderH264.h",
|
|
|
|
|
"objc/components/video_codec/RTCVideoEncoderFactoryH264.h",
|
|
|
|
|
"objc/components/video_codec/RTCVideoEncoderH264.h",
|
|
|
|
|
"objc/components/video_frame_buffer/RTCCVPixelBuffer.h",
|
|
|
|
|
"objc/helpers/RTCDispatcher.h",
|
2018-08-30 09:30:29 +02:00
|
|
|
]
|
2018-09-05 16:29:27 +02:00
|
|
|
if (!build_with_chromium) {
|
|
|
|
|
sources += [
|
|
|
|
|
"objc/api/logging/RTCCallbackLogger.h",
|
|
|
|
|
"objc/api/peerconnection/RTCFileLogger.h",
|
|
|
|
|
]
|
|
|
|
|
}
|
2018-08-30 09:30:29 +02:00
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
":base_objc",
|
|
|
|
|
":default_codec_factory_objc",
|
|
|
|
|
":native_api",
|
|
|
|
|
":native_video",
|
|
|
|
|
":peerconnectionfactory_base_objc",
|
|
|
|
|
":ui_objc",
|
|
|
|
|
":videocapture_objc",
|
|
|
|
|
":videocodec_objc",
|
|
|
|
|
":videotoolbox_objc",
|
|
|
|
|
"../rtc_base:rtc_base_approved",
|
|
|
|
|
]
|
|
|
|
|
if (rtc_use_metal_rendering) {
|
|
|
|
|
deps += [ ":metal_objc" ]
|
|
|
|
|
}
|
|
|
|
|
if (!build_with_chromium) {
|
|
|
|
|
deps += [
|
|
|
|
|
":callback_logger_objc",
|
|
|
|
|
":file_logger_objc",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-03 10:19:30 +02:00
|
|
|
frameworks = [
|
2018-08-30 09:30:29 +02:00
|
|
|
"AVFoundation.framework",
|
|
|
|
|
"CoreGraphics.framework",
|
|
|
|
|
"CoreMedia.framework",
|
|
|
|
|
"OpenGL.framework",
|
|
|
|
|
]
|
|
|
|
|
|
2018-09-05 16:29:27 +02:00
|
|
|
configs = [ "..:common_objc" ]
|
2018-08-30 09:30:29 +02:00
|
|
|
|
|
|
|
|
public_configs = [ ":common_config_objc" ]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
bundle_data("mac_framework_bundle") {
|
2020-01-16 14:41:10 +01:00
|
|
|
deps = [ "../sdk:mac_framework_objc" ]
|
|
|
|
|
sources = [ "$root_build_dir/WebRTC.framework" ]
|
|
|
|
|
outputs = [ "{{bundle_contents_dir}}/Frameworks/{{source_file_part}}" ]
|
2018-08-30 09:30:29 +02:00
|
|
|
}
|
Reland of Split iOS sdk in to separate targets (patchset #1 id:1 of https://codereview.webrtc.org/2911053002/ )
Reason for revert:
Take three of relanding this after all internal issues have been resolved.
Original issue's description:
> Revert of Split iOS sdk in to separate targets (patchset #3 id:320001 of https://codereview.webrtc.org/2893843003/ )
>
> Reason for revert:
> Breaks downstream project.
>
> Original issue's description:
> > Reland of Split iOS sdk in to separate targets (patchset #1 id:1 of https://codereview.webrtc.org/2893593002/ )
> >
> > Reason for revert:
> > Take two of fixing downstream issues?
> >
> > Original issue's description:
> > > Revert of Split iOS sdk in to separate targets (patchset #1 id:1 of https://codereview.webrtc.org/2890733003/ )
> > >
> > > Reason for revert:
> > > Still problems with downstream projects
> > >
> > > Original issue's description:
> > > > Reland of Split iOS sdk in to separate targets (patchset #1 id:1 of https://codereview.webrtc.org/2890513002/ )
> > > >
> > > > Reason for revert:
> > > > Fixing downstream breakages
> > > >
> > > > Original issue's description:
> > > > > Revert of Split iOS sdk in to separate targets (patchset #13 id:280001 of https://codereview.webrtc.org/2862543002/ )
> > > > >
> > > > > Reason for revert:
> > > > > Breaking downstream projects.
> > > > >
> > > > > Original issue's description:
> > > > > > Split iOS sdk in to separate targets
> > > > > >
> > > > > > This CL splits the iOS sdk into separate static libraries for video,
> > > > > > audio, ui, common, and peerconnection-related code. This will in the
> > > > > > future make it easier to compile WebRTC without unneeded components.
> > > > > >
> > > > > > BUG=webrtc:4867
> > > > > >
> > > > > > Review-Url: https://codereview.webrtc.org/2862543002
> > > > > > Cr-Commit-Position: refs/heads/master@{#18166}
> > > > > > Committed: https://chromium.googlesource.com/external/webrtc/+/52c83fe7102f566cf35a7533092873d58b38f426
> > > > >
> > > > > TBR=magjed@webrtc.org,denicija@webrtc.org,tkchin@webrtc.org,henrika@webrtc.org,kthelgason@webrtc.org
> > > > > # Skipping CQ checks because original CL landed less than 1 days ago.
> > > > > NOPRESUBMIT=true
> > > > > NOTREECHECKS=true
> > > > > NOTRY=true
> > > > > BUG=webrtc:4867
> > > > >
> > > > > Review-Url: https://codereview.webrtc.org/2890513002
> > > > > Cr-Commit-Position: refs/heads/master@{#18170}
> > > > > Committed: https://chromium.googlesource.com/external/webrtc/+/9756238084707787f735e1294e896e462e459717
> > > >
> > > > TBR=magjed@webrtc.org,denicija@webrtc.org,tkchin@webrtc.org,henrika@webrtc.org,charujain@webrtc.org
> > > > # Skipping CQ checks because original CL landed less than 1 days ago.
> > > > NOPRESUBMIT=true
> > > > NOTREECHECKS=true
> > > > NOTRY=true
> > > > BUG=webrtc:4867
> > > >
> > > > Review-Url: https://codereview.webrtc.org/2890733003
> > > > Cr-Commit-Position: refs/heads/master@{#18174}
> > > > Committed: https://chromium.googlesource.com/external/webrtc/+/d51e042492bedd057bc0cac7828979d5c7369cea
> > >
> > > TBR=magjed@webrtc.org,denicija@webrtc.org,tkchin@webrtc.org,henrika@webrtc.org,charujain@webrtc.org
> > > # Skipping CQ checks because original CL landed less than 1 days ago.
> > > NOPRESUBMIT=true
> > > NOTREECHECKS=true
> > > NOTRY=true
> > > BUG=webrtc:4867
> > >
> > > Review-Url: https://codereview.webrtc.org/2893593002
> > > Cr-Commit-Position: refs/heads/master@{#18182}
> > > Committed: https://chromium.googlesource.com/external/webrtc/+/37144b214e2baf62ecb262ab878dde8c59cdd6a3
> >
> > TBR=magjed@webrtc.org,denicija@webrtc.org,tkchin@webrtc.org,henrika@webrtc.org,charujain@webrtc.org
> > # Skipping CQ checks because original CL landed less than 1 days ago.
> > NOPRESUBMIT=true
> > NOTREECHECKS=true
> > NOTRY=true
> > BUG=webrtc:4867
> >
> > Review-Url: https://codereview.webrtc.org/2893843003
> > Cr-Commit-Position: refs/heads/master@{#18303}
> > Committed: https://chromium.googlesource.com/external/webrtc/+/580c3522d294c877adfe555048c675bd8d166657
>
> TBR=magjed@webrtc.org,denicija@webrtc.org,tkchin@webrtc.org,henrika@webrtc.org,charujain@webrtc.org,kthelgason@webrtc.org
> # Skipping CQ checks because original CL landed less than 1 days ago.
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
> BUG=webrtc:4867
>
> Review-Url: https://codereview.webrtc.org/2911053002
> Cr-Commit-Position: refs/heads/master@{#18309}
> Committed: https://chromium.googlesource.com/external/webrtc/+/af5c05540cc8208f682cafe88c5c16a505479196
TBR=magjed@webrtc.org,denicija@webrtc.org,tkchin@webrtc.org,henrika@webrtc.org,charujain@webrtc.org,mbonadei@webrtc.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=webrtc:4867
Review-Url: https://codereview.webrtc.org/2913753003
Cr-Commit-Position: refs/heads/master@{#18319}
2017-05-30 01:48:47 -07:00
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("wrapped_native_codec_objc") {
|
2018-03-07 10:32:03 +01:00
|
|
|
sources = [
|
2018-08-30 09:30:29 +02:00
|
|
|
"objc/api/video_codec/RTCWrappedNativeVideoDecoder.h",
|
|
|
|
|
"objc/api/video_codec/RTCWrappedNativeVideoDecoder.mm",
|
|
|
|
|
"objc/api/video_codec/RTCWrappedNativeVideoEncoder.h",
|
|
|
|
|
"objc/api/video_codec/RTCWrappedNativeVideoEncoder.mm",
|
2018-03-07 10:32:03 +01:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
configs += [ "..:common_objc" ]
|
|
|
|
|
public_configs = [ ":common_config_objc" ]
|
|
|
|
|
|
|
|
|
|
deps = [
|
2018-08-30 09:30:29 +02:00
|
|
|
":base_objc",
|
|
|
|
|
":helpers_objc",
|
2018-03-07 10:32:03 +01:00
|
|
|
"../api/video_codecs:video_codecs_api",
|
|
|
|
|
"../media:rtc_media_base",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2018-02-01 15:47:05 +01:00
|
|
|
# The native API is currently experimental and may change without notice.
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("native_api") {
|
2018-02-01 15:47:05 +01:00
|
|
|
visibility = [ "*" ]
|
2019-01-14 14:23:23 +01:00
|
|
|
allow_poison = [ "audio_codecs" ] # TODO(bugs.webrtc.org/8396): Remove.
|
2018-02-01 15:47:05 +01:00
|
|
|
sources = [
|
2020-08-19 16:41:54 -07:00
|
|
|
"objc/native/api/network_monitor_factory.h",
|
|
|
|
|
"objc/native/api/network_monitor_factory.mm",
|
2018-08-30 09:30:29 +02:00
|
|
|
"objc/native/api/video_capturer.h",
|
|
|
|
|
"objc/native/api/video_capturer.mm",
|
|
|
|
|
"objc/native/api/video_decoder_factory.h",
|
|
|
|
|
"objc/native/api/video_decoder_factory.mm",
|
|
|
|
|
"objc/native/api/video_encoder_factory.h",
|
|
|
|
|
"objc/native/api/video_encoder_factory.mm",
|
|
|
|
|
"objc/native/api/video_frame.h",
|
|
|
|
|
"objc/native/api/video_frame.mm",
|
|
|
|
|
"objc/native/api/video_frame_buffer.h",
|
|
|
|
|
"objc/native/api/video_frame_buffer.mm",
|
|
|
|
|
"objc/native/api/video_renderer.h",
|
|
|
|
|
"objc/native/api/video_renderer.mm",
|
2018-02-01 15:47:05 +01:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
configs += [ "..:common_objc" ]
|
|
|
|
|
|
|
|
|
|
public_configs = [ ":common_config_objc" ]
|
|
|
|
|
|
|
|
|
|
deps = [
|
2018-08-30 09:30:29 +02:00
|
|
|
":base_objc",
|
2018-02-01 15:47:05 +01:00
|
|
|
":native_video",
|
2018-02-16 10:49:22 +01:00
|
|
|
":videoframebuffer_objc",
|
2018-03-15 09:41:03 +01:00
|
|
|
"../api:libjingle_peerconnection_api",
|
2019-09-17 14:30:41 +02:00
|
|
|
"../api:media_stream_interface",
|
2019-01-25 20:26:48 +01:00
|
|
|
"../api:scoped_refptr",
|
2018-05-11 11:15:30 +02:00
|
|
|
"../api/video:video_frame",
|
2019-06-10 12:59:38 +02:00
|
|
|
"../api/video:video_rtp_headers",
|
2018-02-01 15:47:05 +01:00
|
|
|
"../api/video_codecs:video_codecs_api",
|
|
|
|
|
"../common_video",
|
2019-03-21 13:35:10 +01:00
|
|
|
"../rtc_base",
|
2018-02-01 15:47:05 +01:00
|
|
|
]
|
2020-08-19 16:41:54 -07:00
|
|
|
if (is_ios) {
|
|
|
|
|
deps += [ ":native_network_monitor" ]
|
|
|
|
|
}
|
2020-06-05 14:30:41 +02:00
|
|
|
absl_deps = [ "//third_party/abseil-cpp/absl/memory" ]
|
2018-02-01 15:47:05 +01:00
|
|
|
}
|
|
|
|
|
|
2020-08-19 16:41:54 -07:00
|
|
|
if (is_ios) {
|
|
|
|
|
rtc_library("native_network_monitor") {
|
|
|
|
|
visibility = [ "*" ]
|
|
|
|
|
|
|
|
|
|
sources = [
|
|
|
|
|
"objc/native/src/objc_network_monitor.h",
|
|
|
|
|
"objc/native/src/objc_network_monitor.mm",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
":network_monitor_objc",
|
|
|
|
|
":network_monitor_observer",
|
|
|
|
|
"../rtc_base",
|
|
|
|
|
"../rtc_base/synchronization:sequence_checker",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("native_video") {
|
2018-02-01 15:47:05 +01:00
|
|
|
sources = [
|
2018-08-30 09:30:29 +02:00
|
|
|
"objc/native/src/objc_frame_buffer.h",
|
|
|
|
|
"objc/native/src/objc_frame_buffer.mm",
|
|
|
|
|
"objc/native/src/objc_video_decoder_factory.h",
|
|
|
|
|
"objc/native/src/objc_video_decoder_factory.mm",
|
|
|
|
|
"objc/native/src/objc_video_encoder_factory.h",
|
|
|
|
|
"objc/native/src/objc_video_encoder_factory.mm",
|
|
|
|
|
"objc/native/src/objc_video_frame.h",
|
|
|
|
|
"objc/native/src/objc_video_frame.mm",
|
|
|
|
|
"objc/native/src/objc_video_renderer.h",
|
|
|
|
|
"objc/native/src/objc_video_renderer.mm",
|
|
|
|
|
"objc/native/src/objc_video_track_source.h",
|
|
|
|
|
"objc/native/src/objc_video_track_source.mm",
|
2018-02-01 15:47:05 +01:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
configs += [ "..:common_objc" ]
|
|
|
|
|
|
|
|
|
|
public_configs = [ ":common_config_objc" ]
|
|
|
|
|
|
|
|
|
|
deps = [
|
2018-08-30 09:30:29 +02:00
|
|
|
":base_native_additions_objc",
|
|
|
|
|
":base_objc",
|
|
|
|
|
":helpers_objc",
|
2018-02-16 10:49:22 +01:00
|
|
|
":videocodec_objc",
|
|
|
|
|
":videoframebuffer_objc",
|
2018-08-30 09:30:29 +02:00
|
|
|
":vpx_codec_constants",
|
2018-03-07 10:32:03 +01:00
|
|
|
":wrapped_native_codec_objc",
|
2018-05-11 11:15:30 +02:00
|
|
|
"../api/video:video_frame",
|
|
|
|
|
"../api/video:video_frame_i420",
|
2019-06-10 12:59:38 +02:00
|
|
|
"../api/video:video_rtp_headers",
|
2018-02-01 15:47:05 +01:00
|
|
|
"../api/video_codecs:video_codecs_api",
|
|
|
|
|
"../common_video",
|
|
|
|
|
"../media:rtc_audio_video",
|
|
|
|
|
"../media:rtc_media_base",
|
|
|
|
|
"../modules:module_api",
|
|
|
|
|
"../modules/video_coding:video_codec_interface",
|
2019-03-21 13:35:10 +01:00
|
|
|
"../rtc_base",
|
2018-02-01 15:47:05 +01:00
|
|
|
"../rtc_base:checks",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("video_toolbox_cc") {
|
2018-10-29 18:18:09 +01:00
|
|
|
visibility = [
|
|
|
|
|
":videotoolbox_objc",
|
|
|
|
|
":sdk_unittests_sources",
|
|
|
|
|
]
|
2017-05-31 05:14:26 -07:00
|
|
|
sources = [
|
2018-08-30 09:30:29 +02:00
|
|
|
"objc/components/video_codec/helpers.cc",
|
|
|
|
|
"objc/components/video_codec/helpers.h",
|
|
|
|
|
"objc/components/video_codec/nalu_rewriter.cc",
|
|
|
|
|
"objc/components/video_codec/nalu_rewriter.h",
|
2017-08-24 12:26:05 -07:00
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
"../common_video",
|
|
|
|
|
"../modules:module_api",
|
|
|
|
|
"../modules/video_coding:webrtc_h264",
|
2017-12-13 16:05:42 +01:00
|
|
|
"../rtc_base:checks",
|
2017-08-24 12:26:05 -07:00
|
|
|
"../rtc_base:rtc_base_approved",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("videotoolbox_objc") {
|
2018-02-16 10:49:22 +01:00
|
|
|
visibility = [ "*" ]
|
2019-01-14 14:23:23 +01:00
|
|
|
allow_poison = [ "audio_codecs" ] # TODO(bugs.webrtc.org/8396): Remove.
|
2017-08-24 12:26:05 -07:00
|
|
|
sources = [
|
2018-08-30 09:30:29 +02:00
|
|
|
"objc/components/video_codec/RTCVideoDecoderFactoryH264.h",
|
|
|
|
|
"objc/components/video_codec/RTCVideoDecoderFactoryH264.m",
|
|
|
|
|
"objc/components/video_codec/RTCVideoDecoderH264.h",
|
|
|
|
|
"objc/components/video_codec/RTCVideoDecoderH264.mm",
|
|
|
|
|
"objc/components/video_codec/RTCVideoEncoderFactoryH264.h",
|
|
|
|
|
"objc/components/video_codec/RTCVideoEncoderFactoryH264.m",
|
|
|
|
|
"objc/components/video_codec/RTCVideoEncoderH264.h",
|
|
|
|
|
"objc/components/video_codec/RTCVideoEncoderH264.mm",
|
2016-11-09 10:43:26 +01:00
|
|
|
]
|
2017-05-31 05:14:26 -07:00
|
|
|
|
2018-06-04 10:24:37 +02:00
|
|
|
configs += [
|
|
|
|
|
"..:common_objc",
|
|
|
|
|
":used_from_extension",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
if (is_ios && rtc_apprtcmobile_broadcast_extension) {
|
|
|
|
|
defines = [ "RTC_APPRTCMOBILE_BROADCAST_EXTENSION" ]
|
|
|
|
|
}
|
2017-05-31 05:14:26 -07:00
|
|
|
|
|
|
|
|
deps = [
|
2018-08-30 09:30:29 +02:00
|
|
|
":base_native_additions_objc",
|
|
|
|
|
":base_objc",
|
|
|
|
|
":helpers_objc",
|
2017-08-24 12:26:05 -07:00
|
|
|
":video_toolbox_cc",
|
2018-02-16 10:49:22 +01:00
|
|
|
":videocodec_objc",
|
|
|
|
|
":videoframebuffer_objc",
|
2017-05-31 05:14:26 -07:00
|
|
|
"../common_video",
|
|
|
|
|
"../modules:module_api",
|
2018-01-08 11:05:10 +01:00
|
|
|
"../modules/video_coding:video_codec_interface",
|
2017-12-13 16:05:42 +01:00
|
|
|
"../rtc_base:checks",
|
2017-07-19 10:40:47 -07:00
|
|
|
"../rtc_base:rtc_base_approved",
|
2017-12-14 11:24:00 +01:00
|
|
|
"//third_party/libyuv",
|
2017-05-31 05:14:26 -07:00
|
|
|
]
|
|
|
|
|
|
2020-07-03 10:19:30 +02:00
|
|
|
frameworks = [
|
2017-05-31 05:14:26 -07:00
|
|
|
"CoreFoundation.framework",
|
|
|
|
|
"CoreMedia.framework",
|
|
|
|
|
"CoreVideo.framework",
|
|
|
|
|
"VideoToolbox.framework",
|
|
|
|
|
]
|
2016-11-09 10:43:26 +01:00
|
|
|
}
|
2016-10-11 13:27:26 -07:00
|
|
|
}
|
2016-04-27 01:54:20 -07:00
|
|
|
}
|