Coder Social home page Coder Social logo

mumble-unity's Introduction

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.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

mumble-unity's People

Contributors

bananahemic avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.