https://github.com/agoraio-community/agora_unity_space2
Realtime engagement in Spaces using Agora SDKs.
https://github.com/agoraio-community/agora_unity_space2
agora rtc signaling unity video-chat-demo
Last synced: 2 months ago
JSON representation
Realtime engagement in Spaces using Agora SDKs.
- Host: GitHub
- URL: https://github.com/agoraio-community/agora_unity_space2
- Owner: AgoraIO-Community
- License: mit
- Created: 2024-01-27T02:08:20.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-16T01:06:00.000Z (about 2 years ago)
- Last Synced: 2025-03-08T21:44:55.011Z (over 1 year ago)
- Topics: agora, rtc, signaling, unity, video-chat-demo
- Language: C#
- Homepage:
- Size: 10.9 MB
- Stars: 1
- Watchers: 6
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Agora Space 2
This demo combines the features of Agora RTC SDK and Signaling SDK to enable multiplayer interaction within a 3D Unity space. The project is an rewrite of the previous [Agora_Unity_Space](https://github.com/AgoraIO-Community/Agora_Spaces_Unity). The main difference is that previous version leverages Mirror SDK as synchronize remote objects. Also, it requires a saparate server or a player serves as both client and server node. In this implementation, the Agora Signaling SDK takes care of the transform synchronization and we don't require a separate server node anymore.
## Sample Scene
https://github.com/icywind/Agora_Unity_Space2/assets/1261195/c054abc8-6289-4f83-aa73-8861511098c1
## Developer Environment Prerequisites
- Unity3d 2021.3 LTS
- Agora Developer Account
- Agora Video SDK (Version 4.3.1 or newer)
- Agora Signaling SDK (version 2.1.9 or newer)
## Quick Start
This section shows you how to prepare, build, and run the sample application.
### Obtain an App ID
To build and run the sample application, get an App ID:
1. Create a developer account at [agora.io](https://dashboard.agora.io/signin/). Once you finish the signup process, you will be redirected to the Dashboard.
2. Navigate in Agora Console on the left to **Projects** > **More** > **Create** > **Create New Project**.
3. Save the **App ID** from the Dashboard for later use.
### Run the Application
#### Build for desktop
1. Clone this repo and open the project from this folder
2. [Download](https://docs.agora.io/en/sdks?platform=unity) the latest RTC SDK and Signaling SDK (aka RTM SDK)
3. Fill in App ID and Token (if enabled) 
4. Make sure if your AppID has token or not. Things won't work if you don't supply a token if your AppID requires one. We recommend use an AppID for testing first before applying token logic.
5. Make a build and run it with the Editor
## License
The MIT License (MIT).