davyloots / OpusDotNet

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Opus Codec in Unity 3d

Working version of Opus Codec with limited options for Unity3d.

state

it does a local recording of the microphone, sending via unet, distribution on the server and playback on the clients.

usage

add the script along with a network identity to a gameobject with one child gameobject, the child needs an audiosource, add the child as audioplayer to the script. add this gameobject as player to a network manager (each player needs his own instance).

or just use the provided example...

thanks to

uses the c# wrapper from opusdotnetinvoke: https://opusdotnetinvoke.codeplex.com/

compiled the libraries on windows and osx from: https://www.opus-codec.org/downloads/

license

lgpl except for the code that is differently licensed.

hopefully someone can use this and make his improvements available to the public as well!

tested on:

windows 10, 64bit osx 10.11.5

About


Languages

Language:C# 100.0%