Skip to content

Latest commit

 

History

History
66 lines (41 loc) · 3.18 KB

File metadata and controls

66 lines (41 loc) · 3.18 KB

Audio Chatroom

This document introduces how to quickly run through Audio Chatroom sample project.

Demo effect:


Prerequisites

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

  1. Follow The Account Document to get the App ID and App Certificate.

  2. Follow Enable and configure Chat to enable Chat in Agora Console and get the IM APP KEY, IM Client Id and IM Client Secret.

  3. Open the iOS project and fill in properties got above to the root KeyCenter.swift file.

    # RTC SDK and IM key Config
    static let AppId: String = <#YOUR APPID#>
    
    static let Certificate: String? = <#YOUR CERTIFICATE#>
    
    static var IMAppKey: String? = <#YOUR IMAppKey#>
    
    static var IMClientId: String? = <#YOUR IMClientId#>
    
    static var IMClientSecret: String? = <#YOUR IMClientSecret#>
    
  4. Now you can run the project with Xcode to experience the application.


Source Code Sitemap

Path(iOS/AgoraEntScenarios/Scenes/VoiceChatRoom) Description
Scenes/VoiceChatRoom/Compoment/VoiceRoomIMKit/ IM Manager
Scenes/VoiceChatRoom/Network/ Net Manager
Scenes/VoiceChatRoom/Compoment/AgoraRtcKit/ Rtc Manager
Scenes/VoiceChatRoom/Service/ Service
Scenes/VoiceChatRoom/Controllers ViewController
Scenes/VoiceChatRoom/Views View

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.