A demo SwiftUI iPhone application intended as an educational tool to demonstrate how you can build a real-time collaborative live streaming experience with Amazon IVS.
This project is intended for education purposes only and not for production usage.
You must deploy the Amazon IVS Real-time Serverless Demo. After deploying the serverless demo, note the outputs: QR code
, Customer ID
and API key
.
- Clone the repository to your local machine.
- Install the SDK dependency using CocoaPods:
pod install
- Open
IVS Real-time.xcworkspace
. - Since iPhone simulators don't currently support the use of cameras in this app, there are a couple changes you need to make before building and running the app on a physical device.
- Have an active Apple Developer account in order to build to physical devices.
- Modify the Bundle Identifier for the
IVS Real-time
target. - Choose a Team for the target.
- You can now build and run the project on a device.
- When prompted, scan the
QR code
from the Amazon IVS Real-time Serverless Demo.- If you are unable to scan the QR code, paste the combined
Customer ID
andAPI key
in this format:{Customer ID}-{API key}
when prompted in the app. For example:a1bcde23456f7g-abcDeFghIQaTbTxd0T95
- If you are unable to scan the QR code, paste the combined
IMPORTANT NOTE: Joining a stage and streaming in the app will create and consume AWS resources, which will cost money.
- This app has only been tested on devices running iOS 15 or later. While this app may work on devices running older versions of iOS, it has not been tested on them.
- A list of known issues for the Amazon IVS Broadcast SDK is available on the following page: Amazon IVS Broadcast SDK: iOS Guide
- Amazon IVS iOS Broadcast SDK Guide
- Amazon IVS iOS Broadcast SDK Sample code
- More code samples and demos
This project is licensed under the MIT-0 License. See the LICENSE file.