Skip to content

Latest commit

 

History

History
54 lines (38 loc) · 2.79 KB

File metadata and controls

54 lines (38 loc) · 2.79 KB

Online KTV

This document mainly introduces how to quickly run through the online KTV sample project

Demo effect:

Prerequisites

  • Xcode 14 or higher
  • A mobile device that runs iPhone 13.0 or higher

Project Setup

  1. Follow The Account Document to get the App ID and App Certificate.
  2. 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
  1. 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#>
    
  2. Now you can run the project with Xcode to experience the application.

Source Code sitemap

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.

Feedback

If you have any problems or suggestions regarding the sample projects, feel free to file an issue.

Related Resources

  • 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.

License

The sample projects are under the MIT license.