Skip to content

Performant Mumble Client For Unity3D

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE.meta
Notifications You must be signed in to change notification settings

BananaHemic/Mumble-Unity

Repository files navigation

Mumble-Unity

A simple to use Mumble Client made for Unity3D. Easily send low-latency text and voice to a group of other users

Features

  • End-to-End OCB/AES encryption
  • Client-to-server architecture allowing far more scalability than peer-to-peer
  • Opus codec support, allowing lightweight low latency HD voice communication
  • Open source server
  • Extensible server, allowing you to create the permissions structure best suited for your application
  • Works with other Mumble clients out of the box, provided that they use the opus codec
  • Works with any opus-compatible Mumble SDK, including sdks for:
  • Cross platform

Limitations

  • Only the Opus codec is supported, meaning very old mumble clients may be unable to connect
  • Requires a (free) Mumble server

Getting started

Get a server

Either get a Mumble server at one of the many Mumble server hosts. Or you can setup your own Mumble server (which I recommend)

If you do make your own server, be sure to set "opusthreshold=0" in mumble-server.ini or murmur.ini in order to make all clients use opus

Installing

  • If your Unity project is not currently tracked with git, then you can navigate to your project's "Assets" folder and run git clone https://github.com/BananaHemic/Mumble-Unity.git
  • If your project is already tracked with git, you can add this projects as a submodule by navigating to the "Assets" folder and running git submodule add https://github.com/BananaHemic/Mumble-Unity.git
  • Then, simply open the included example scene, and input your Mumble server's address into "MumbleTester"

Integration

  • To begin integrating into your application, you can copy "MumbleTester.cs" and adapt the functions to best meet your individual needs
  • For instance, if you would like to make the audio come from an object (like a person's head) you can change the CreateMumbleAudioPlayerFromPrefab method to create the prefab as a child of your target object

TODO

  1. Better support multiple audio per packet sizes (20ms is currently assumed)
  2. Switch to TCP without sending voice packets
  3. Get Opus libraries for iOS
  4. Get Opus libraries for Linux

If you have any questions or errors, please feel free to open an issue As always, stars are more than welcome

About

Performant Mumble Client For Unity3D

Resources

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE.meta

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages