Godot VoIP

An asset by cas
The page banner background of a mountain and forest
Godot VoIP hero image

Quick Information

0 ratings
Godot VoIP icon image
cas
Godot VoIP

Godot VoIP 🎙🌐 is a Godot addon which makes it very easy to setup a real time voice chat system in your Godot game. This addon also includes a demo project.

Supported Engine Version
3.4
Version String
3.2
License Version
MIT
Support Level
community
Modified Date
2 years ago
Git URL
Issue URL

Godot VoIP 🎙️🌐

README Logo

Godot-voip is a Godot addon which makes it very easy to setup a real time voice chat system in your Godot game. This addon also includes a demo project.

Engine Compatibility

  • 2.x: Godot 3.2
  • 3.x: Godot 3.3

Setup

Adding to a existing project

(A high-level multiplayer peer is required.)

  1. Click on the AssetLib inside editor or go to the Godot Asset Library to download the latest release, or you can clone/download this repository to get the latest commit.
  2. Select the addons/godot-voip folder and move it into your Godot project. (Note: make sure the structure is still res://addons/godot-voip)
  3. Go to project-settings/audio and enable audio input.
  4. Now go to the plugins tab also inside project-settings and enable the godot-voip plugin.
  5. Add either a VoiceInstance (one connection) or a VoiceOrchestrator (more than 2 participants) node to your scene.
  6. Set $VoiceInstance.recording or $VoiceOrchestrator.recording to true and it will send your microphone input to connected participants.

Running demo

  1. Go to the templates tab in the Godot Engine project manager and look for godot-voip, or go to the Godot Asset Library to manually download the latest release, or you can clone/download this repository to get the latest commit.
  2. Open downloaded project.

For macOS users

Users running godot-voip on macOS need to make sure the microphone format in macOS audio settings is equal to the mix-rate in Godot project-settings.

Documentation

VoiceInstance icon

This node implements a single voice connection.

Signals

  • received_voice_data(data: PoolRealArray, from_id: int) Emitted when voice data is received.
  • sent_voice_data(data: PoolRealArray) Emitted when recording and data is sent.

Properties

Type Name description
NodePath custom_voice_audio_stream_player When used, the referenced AudioStreamPlayer will be used as output for incoming audio data.
bool recording If true, the VoiceInstance will process and send microhphone data to the other VoipInstance.
bool listen If true, the VoiceInstance will also play any microhphone data it records.
float input_threshold Value above which microhphone data will be sent. Set to 0 to disable.

VoiceOrchestrator icon

This node implements multiple voice connections. It will automatically spawn new VoiceInstances when a player connects to the server and will remove them again after they disconnect. Interfacing with a VoiceOrchestrator is the same as with a VoiceInstance. Does not support a custom AudioStreamPlayer.

Additional Signals

  • created_instance(id: int) Emitted when a new VoiceInstance is created.
  • removed_instance(id: int) Emitted when a VoiceInstance is removed.

Godot VoIP 🎙🌐 is a Godot addon which makes it very easy to setup a real time voice chat system in your Godot game. This addon also includes a demo project.

Reviews

0 ratings

Your Rating

Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

0 ratings
Godot VoIP icon image
cas
Godot VoIP

Godot VoIP 🎙🌐 is a Godot addon which makes it very easy to setup a real time voice chat system in your Godot game. This addon also includes a demo project.

Supported Engine Version
3.4
Version String
3.2
License Version
MIT
Support Level
community
Modified Date
2 years ago
Git URL
Issue URL

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers