Index: webrtc/sdk/BUILD.gn |
diff --git a/webrtc/sdk/BUILD.gn b/webrtc/sdk/BUILD.gn |
index 798ebcc9df3ac73a622825b28d2b3532257dd3d0..535c5b01b962a99931b764b223642d1106c97d5e 100644 |
--- a/webrtc/sdk/BUILD.gn |
+++ b/webrtc/sdk/BUILD.gn |
@@ -310,6 +310,7 @@ if (is_ios || is_mac) { |
sources = [ |
"objc/Framework/Classes/PeerConnection/RTCPeerConnectionFactory+Private.h", |
"objc/Framework/Classes/PeerConnection/RTCPeerConnectionFactory.mm", |
+ "objc/Framework/Classes/PeerConnection/RTCVideoCodecH264.mm", |
] |
public_configs = [ ":objc_common_config" ] |
@@ -326,11 +327,13 @@ if (is_ios || is_mac) { |
":objc_peerconnectionfactory_base", |
":objc_video", |
":objc_videotoolbox", |
+ ":objc_videotracksource", |
"../api:video_frame_api", |
"../base:rtc_base", |
"../media:rtc_media_base", |
"../pc:create_pc_factory", |
"../pc:peerconnection", |
+ "../system_wrappers:field_trial_api", |
] |
} |
@@ -377,6 +380,7 @@ if (is_ios || is_mac) { |
"objc/Framework/Classes/PeerConnection/RTCDataChannel.mm", |
"objc/Framework/Classes/PeerConnection/RTCDataChannelConfiguration+Private.h", |
"objc/Framework/Classes/PeerConnection/RTCDataChannelConfiguration.mm", |
+ "objc/Framework/Classes/PeerConnection/RTCEncodedImage.mm", |
"objc/Framework/Classes/PeerConnection/RTCIceCandidate+Private.h", |
"objc/Framework/Classes/PeerConnection/RTCIceCandidate.mm", |
"objc/Framework/Classes/PeerConnection/RTCIceServer+Private.h", |
@@ -402,6 +406,7 @@ if (is_ios || is_mac) { |
"objc/Framework/Classes/PeerConnection/RTCRtpCodecParameters.mm", |
"objc/Framework/Classes/PeerConnection/RTCRtpEncodingParameters+Private.h", |
"objc/Framework/Classes/PeerConnection/RTCRtpEncodingParameters.mm", |
+ "objc/Framework/Classes/PeerConnection/RTCRtpFragmentationHeader.mm", |
"objc/Framework/Classes/PeerConnection/RTCRtpParameters+Private.h", |
"objc/Framework/Classes/PeerConnection/RTCRtpParameters.mm", |
"objc/Framework/Classes/PeerConnection/RTCRtpReceiver+Private.h", |
@@ -413,6 +418,8 @@ if (is_ios || is_mac) { |
"objc/Framework/Classes/PeerConnection/RTCSessionDescription.mm", |
"objc/Framework/Classes/PeerConnection/RTCTracing.mm", |
"objc/Framework/Classes/PeerConnection/RTCVideoCapturer.m", |
+ "objc/Framework/Classes/PeerConnection/RTCVideoCodec+Private.h", |
+ "objc/Framework/Classes/PeerConnection/RTCVideoCodec.mm", |
"objc/Framework/Classes/PeerConnection/RTCVideoFrame.mm", |
"objc/Framework/Classes/PeerConnection/RTCVideoRendererAdapter+Private.h", |
"objc/Framework/Classes/PeerConnection/RTCVideoRendererAdapter.h", |
@@ -421,6 +428,10 @@ if (is_ios || is_mac) { |
"objc/Framework/Classes/PeerConnection/RTCVideoSource.mm", |
"objc/Framework/Classes/PeerConnection/RTCVideoTrack+Private.h", |
"objc/Framework/Classes/PeerConnection/RTCVideoTrack.mm", |
+ "objc/Framework/Classes/PeerConnection/objc_video_decoder_factory.h", |
+ "objc/Framework/Classes/PeerConnection/objc_video_decoder_factory.mm", |
+ "objc/Framework/Classes/PeerConnection/objc_video_encoder_factory.h", |
+ "objc/Framework/Classes/PeerConnection/objc_video_encoder_factory.mm", |
"objc/Framework/Headers/WebRTC/RTCAVFoundationVideoSource.h", |
"objc/Framework/Headers/WebRTC/RTCAudioSource.h", |
"objc/Framework/Headers/WebRTC/RTCAudioTrack.h", |
@@ -470,9 +481,12 @@ if (is_ios || is_mac) { |
":objc_corevideoframebuffer", |
":objc_videotracksource", |
"../api:video_frame_api", |
+ "../api/video_codecs:video_codecs_api", |
"../base:rtc_base", |
"../common_video", |
+ "../media:rtc_audio_video", |
magjed_webrtc
2017/07/05 13:22:32
I guess you have a reason for adding these seeming
andersc
2017/07/06 12:39:41
Acknowledged.
|
"../media:rtc_media_base", |
+ "../modules:module_api", |
"../pc:peerconnection", |
] |
} |
@@ -548,6 +562,10 @@ if (is_ios || is_mac) { |
common_objc_headers = [ |
"objc/Framework/Headers/WebRTC/RTCAudioSession.h", |
+ "objc/Framework/Headers/WebRTC/RTCEncodedImage.h", |
+ "objc/Framework/Headers/WebRTC/RTCRtpFragmentationHeader.h", |
+ "objc/Framework/Headers/WebRTC/RTCVideoCodec.h", |
+ "objc/Framework/Headers/WebRTC/RTCVideoCodecFactory.h", |
"objc/Framework/Headers/WebRTC/RTCAudioSessionConfiguration.h", |
"objc/Framework/Headers/WebRTC/RTCAVFoundationVideoSource.h", |
"objc/Framework/Headers/WebRTC/RTCAudioSource.h", |
@@ -589,6 +607,7 @@ if (is_ios || is_mac) { |
"objc/Framework/Headers/WebRTC/RTCVideoTrack.h", |
"objc/Framework/Headers/WebRTC/RTCVideoViewShading.h", |
"objc/Framework/Headers/WebRTC/UIDevice+RTCDevice.h", |
+ "objc/Framework/Headers/WebRTC/RTCVideoCodecH264.h", |
"objc/Framework/Headers/WebRTC/WebRTC.h", |
] |
if (rtc_use_metal_rendering) { |