27 Jun 2018 |
MTRNord | about jitsi I know near to nothing tbh. | 18:48:40 |
MTRNord | I know meet is the client and jitsi the server ^^ and they use some thing named ice for data somewhere or did. | 18:49:26 |
@max:kamax.io | I think we're not talking about the same thing | 18:49:33 |
@max:kamax.io | this is a Minecraft bridge, yes? | 18:49:46 |
@max:kamax.io | or did I missunderstand | 18:50:10 |
MTRNord | Maximus: yeah this is. The plan is to bridge minecraft voice input to a jitsi conf in matrix. | 18:50:49 |
@max:kamax.io | ok, and Minecraft has voice support already, yes? | 18:51:15 |
MTRNord | Maximus: nope. It does not but I can get the input and outputs using javax. Not using minecraft itself. Minecraft just has full java/kotlin support | 18:52:13 |
MTRNord | minecraft mods arent "sandboxed" inside the engine. So everything that works in java works in Mods | 18:52:45 |
@max:kamax.io | aaaaah, so you're implementing a voice stack from scratch | 18:52:58 |
MTRNord | Maximus: yes. It has LWJGL but that one is not exposed to mods and way to low level to use if not exposed | 18:53:57 |
@max:kamax.io | ok, no wonder you're struggling | 18:54:19 |
MTRNord | There is a existing mod that I could use if they wouldn't use a wrong license on code. (They licened it with a non code lincense). | 18:55:04 |
@max:kamax.io | Jitsi (or any other voice client/server) rely on a set of protocols and codecs to make it all work. While they advertise it differently (signaling), the format is always the same in the end | 18:55:38 |
@max:kamax.io | and you're basically sending WAV there :D it won't work | 18:56:24 |
@max:kamax.io | no VoIP use WAV | 18:56:34 |
MTRNord | Maximus: yeah I expected that I will need to rework it ^^ As said it currently is the most simple way just to know if it was even possible in any way | 18:57:58 |
@max:kamax.io | to bridge to Matrix, you'll need a proper VoIP stack anyway, as you need to deal with the transport, codec and signaling protocols of WebRTC | 18:58:43 |
MTRNord | Maximus: yes :) thats obvious. | 18:59:10 |
@max:kamax.io | the same are used in SIP or virtually anything else, but the low-level protocols are always the same | 18:59:27 |
@max:kamax.io | like SDP, RTP, SRTP, etc | 18:59:45 |
MTRNord | ok :) so basicly a good start would be to switch javax to a more "robust" or "full featured" lib? | 19:00:45 |
@max:kamax.io | yes, definitely | 19:01:21 |
@max:kamax.io | you won't get anywhere with raw, low-level javax | 19:01:40 |
MTRNord | ok :D | 19:02:04 |
@max:kamax.io | but you tell me there is no native Java code in Jitsi repo for a webrtc client? or at least to their server, even if not WebRTC? | 19:03:03 |
MTRNord | Maximus: well their server is full java as they wrote it in java, in jitsi meet's repo the only java code is the android lib. Not sure if I missed something | 19:04:08 |
@max:kamax.io | maybe have a look at a SIP client stack | 19:04:35 |
@max:kamax.io | you'll get all you need for WebRTC like on it | 19:04:51 |
MTRNord | Maximus: just as you have more java experience than me: do you have already any better audio lib you can recomend ? | 19:06:03 |