Gielert / NoodleJS

A NodeJS Mumble client
36 stars 14 forks source link

Receive Audio.. #17

Closed vanvanni closed 3 years ago

vanvanni commented 4 years ago

I see you can send audio but can we also receive audio and if so in what codec?

Gielert commented 4 years ago

Receiving audio hasn't been implemented yet. The codec used by mumble is opus. I'm pretty tied up with work a.t.m., perhaps you could see if you can implement it. Otherwise, I'll need to check once I have time again :)

vanvanni commented 4 years ago

@Gielert Not really into that and good enough for it. Also completely new to Mumble. But I can give it a little shot

kripton commented 3 years ago

See #30 ;)

vanvanni commented 3 years ago

@kripton Seems great, does mumble only support opus? I hope this get merged 😊

Gielert commented 3 years ago

Mumble supports another codec called Celt. But Opus is widely used in voip applications. For now this library only supports sending and receiving Opus data.

kripton commented 3 years ago

Indeed, Celt and Speex are two more codecs that have been used in Mumble in the past. However, if you use the latest clients and servers (1.3.x), it should only be Opus everywhere. And the current audio sending code supports Opus as the only codec, so I didn't want to introduce any more dependencies.

Gielert commented 3 years ago

Fixed with #30