Godot-Opus / libopus-gdnative

GDNative integration of libOpus for Godot
MIT License
6 stars 4 forks source link

libOpus-gdnative

GDnative integration of libOpus for Godot

So far this is in a very early state. There is still opitimization work to be done, and most of the advanced features of libOpus are not yet exposed.

One key component Godot is missing for enabling VOIP features, is an audio code that can be used at run-time to compress and decompress audio for transmission.

libOpus is the gold standard for open source real-time voice codecs.

So this is an attempt at exposing libOpus's functionality to Godot via a GDNative library.

This adds 2 nodes to Godot:

The current Nodes and methods are meant to be used to encode a whole, continues sample of audio. Then again decode that whole continious audio sample. THIS DOES NOT YET ENABLE TRUE AUDIO STREAMING. All though there is nothing that should prevent us from using all of libOpus's advanced streaming related features, I need to get my head around how that will actually integrate with both Godot's mic capture system, and it's audio playback system.