awslabs / amazon-kinesis-video-streams-webrtc-sdk-ios

iOS SDK for interfacing with the Amazon Kinesis Video Streams Signaling Service.
Apache License 2.0
66 stars 29 forks source link

WebRTC Framework with bitcode enabled size #38

Closed bartoslaw closed 3 years ago

bartoslaw commented 3 years ago

Hello,

We have a following issue:

we were going through your WebRTC + iOS SDK documentation and included all the pods from the sample in our project, but GoogleWebRTC dependency provides framework without bitcode enabled.

After following those instructions https://webrtc.github.io/webrtc-org/native-code/ios/ we were able to create a WebRTC.framework with bitcode enabled, the issue is, that even after stripping not needed architectures this framework is ~650mb

This create a problem because our application size after including this framework is almost 800mb, that's way too much.

Is there another way to configure webrtc + kvs that's not described in the documentation to avoid this?

Additional info:

disa6302 commented 3 years ago

Our iOS SDK has a very small memory footprint because it is mostly using the WebRTC native iOS SDK. So this question is better directed to the WebRTC forums.