Skip to content

AgoraIO-Community/agora-unity-partychat-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Agora Unity Party Chat Demo

Get up to speed on Agora SDK essentials with 4 different projects! Each branch in this repo project is a link to a different example demo showcasing unique Agora features, as described below

  1. master:
  2. In-Call-Stats:
  3. live-audio-broadcast:
  4. spatial-audio-demo:

Project List

This demo is a portal to 4 different projects that can be accessed in the branches shown:

1. master: Learn the basics of connecting two or more players in Unity to the Agora RTE network inside a snowy viking demo!

  • Walk up to a player to invite them to your party
  • Accept the invite in the remote client
  • Connect with your fellow players in a scalable video chat UI powered by Agora!

Refer to this Medium post for a step by step guide from beginning to end.


  1. In-Call-Stats: Displays the different stats and realtime data you can access when in an Agora channel.
  • Unique stats for Broadcaster and Audience roles
  • See the stats for each unique role in a scalable UI for your use
  • Use these stats in your own project to add even more customization!

---
  1. live-audio-broadcast: Showcases Agora's "broadcast" mode, where players to choose to either be a Broadcaster or Audience.
  • Broadcasters are identified with Gold exterior
  • Using Agora callbacks, chat bubbles dynamically display when the user's microphone registers input
  • Build your own 3D hangout with Agora!

---
  1. spatial-audio-demo: Showcases "spatial audio" feature where incoming player audio is adjusted based on proximity and orientation to player.
  • Balance audio between Left and Right speaker channels based on the direction the audio is coming from
  • Smoothly adjust the volume up and down based on player distance
  • Custom UI to help you identify the values for a specific player

Note: In this demo all players start in the same channel

Getting Started

All main demo scenes using the viking example are inside Assets > DemoVikings > Scenes > VikingScene

  1. If a photon room hasn't been created, select the "GO" button next to the "Create Room: " option.

  1. You can leave the name the same when testing.
  2. If you already have a photon room created in another client, and would like to join and test, select the "GO" button next to "Join Room: ".


Bounty Board!

Current Open Bounties...

When upgrading to Unity 2020.3 (LTS)
- Assets/DemoVikings/Editor/PropertyEditor.cs(233,134): error CS0426: The type name 'DrawCapFunction' does not exist in the type 'Handles'