Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions sdk/objc/api/peerconnection/RTCPeerConnection.mm
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@ - (void)setLocalDescription:(RTC_OBJC_TYPE(RTCSessionDescription) *)sdp
RTC_DCHECK(completionHandler != nil);
rtc::scoped_refptr<webrtc::SetLocalDescriptionObserverInterface> observer(
new rtc::RefCountedObject<::SetSessionDescriptionObserver>(completionHandler));
_peerConnection->SetLocalDescription(sdp.nativeDescription->Clone(), observer);
_peerConnection->SetLocalDescription(sdp.nativeDescription ? sdp.nativeDescription->Clone() : nullptr, observer);
}

- (void)setLocalDescriptionWithCompletionHandler:
Expand All @@ -597,7 +597,7 @@ - (void)setRemoteDescription:(RTC_OBJC_TYPE(RTCSessionDescription) *)sdp
RTC_DCHECK(completionHandler != nil);
rtc::scoped_refptr<webrtc::SetRemoteDescriptionObserverInterface> observer(
new rtc::RefCountedObject<::SetSessionDescriptionObserver>(completionHandler));
_peerConnection->SetRemoteDescription(sdp.nativeDescription->Clone(), observer);
_peerConnection->SetRemoteDescription(sdp.nativeDescription ? sdp.nativeDescription->Clone() : nullptr, observer);
}

- (BOOL)setBweMinBitrateBps:(nullable NSNumber *)minBitrateBps
Expand Down
2 changes: 1 addition & 1 deletion tools_webrtc/ios/build_ios_libs.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
'arm64', 'x64'
]
DEFAULT_ARCHS = [
'device:arm64', 'simulator:arm64', 'simulator:x64'
'device:arm64', 'simulator:arm64', 'simulator:x64', 'device:arm', 'simulator:x86'
]
IOS_DEPLOYMENT_TARGET = '9.0'
LIBVPX_BUILD_VP9 = True
Expand Down