Skip to content
This repository was archived by the owner on Oct 25, 2024. It is now read-only.

Commit bd94d8f

Browse files
authored
Fix build issues for iOS. (#180)
1 parent eedced8 commit bd94d8f

File tree

3 files changed

+3
-9
lines changed

3 files changed

+3
-9
lines changed

media/base/media_constants.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,11 +115,13 @@ const char kH264FmtpSpropParameterSets[] = "sprop-parameter-sets";
115115
const char kH264FmtpSpsPpsIdrInKeyframe[] = "sps-pps-idr-in-keyframe";
116116
const char kH264ProfileLevelConstrainedBaseline[] = "42e01f";
117117
const char kH264ProfileLevelConstrainedHigh[] = "640c1f";
118+
#ifdef WEBRTC_USE_H265
118119
// RFC 7798 RTP Payload Format for H.265 video
119120
const char kH265FmtpProfileSpace[] = "profile-space";
120121
const char kH265FmtpProfileId[] = "profile-id";
121122
const char kH265FmtpTierFlag[] = "tier-flag";
122123
const char kH265FmtpLevelId[] = "level-id";
124+
#endif
123125

124126
const char kVP9ProfileId[] = "profile-id";
125127

sdk/BUILD.gn

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1754,14 +1754,6 @@ if (is_ios || is_mac) {
17541754
"objc/components/video_codec/RTCVideoEncoderFactoryH264.m",
17551755
"objc/components/video_codec/RTCVideoEncoderH264.h",
17561756
"objc/components/video_codec/RTCVideoEncoderH264.mm",
1757-
"objc/components/video_codec/RTCVideoDecoderFactoryH265.h",
1758-
"objc/components/video_codec/RTCVideoDecoderFactoryH265.m",
1759-
"objc/components/video_codec/RTCVideoDecoderH265.h",
1760-
"objc/components/video_codec/RTCVideoDecoderH265.mm",
1761-
"objc/components/video_codec/RTCVideoEncoderFactoryH265.h",
1762-
"objc/components/video_codec/RTCVideoEncoderFactoryH265.m",
1763-
"objc/components/video_codec/RTCVideoEncoderH265.h",
1764-
"objc/components/video_codec/RTCVideoEncoderH265.mm",
17651757
]
17661758

17671759
if (rtc_use_h265) {

sdk/objc/api/peerconnection/RTCPeerConnectionFactory+Native.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,6 @@ NS_ASSUME_NONNULL_BEGIN
9191
- (instancetype)initWithNativePeerConnectionFactory:(
9292
rtc::scoped_refptr<webrtc::PeerConnectionFactoryInterface>)factory;
9393

94-
94+
@end
9595

9696
NS_ASSUME_NONNULL_END

0 commit comments

Comments
 (0)