Skip to content

Commit

Permalink
Add support to media no video codecs in Cocoapod (#626)
Browse files Browse the repository at this point in the history
* Add support to media no video codecs in Cocoapad

* Bump media no video codecs versiont to 0.19.0

* Fix up version number

---------

Co-authored-by: Yuchu Lei <[email protected]>
  • Loading branch information
bjason and bjason authored Dec 13, 2023
1 parent 3e240b2 commit 63cc618
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 2 deletions.
13 changes: 13 additions & 0 deletions AmazonChimeSDKMediaNoVideoCodecs-Bitcode.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Pod::Spec.new do |s|
s.name = 'AmazonChimeSDKMediaNoVideoCodecs-Bitcode'
s.version = '0.19.0'
s.summary = 'Amazon Chime SDK Media for iOS with Bitcode support.'
s.description = 'An iOS client library for integrating multi-party communications powered by the Amazon Chime service.'
s.homepage = 'https://github.com/aws/amazon-chime-sdk-ios'
s.license = 'Apache License, Version 2.0'
s.author = { 'Amazon Web Services' => 'amazonwebservices' }
s.source = { :http => "https://amazon-chime-sdk-ios.s3.amazonaws.com/media-no-video-codecs/0.19.0/AmazonChimeSDKMediaNoVideoCodecs-0.19.0.tar.gz" }
s.ios.deployment_target = '11.0'
s.vendored_frameworks = "AmazonChimeSDKMedia.xcframework"
s.swift_version = '5.0'
end
13 changes: 13 additions & 0 deletions AmazonChimeSDKMediaNoVideoCodecs-No-Bitcode.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Pod::Spec.new do |s|
s.name = 'AmazonChimeSDKMediaNoVideoCodecs-No-Bitcode'
s.version = '0.19.0'
s.summary = 'Amazon Chime SDK Media for iOS without Bitcode support.'
s.description = 'An iOS client library for integrating multi-party communications powered by the Amazon Chime service.'
s.homepage = 'https://github.com/aws/amazon-chime-sdk-ios'
s.license = 'Apache License, Version 2.0'
s.author = { 'Amazon Web Services' => 'amazonwebservices' }
s.source = { :http => "https://amazon-chime-sdk-ios.s3.amazonaws.com/media-no-video-codecs-without-bitcode/0.19.0/AmazonChimeSDKMediaNoVideoCodecs-0.19.0.tar.gz" }
s.ios.deployment_target = '11.0'
s.vendored_frameworks = "AmazonChimeSDKMedia.xcframework"
s.swift_version = '5.0'
end
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,13 @@ For the purpose of setup, your project's root folder (where you can find your `.
...
end
```
If you don't need to use any video features in the application, you can use `AmazonChimeSDKNoVideoCodecs-Bitcode` for bitcode support or `AmazonChimeSDKNoVideoCodecs-No-Bitcode`:
```
target 'YourTarget' do
pod 'AmazonChimeSDKNoVideoCodecs-Bitcode'
...
end
```
4. (Optional) If you want to use background blur and replacement features, add:
```
target 'YourTarget' do
Expand Down Expand Up @@ -113,15 +120,16 @@ The Amazon Chime SDK is available through [SPM](https://github.com/aws/amazon-ch
4. Enter the latest version(e.g. `0.23.1`) and click **Next**.
5. Choose the packages required for your project and click **Finish**
5. Choose packages for your project and click **Finish**. `AmazonChimeSDK` and `AmazonChimeSDKMedia` are required. You can check `AmazonChimeSDKNoVideoCodecs` instead of `AmazonChimeSDKMedia` if you don't need to use any video features in the application. Check `AmazonChimeSDKMachineLearning` if you'd like to use background blur and background replacement.
### From Github Release Binaries
#### 1. Download Binaries
* Download the `AmazonChimeSDK` and `AmazonChimeSDKMedia` binaries from the latest [release](https://github.com/aws/amazon-chime-sdk-ios/releases/latest).
* If you like to use background blur and background replacement, also download the `AmazonChimeSDKMachineLearning` binary. Otherwise, you can ignore all references to `AmazonChimeSDKMachineLearning` in the instructions below.
* If you'd like to use background blur and background replacement, also download the `AmazonChimeSDKMachineLearning` binary. Otherwise, you can ignore all references to `AmazonChimeSDKMachineLearning` in the instructions below.
* If you don't need to use any video features, you could use `AmazonChimeSDKNoVideoCodecs` binary instead of `AmazonChimeSDKMedia` and treat all references to `AmazonChimeSDKMedia` as `AmazonChimeSDKNoVideoCodecs` in the instructions below.
**NOTE: We do not support mixing and matching binaries from different releases.**
Expand Down

0 comments on commit 63cc618

Please sign in to comment.