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

use webrtc-sdk-ios the ipa will increased about 25M #9

Closed jemery001 closed 4 years ago

jemery001 commented 4 years ago

hi When i add the sdk to mine project, i found that the ipa increased about 25M ? I found it contains these(AWSCognitoIdentityProvider AWSMobileClient AWSKinesisVideo AWSKinesisVideoSignaling GoogleWebRTC) Are these necessary?

When i add the Android sdk to mine project ,the apk just increased about 2M ,so the size of iOS can be Compressed? thx

sharadrj commented 4 years ago

It would be good to figure out how much of the size increase is coming from kinesis video components and what is coming from GoogleWebRTC, AWSMobileClient and AWSCognitoIdentityProvider.

jemery001 commented 4 years ago

hi AWSKinesisVideo.framework and AWSKinesisVideoSignaling.framework size is 1.2M. And the WebRTC.framework size is 6M. these are AWSCognitoIdentityProvider.framework,AWSCognitoIdentityProviderASF.framework,AWSCore.framework, AWSMobileClient.framework,Starscream.framework size are 17.3M. Are these necessary?

sharadrj commented 4 years ago

Unfortunately, the only components we control here are AWSKinesisVideo.framework and AWSKinesisVideoSignaling.framework.

Other AWS components are from AWS SDK for iOS which are managed by AWS Mobile SDK group. https://docs.aws.amazon.com/sdk-for-ios/index.html

MushMal commented 4 years ago

Resolving. This issue is not specific to the AWS KVS