@@ -143,12 +143,15 @@ if (is_ios || is_mac) {
143
143
" objc/helpers/RTCDispatcher+Private.h" ,
144
144
" objc/helpers/RTCDispatcher.h" ,
145
145
" objc/helpers/RTCDispatcher.m" ,
146
+ " objc/helpers/RTCYUVHelper.h" ,
147
+ " objc/helpers/RTCYUVHelper.mm" ,
146
148
" objc/helpers/scoped_cftyperef.h" ,
147
149
]
148
150
149
151
deps = [
150
152
" :base_objc" ,
151
153
" ../rtc_base:checks" ,
154
+ " //third_party/libyuv" ,
152
155
]
153
156
154
157
absl_deps = [ " //third_party/abseil-cpp/absl/strings" ]
@@ -635,17 +638,13 @@ if (is_ios || is_mac) {
635
638
" Metal.framework" ,
636
639
" MetalKit.framework" ,
637
640
]
638
- if (is_ios ) {
641
+ if (is_ios || is_mac ) {
639
642
sources += [
640
643
" objc/components/renderer/metal/RTCMTLVideoView.h" ,
641
644
" objc/components/renderer/metal/RTCMTLVideoView.m" ,
642
645
]
643
646
}
644
647
if (is_mac ) {
645
- sources += [
646
- " objc/components/renderer/metal/RTCMTLNSVideoView.h" ,
647
- " objc/components/renderer/metal/RTCMTLNSVideoView.m" ,
648
- ]
649
648
frameworks += [ " AppKit.framework" ]
650
649
}
651
650
deps = [
@@ -1032,6 +1031,12 @@ if (is_ios || is_mac) {
1032
1031
" objc/api/peerconnection/RTCRtcpParameters+Private.h" ,
1033
1032
" objc/api/peerconnection/RTCRtcpParameters.h" ,
1034
1033
" objc/api/peerconnection/RTCRtcpParameters.mm" ,
1034
+ " objc/api/peerconnection/RTCRtpCapabilities.h" ,
1035
+ " objc/api/peerconnection/RTCRtpCapabilities.mm" ,
1036
+ " objc/api/peerconnection/RTCRtpCapabilities+Private.h" ,
1037
+ " objc/api/peerconnection/RTCRtpCodecCapability.h" ,
1038
+ " objc/api/peerconnection/RTCRtpCodecCapability.mm" ,
1039
+ " objc/api/peerconnection/RTCRtpCodecCapability+Private.h" ,
1035
1040
" objc/api/peerconnection/RTCRtpCodecParameters+Private.h" ,
1036
1041
" objc/api/peerconnection/RTCRtpCodecParameters.h" ,
1037
1042
" objc/api/peerconnection/RTCRtpCodecParameters.mm" ,
@@ -1329,6 +1334,7 @@ if (is_ios || is_mac) {
1329
1334
" objc/components/video_frame_buffer/RTCCVPixelBuffer.h" ,
1330
1335
" objc/helpers/RTCCameraPreviewView.h" ,
1331
1336
" objc/helpers/RTCDispatcher.h" ,
1337
+ " objc/helpers/RTCYUVHelper.h" ,
1332
1338
" objc/helpers/UIDevice+RTCDevice.h" ,
1333
1339
" objc/api/peerconnection/RTCAudioDeviceModule.h" ,
1334
1340
" objc/api/peerconnection/RTCIODevice.h" ,
@@ -1352,6 +1358,8 @@ if (is_ios || is_mac) {
1352
1358
" objc/api/peerconnection/RTCPeerConnectionFactory.h" ,
1353
1359
" objc/api/peerconnection/RTCPeerConnectionFactoryOptions.h" ,
1354
1360
" objc/api/peerconnection/RTCRtcpParameters.h" ,
1361
+ " objc/api/peerconnection/RTCRtpCapabilities.h" ,
1362
+ " objc/api/peerconnection/RTCRtpCodecCapability.h" ,
1355
1363
" objc/api/peerconnection/RTCRtpCodecParameters.h" ,
1356
1364
" objc/api/peerconnection/RTCRtpEncodingParameters.h" ,
1357
1365
" objc/api/peerconnection/RTCRtpHeaderExtension.h" ,
@@ -1474,6 +1482,8 @@ if (is_ios || is_mac) {
1474
1482
" objc/api/peerconnection/RTCPeerConnectionFactory.h" ,
1475
1483
" objc/api/peerconnection/RTCPeerConnectionFactoryOptions.h" ,
1476
1484
" objc/api/peerconnection/RTCRtcpParameters.h" ,
1485
+ " objc/api/peerconnection/RTCRtpCapabilities.h" ,
1486
+ " objc/api/peerconnection/RTCRtpCodecCapability.h" ,
1477
1487
" objc/api/peerconnection/RTCRtpCodecParameters.h" ,
1478
1488
" objc/api/peerconnection/RTCRtpEncodingParameters.h" ,
1479
1489
" objc/api/peerconnection/RTCRtpHeaderExtension.h" ,
@@ -1517,6 +1527,7 @@ if (is_ios || is_mac) {
1517
1527
" objc/base/RTCYUVPlanarBuffer.h" ,
1518
1528
" objc/components/capturer/RTCCameraVideoCapturer.h" ,
1519
1529
" objc/components/capturer/RTCFileVideoCapturer.h" ,
1530
+ " objc/components/renderer/metal/RTCMTLVideoView.h" ,
1520
1531
" objc/components/renderer/metal/RTCMTLNSVideoView.h" ,
1521
1532
" objc/components/renderer/opengl/RTCNSGLVideoView.h" ,
1522
1533
" objc/components/renderer/opengl/RTCVideoViewShading.h" ,
@@ -1530,6 +1541,7 @@ if (is_ios || is_mac) {
1530
1541
" objc/components/video_codec/RTCVideoEncoderH264.h" ,
1531
1542
" objc/components/video_frame_buffer/RTCCVPixelBuffer.h" ,
1532
1543
" objc/helpers/RTCDispatcher.h" ,
1544
+ " objc/helpers/RTCYUVHelper.h" ,
1533
1545
# Added for Simulcast support
1534
1546
" objc/components/video_codec/RTCVideoEncoderFactorySimulcast.h" ,
1535
1547
" objc/api/video_codec/RTCVideoEncoderSimulcast.h" ,
0 commit comments