This document mainly introduces how to quickly run through the online KTV sample project
Demo effect:
- Xcode 14 or higher
- A mobile device that runs iPhone 13.0 or higher
- Follow The Account Document to get the App ID and App Certificate.
- Follow Signaling Beginner's Guide to enable signaling in Agora Console. You should enable the following:
- Using storage
- User attribute callback
- Channel attribute callback
- Distributed lock
-
Open the
iOS
project and fill in properties got above to the root KeyCenter.swift file.# RTM RTC SDK key Config static let AppId: String = <#YOUR APPID#> static let Certificate: String? = <#YOUR CERTIFICATE#>
-
Now you can run the project with Xcode to experience the application.
Path(iOS/AgoraEntScenarios/Scenes/Commerce) | Description |
---|---|
Scenes/KTV/Service/ | KTV service protocol and implement. |
Scenes/KTV/Controller/VLOnLineListVC.h | KTV room list view. |
Scenes/KTV/Controller/VLKTVViewController.h | KTV room detail view. |
Scenes/Commerce/View/ | KTV UI widgets. |
If you have any problems or suggestions regarding the sample projects, feel free to file an issue.
- Check our FAQ to see if your issue has been recorded.
- Dive into Agora SDK Samples to see more tutorials.
- Take a look at Agora Use Case for more complicated real use cases.
- Repositories managed by developer communities can be found at Agora Community.
- If you encounter problems during integration, feel free to ask questions on Stack Overflow.
The sample projects are under the MIT license.