kordlib / kord

Idiomatic Kotlin Wrapper for The Discord API
MIT License
930 stars 81 forks source link

Support kord-voice on Kotlin/JS and Windows #69

Open BartArys opened 4 years ago

BartArys commented 4 years ago

Since 0.9.0 Kotlin/JS is officially supported, see #775 and 0.9.0 for more information, for progress on Kotlin/Native check #855

kord-voice

DRSchlaubi commented 2 years ago

https://github.com/Kotlin/kotlinx.coroutines/issues/462 got closed, so we actually have multithreaded coroutines on native now

DRSchlaubi commented 2 years ago

Web socket support on native seems to exist (although I couldn't really test that yeet) however you cannot use TLS connections on native

WS support is there now as https://github.com/ktorio/ktor/commit/e7c8c037bcacff14b3199e781231789f3a1cc6d3 got merged

however there is no wss support yet

silenium-dev commented 2 years ago

Regarding the stable memory model for native, the new memory manager is now stable and used by default (https://kotlinlang.org/docs/native-memory-manager.html).

lukellmann commented 2 years ago

It's technically in Beta but so are Kotlin/Native and Kotlin Multiplatform: https://kotlinlang.org/docs/components-stability.html#current-stability-of-kotlin-components

DRSchlaubi commented 1 year ago

Currently, a WIP MPP version of kord is on the feature/mpp branch. Is supports almost all features (except voice) on both JVM and JS

Xinerfapre commented 11 months ago

Is it possible to add Kotlin/Wasm compatibility ?

DRSchlaubi commented 11 months ago

Is it possible to add Kotlin/Wasm compatibility ?

We don't really see the point behind running Kord in the browser, since it only supports the bot api and not the OAuth API, so we don't have a checklist for WASM suppor

lukellmann commented 11 months ago

targetting wasmWasi might be a thing to do in the future though

lukellmann commented 11 months ago

and wasm can also be run in node iirc, so even adding wasmJs might be possible

DRSchlaubi commented 10 months ago

https://github.com/ktorio/ktor/pull/3950

DRSchlaubi commented 3 weeks ago

Ktor 3.1.0 will have JS support for voice: https://youtrack.jetbrains.com/issue/KTOR-6004/Support-NodeJs-target-for-ktor-network

DRSchlaubi commented 3 weeks ago

Maybe @lost-illusi0n, @viztea and @lukellmann can chime in for items required for DAVE