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.
A screenshot of the demo application running on an iPhone.
This project is intended for education purposes only and not for production usage.
You must have the ApiUrl from the Amazon IVS Multi-host Serverless Demo.
- Clone the repository to your local machine.
- Install the SDK dependency using CocoaPods:
pod install - Open
MultiHost-demo.xcworkspace. - Set the
API_URLconstant in theConstants.swiftfile to equal theApiUrlfrom your deployed Amazon IVS Multi-host Serverless Demo. - Since iPhone simulators don't currently support the use of cameras or ReplayKit 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
MultiHost-demotarget. - Choose a Team for the target.
- You can now build and run the project on a device.
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 14 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 Known Issues
- 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.