精选特卖:从即日起至10月7日,精选道具五折特惠!

Easy Voice Chat

313 Studios - 代码插件 - 2019/08/15

Easy to implement Voice Chat (VOIP) using Blueprints

  • 支持的平台
  • 支持的引擎版本
    4.21 - 4.27, 5.0 - 5.4
  • 下载类型
    引擎插件
    此产品包含一款代码插件,含有预编译的二进制文件以及与虚幻引擎集成的所有源代码,能够安装到您选择的引擎版本中,并根据每个项目的需求启动。

Easy Voice Chat lets you add custom voice communication to your game. Voice data is provided as a byte array which can then be sent over the network using RPCs. This means it is completely independent of the Online Sessions system, and so can work without having to create a session.


The Voip Manager component captures audio, and then passes it to blueprints via an event so you can choose how it is sent and played back. The Voip Audio component then plays compressed audio back. Both of these components can be attached to any actor, meaning that you can have audio not just for within a game, you can also have it within lobby's or when spectating etc. The system is designed to give you as much flexibility as possible.


Uses SynthComponent for audio playback, which allows you to easily apply dynamic sound effects such as making it sound like a radio broadcast. This also lets you adjust settings such as attenuation so you can use the plugin for local/positional VOIP, or any other situation you want. Unlike the default implementation in the engine, you can also change the microphone at runtime if you want.


Please check the documentation to configure your project to be able to use the plugin, there are a few config changes required to get it working as intended.

技术细节

Features:

  • Voip Manager for voice capture
  • Voip Audio for voice playback
  • Blueprint exposed voice related events (Started talking, stopped talking, Microphone volume etc.)
  • Uses VOIP Project Settings for configuration
  • Change capture device/microphone at runtime

Code Modules:

  •  Runtime: EasyVoiceChat


Number of C++ Classes: 3

Network Replicated: No - Handle this yourself in Blueprints

Supported Development Platforms: Win64

Supported Target Build Platforms: Win64

Documentation: Link (Updated 21/06/2024)

Example Project: Link (4.21-4.24) Link (4.25) Link (4.26+) Link (5.3+)

Important/Additional Notes:

Make sure to enable the voice module for your project (see documentation to know how). Please read other aspects of the documentation such as increasing the bandwidth of your NetDriver.