Skip to content

Commit

Permalink
Update to current state of main
Browse files Browse the repository at this point in the history
  • Loading branch information
DRSchlaubi committed Oct 21, 2024
1 parent d4d792c commit 1362153
Show file tree
Hide file tree
Showing 17 changed files with 59 additions and 91 deletions.
7 changes: 5 additions & 2 deletions buildSrc/src/main/kotlin/Documentation.kt
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
import dev.kord.gradle.tools.util.commitHash
import org.gradle.api.Project
import org.gradle.kotlin.dsl.assign
import org.jetbrains.dokka.gradle.AbstractDokkaLeafTask
import java.net.URI
import org.jetbrains.dokka.gradle.DokkaExtension
import org.jetbrains.dokka.gradle.workers.ProcessIsolation

internal fun DokkaExtension.applyKordDokkaOptions(project: Project) {

Expand All @@ -25,7 +28,7 @@ internal fun DokkaExtension.applyKordDokkaOptions(project: Project) {
remoteLineSuffix = "#L"
}

externalDocumentationLinks {
externalDocumentationLinks.apply {
register("kotlinx.coroutines") {
url("https://kotlinlang.org/api/kotlinx.coroutines/")
}
Expand Down
16 changes: 6 additions & 10 deletions buildSrc/src/main/kotlin/kord-multiplatform-module.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import org.jetbrains.dokka.gradle.AbstractDokkaLeafTask
import org.jetbrains.kotlin.gradle.ExperimentalKotlinGradlePluginApi
import org.jetbrains.kotlin.gradle.targets.js.testing.KotlinJsTest
import org.jetbrains.kotlin.gradle.targets.native.tasks.KotlinNativeTest

plugins {
org.jetbrains.kotlin.multiplatform
Expand Down Expand Up @@ -81,14 +82,14 @@ tasks {
options.release = KORD_JVM_TARGET
}

val compilationTasks = kotlin.targets.flatMap {
listOf("compileKotlin${it.name.replaceFirstChar(Char::titlecase)}", "${it.name}SourcesJar")
}

for (task in listOf(
"compileKotlinJvm",
"compileKotlinJs",
"jvmSourcesJar",
"jsSourcesJar",
"dokkaGenerateModuleHtml",
"dokkaGeneratePublicationHtml",
)) {
) + compilationTasks) {
named(task) {
dependsOn("kspCommonMainKotlinMetadata")
}
Expand All @@ -100,10 +101,5 @@ tasks {
}
}

withType<AbstractDokkaLeafTask>().configureEach {
applyKordDokkaOptions()
dependsOn("kspCommonMainKotlinMetadata")
}

disableLinuxLinkTestTasksOnWindows()
}
1 change: 1 addition & 0 deletions buildSrc/src/main/kotlin/kord-publishing.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import org.jetbrains.kotlin.konan.target.Family
import java.lang.System.getenv
import java.util.Base64

Expand Down
1 change: 1 addition & 0 deletions common/src/commonTest/kotlin/json/InteractionTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import dev.kord.common.entity.*
import dev.kord.common.entity.Permission.*
import dev.kord.common.entity.optional.orEmpty
import dev.kord.common.readFile
import dev.kord.test.IgnoreOnSimulatorPlatforms
import kotlinx.coroutines.test.runTest
import kotlinx.serialization.json.Json
import kotlin.js.JsName
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ kotlin.code.style=official

# the Kotlin daemon runs out of memory with the default maximum heap size
kotlin.daemon.jvmargs=-Xmx2g
org.gradle.jvmargs=-Xmx1g

# https://kotlinlang.org/docs/dokka-migration.html#set-the-opt-in-flag
org.jetbrains.dokka.experimental.gradle.pluginMode=V2Enabled
Expand All @@ -23,5 +24,4 @@ kotlinx.atomicfu.enableJsIrTransformation=true
kotlinx.atomicfu.enableNativeIrTransformation=true

# We are aware of these issues and their symptoms don't affect us
kotlin.native.ignoreIncorrectDependencies=true
kotlin.native.ignoreDisabledTargets=true
6 changes: 3 additions & 3 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ kotlinx-datetime = "0.6.1" # https://github.com/Kotlin/kotlinx-datetime
kord-cache = "0.5.4" # https://github.com/kordlib/cache

# implementation dependencies
kotlinx-io = "0.5.1" # https://github.com/Kotlin/kotlinx-io
kotlinx-io = "0.5.4" # https://github.com/Kotlin/kotlinx-io
kotlin-logging = "7.0.0" # https://github.com/oshai/kotlin-logging
slf4j = "2.0.16" # https://www.slf4j.org
kotlin-node = "22.5.4-pre.818" # https://github.com/JetBrains/kotlin-wrappers
Expand All @@ -33,8 +33,8 @@ dokka = "2.0.0-Beta" # https://github.com/Kotlin/dokka
kotlinx-atomicfu = "0.25.0" # https://github.com/Kotlin/kotlinx-atomicfu
binary-compatibility-validator = "0.16.3" # https://github.com/Kotlin/binary-compatibility-validator
buildconfig = "5.5.0" # https://github.com/gmazzo/gradle-buildconfig-plugin
kord-gradle-tools = "1.6.2" # https://github.com/kordlib/gradle-tools/blob/main/build.gradle.kts#L10
maven-publish-plugin = "0.29.0" # https://github.com/vanniktech/gradle-maven-publish-plugin
kord-gradle-tools = "1.6.3" # https://github.com/kordlib/gradle-tools/blob/main/build.gradle.kts#L10
maven-publish-plugin = "0.30.0" # https://github.com/vanniktech/gradle-maven-publish-plugin


[libraries]
Expand Down
2 changes: 2 additions & 0 deletions rest/src/commonTest/kotlin/request/MessageRequests.kt
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@ import dev.kord.common.entity.Snowflake
import dev.kord.common.entity.optional.Optional
import dev.kord.rest.json.readFile
import dev.kord.rest.service.ChannelService
import dev.kord.test.IgnoreOnSimulatorPlatforms
import dev.kord.test.Platform
import io.ktor.client.*
import io.ktor.client.engine.mock.*
import io.ktor.client.request.forms.*
import io.ktor.utils.io.counted
import kotlinx.coroutines.test.runTest
import kotlinx.datetime.Clock
import kotlinx.serialization.encodeToString
Expand Down
60 changes: 30 additions & 30 deletions voice/api/voice.klib.api
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Klib ABI Dump
// Targets: [iosArm64, iosSimulatorArm64, iosX64, js, linuxArm64, linuxX64, macosArm64, macosX64, mingwX64, tvosArm64, tvosSimulatorArm64, tvosX64, watchosArm64, watchosSimulatorArm64]
// Alias: native => [iosArm64, iosSimulatorArm64, iosX64, linuxArm64, linuxX64, macosArm64, macosX64, mingwX64, tvosArm64, tvosSimulatorArm64, tvosX64, watchosArm64, watchosSimulatorArm64]
// Alias: apple => [iosArm64, iosSimulatorArm64, iosX64, macosArm64, macosX64, tvosArm64, tvosSimulatorArm64, tvosX64, watchosArm64, watchosSimulatorArm64]
// Alias: linux => [linuxArm64, linuxX64]
// Rendering settings:
// - Signature version: 2
// - Show manifest properties: true
Expand Down Expand Up @@ -73,10 +73,10 @@ abstract interface dev.kord.voice.streams/Streams { // dev.kord.voice.streams/St
abstract val ssrcToUser // dev.kord.voice.streams/Streams.ssrcToUser|{}ssrcToUser[0]
abstract fun <get-ssrcToUser>(): kotlin.collections/Map<kotlin/UInt, dev.kord.common.entity/Snowflake> // dev.kord.voice.streams/Streams.ssrcToUser.<get-ssrcToUser>|<get-ssrcToUser>(){}[0]

// Targets: [apple, linux]
// Targets: [native]
abstract suspend fun listen(kotlin/ByteArray, io.ktor.network.sockets/InetSocketAddress) // dev.kord.voice.streams/Streams.listen|listen(kotlin.ByteArray;io.ktor.network.sockets.InetSocketAddress){}[0]

// Targets: [js, mingwX64]
// Targets: [js]
abstract suspend fun listen(kotlin/ByteArray, dev.kord.voice.udp/SocketAddress) // dev.kord.voice.streams/Streams.listen|listen(kotlin.ByteArray;dev.kord.voice.udp.SocketAddress){}[0]
}

Expand All @@ -91,20 +91,20 @@ abstract interface dev.kord.voice.udp/VoiceUdpSocket { // dev.kord.voice.udp/Voi
final fun none(): dev.kord.voice.udp/VoiceUdpSocket // dev.kord.voice.udp/VoiceUdpSocket.Companion.none|none(){}[0]
}

// Targets: [apple, linux]
// Targets: [native]
abstract fun all(io.ktor.network.sockets/InetSocketAddress): kotlinx.coroutines.flow/Flow<kotlinx.io/Source> // dev.kord.voice.udp/VoiceUdpSocket.all|all(io.ktor.network.sockets.InetSocketAddress){}[0]

// Targets: [native]
abstract suspend fun send(io.ktor.network.sockets/InetSocketAddress, dev.kord.voice.io/ByteArrayView) // dev.kord.voice.udp/VoiceUdpSocket.send|send(io.ktor.network.sockets.InetSocketAddress;dev.kord.voice.io.ByteArrayView){}[0]

// Targets: [apple]
abstract fun all(io.ktor.network.sockets/InetSocketAddress): kotlinx.coroutines.flow/Flow<io.ktor.utils.io.core/ByteReadPacket> // dev.kord.voice.udp/VoiceUdpSocket.all|all(io.ktor.network.sockets.InetSocketAddress){}[0]

// Targets: [js, mingwX64]
// Targets: [js]
abstract fun all(dev.kord.voice.udp/SocketAddress): kotlinx.coroutines.flow/Flow<kotlinx.io/Source> // dev.kord.voice.udp/VoiceUdpSocket.all|all(dev.kord.voice.udp.SocketAddress){}[0]

// Targets: [js, mingwX64]
// Targets: [js]
abstract suspend fun send(dev.kord.voice.udp/SocketAddress, dev.kord.voice.io/ByteArrayView) // dev.kord.voice.udp/VoiceUdpSocket.send|send(dev.kord.voice.udp.SocketAddress;dev.kord.voice.io.ByteArrayView){}[0]

// Targets: [linux]
abstract fun all(io.ktor.network.sockets/InetSocketAddress): kotlinx.coroutines.flow/Flow<kotlinx.io/Source> // dev.kord.voice.udp/VoiceUdpSocket.all|all(io.ktor.network.sockets.InetSocketAddress){}[0]
}

sealed interface dev.kord.voice.encryption.strategies/NonceStrategy { // dev.kord.voice.encryption.strategies/NonceStrategy|null[0]
Expand Down Expand Up @@ -661,10 +661,10 @@ final class dev.kord.voice.streams/DefaultStreams : dev.kord.voice.streams/Strea
final val ssrcToUser // dev.kord.voice.streams/DefaultStreams.ssrcToUser|{}ssrcToUser[0]
final fun <get-ssrcToUser>(): kotlin.collections/Map<kotlin/UInt, dev.kord.common.entity/Snowflake> // dev.kord.voice.streams/DefaultStreams.ssrcToUser.<get-ssrcToUser>|<get-ssrcToUser>(){}[0]

// Targets: [apple, linux]
// Targets: [native]
final suspend fun listen(kotlin/ByteArray, io.ktor.network.sockets/InetSocketAddress) // dev.kord.voice.streams/DefaultStreams.listen|listen(kotlin.ByteArray;io.ktor.network.sockets.InetSocketAddress){}[0]

// Targets: [js, mingwX64]
// Targets: [js]
final suspend fun listen(kotlin/ByteArray, dev.kord.voice.udp/SocketAddress) // dev.kord.voice.streams/DefaultStreams.listen|listen(kotlin.ByteArray;dev.kord.voice.udp.SocketAddress){}[0]
}

Expand All @@ -674,10 +674,10 @@ final class dev.kord.voice.udp/AudioFrameSenderConfiguration { // dev.kord.voice
final val key // dev.kord.voice.udp/AudioFrameSenderConfiguration.key|{}key[0]
final fun <get-key>(): kotlin/ByteArray // dev.kord.voice.udp/AudioFrameSenderConfiguration.key.<get-key>|<get-key>(){}[0]
final val server // dev.kord.voice.udp/AudioFrameSenderConfiguration.server|{}server[0]
// Targets: [apple, linux]
// Targets: [native]
final fun <get-server>(): io.ktor.network.sockets/InetSocketAddress // dev.kord.voice.udp/AudioFrameSenderConfiguration.server.<get-server>|<get-server>(){}[0]

// Targets: [js, mingwX64]
// Targets: [js]
final fun <get-server>(): dev.kord.voice.udp/SocketAddress // dev.kord.voice.udp/AudioFrameSenderConfiguration.server.<get-server>|<get-server>(){}[0]
final val ssrc // dev.kord.voice.udp/AudioFrameSenderConfiguration.ssrc|{}ssrc[0]
final fun <get-ssrc>(): kotlin/UInt // dev.kord.voice.udp/AudioFrameSenderConfiguration.ssrc.<get-ssrc>|<get-ssrc>(){}[0]
Expand All @@ -689,26 +689,26 @@ final class dev.kord.voice.udp/AudioFrameSenderConfiguration { // dev.kord.voice
final fun hashCode(): kotlin/Int // dev.kord.voice.udp/AudioFrameSenderConfiguration.hashCode|hashCode(){}[0]
final fun toString(): kotlin/String // dev.kord.voice.udp/AudioFrameSenderConfiguration.toString|toString(){}[0]

// Targets: [apple, linux]
// Targets: [native]
constructor <init>(io.ktor.network.sockets/InetSocketAddress, kotlin/UInt, kotlin/ByteArray, dev.kord.voice/FrameInterceptorConfiguration) // dev.kord.voice.udp/AudioFrameSenderConfiguration.<init>|<init>(io.ktor.network.sockets.InetSocketAddress;kotlin.UInt;kotlin.ByteArray;dev.kord.voice.FrameInterceptorConfiguration){}[0]

// Targets: [apple, linux]
// Targets: [native]
final fun component1(): io.ktor.network.sockets/InetSocketAddress // dev.kord.voice.udp/AudioFrameSenderConfiguration.component1|component1(){}[0]

// Targets: [native]
final fun copy(io.ktor.network.sockets/InetSocketAddress = ..., kotlin/UInt = ..., kotlin/ByteArray = ..., dev.kord.voice/FrameInterceptorConfiguration = ...): dev.kord.voice.udp/AudioFrameSenderConfiguration // dev.kord.voice.udp/AudioFrameSenderConfiguration.copy|copy(io.ktor.network.sockets.InetSocketAddress;kotlin.UInt;kotlin.ByteArray;dev.kord.voice.FrameInterceptorConfiguration){}[0]

// Targets: [apple]
final fun copy(io.ktor.network.sockets/InetSocketAddress =..., kotlin/UInt =..., kotlin/ByteArray =..., dev.kord.voice/FrameInterceptorConfiguration =...): dev.kord.voice.udp/AudioFrameSenderConfiguration // dev.kord.voice.udp/AudioFrameSenderConfiguration.copy|copy(io.ktor.network.sockets.InetSocketAddress;kotlin.UInt;kotlin.ByteArray;dev.kord.voice.FrameInterceptorConfiguration){}[0]

// Targets: [js, mingwX64]
// Targets: [js]
constructor <init>(dev.kord.voice.udp/SocketAddress, kotlin/UInt, kotlin/ByteArray, dev.kord.voice/FrameInterceptorConfiguration) // dev.kord.voice.udp/AudioFrameSenderConfiguration.<init>|<init>(dev.kord.voice.udp.SocketAddress;kotlin.UInt;kotlin.ByteArray;dev.kord.voice.FrameInterceptorConfiguration){}[0]

// Targets: [js, mingwX64]
// Targets: [js]
final fun component1(): dev.kord.voice.udp/SocketAddress // dev.kord.voice.udp/AudioFrameSenderConfiguration.component1|component1(){}[0]

// Targets: [js, mingwX64]
// Targets: [js]
final fun copy(dev.kord.voice.udp/SocketAddress = ..., kotlin/UInt = ..., kotlin/ByteArray = ..., dev.kord.voice/FrameInterceptorConfiguration = ...): dev.kord.voice.udp/AudioFrameSenderConfiguration // dev.kord.voice.udp/AudioFrameSenderConfiguration.copy|copy(dev.kord.voice.udp.SocketAddress;kotlin.UInt;kotlin.ByteArray;dev.kord.voice.FrameInterceptorConfiguration){}[0]

// Targets: [linux]
final fun copy(io.ktor.network.sockets/InetSocketAddress = ..., kotlin/UInt = ..., kotlin/ByteArray = ..., dev.kord.voice/FrameInterceptorConfiguration = ...): dev.kord.voice.udp/AudioFrameSenderConfiguration // dev.kord.voice.udp/AudioFrameSenderConfiguration.copy|copy(io.ktor.network.sockets.InetSocketAddress;kotlin.UInt;kotlin.ByteArray;dev.kord.voice.FrameInterceptorConfiguration){}[0]
}

final class dev.kord.voice.udp/DefaultAudioFrameSender : dev.kord.voice.udp/AudioFrameSender { // dev.kord.voice.udp/DefaultAudioFrameSender|null[0]
Expand Down Expand Up @@ -1195,10 +1195,10 @@ final object dev.kord.voice.streams/NOPStreams : dev.kord.voice.streams/Streams
final val ssrcToUser // dev.kord.voice.streams/NOPStreams.ssrcToUser|{}ssrcToUser[0]
final fun <get-ssrcToUser>(): kotlin.collections/Map<kotlin/UInt, dev.kord.common.entity/Snowflake> // dev.kord.voice.streams/NOPStreams.ssrcToUser.<get-ssrcToUser>|<get-ssrcToUser>(){}[0]

// Targets: [apple, linux]
// Targets: [native]
final suspend fun listen(kotlin/ByteArray, io.ktor.network.sockets/InetSocketAddress) // dev.kord.voice.streams/NOPStreams.listen|listen(kotlin.ByteArray;io.ktor.network.sockets.InetSocketAddress){}[0]

// Targets: [js, mingwX64]
// Targets: [js]
final suspend fun listen(kotlin/ByteArray, dev.kord.voice.udp/SocketAddress) // dev.kord.voice.streams/NOPStreams.listen|listen(kotlin.ByteArray;dev.kord.voice.udp.SocketAddress){}[0]
}

Expand All @@ -1224,13 +1224,16 @@ final inline fun <#A: reified dev.kord.voice.gateway/VoiceEvent> (dev.kord.voice
final inline fun dev.kord.voice/SpeakingFlags(kotlin/Function1<dev.kord.voice/SpeakingFlags.Builder, kotlin/Unit> = ...): dev.kord.voice/SpeakingFlags // dev.kord.voice/SpeakingFlags|SpeakingFlags(kotlin.Function1<dev.kord.voice.SpeakingFlags.Builder,kotlin.Unit>){}[0]
final suspend inline fun dev.kord.voice/VoiceConnection(dev.kord.gateway/Gateway, dev.kord.common.entity/Snowflake, dev.kord.common.entity/Snowflake, dev.kord.common.entity/Snowflake, kotlin/Function1<dev.kord.voice/VoiceConnectionBuilder, kotlin/Unit> = ...): dev.kord.voice/VoiceConnection // dev.kord.voice/VoiceConnection|VoiceConnection(dev.kord.gateway.Gateway;dev.kord.common.entity.Snowflake;dev.kord.common.entity.Snowflake;dev.kord.common.entity.Snowflake;kotlin.Function1<dev.kord.voice.VoiceConnectionBuilder,kotlin.Unit>){}[0]

// Targets: [apple, linux]
// Targets: [native]
final suspend fun (dev.kord.voice.udp/VoiceUdpSocket).dev.kord.voice.udp/discoverIP(io.ktor.network.sockets/InetSocketAddress, kotlin/Int): io.ktor.network.sockets/InetSocketAddress // dev.kord.voice.udp/discoverIP|[email protected](io.ktor.network.sockets.InetSocketAddress;kotlin.Int){}[0]

// Targets: [native]
final suspend fun (dev.kord.voice.udp/VoiceUdpSocket).dev.kord.voice.udp/recv(io.ktor.network.sockets/InetSocketAddress): kotlinx.io/Source // dev.kord.voice.udp/recv|[email protected](io.ktor.network.sockets.InetSocketAddress){}[0]

// Targets: [apple]
final suspend fun (dev.kord.voice.udp/VoiceUdpSocket).dev.kord.voice.udp/recv(io.ktor.network.sockets/InetSocketAddress): io.ktor.utils.io.core/ByteReadPacket // dev.kord.voice.udp/recv|[email protected](io.ktor.network.sockets.InetSocketAddress){}[0]

// Targets: [js, mingwX64]
// Targets: [js]
final class dev.kord.voice.udp/SocketAddress { // dev.kord.voice.udp/SocketAddress|null[0]
constructor <init>(kotlin/String, kotlin/Int) // dev.kord.voice.udp/SocketAddress.<init>|<init>(kotlin.String;kotlin.Int){}[0]

Expand All @@ -1247,11 +1250,8 @@ final class dev.kord.voice.udp/SocketAddress { // dev.kord.voice.udp/SocketAddre
final fun toString(): kotlin/String // dev.kord.voice.udp/SocketAddress.toString|toString(){}[0]
}

// Targets: [js, mingwX64]
// Targets: [js]
final suspend fun (dev.kord.voice.udp/VoiceUdpSocket).dev.kord.voice.udp/discoverIP(dev.kord.voice.udp/SocketAddress, kotlin/Int): dev.kord.voice.udp/SocketAddress // dev.kord.voice.udp/discoverIP|[email protected](dev.kord.voice.udp.SocketAddress;kotlin.Int){}[0]

// Targets: [js, mingwX64]
// Targets: [js]
final suspend fun (dev.kord.voice.udp/VoiceUdpSocket).dev.kord.voice.udp/recv(dev.kord.voice.udp/SocketAddress): kotlinx.io/Source // dev.kord.voice.udp/recv|[email protected](dev.kord.voice.udp.SocketAddress){}[0]

// Targets: [linux]
final suspend fun (dev.kord.voice.udp/VoiceUdpSocket).dev.kord.voice.udp/recv(io.ktor.network.sockets/InetSocketAddress): kotlinx.io/Source // dev.kord.voice.udp/recv|[email protected](io.ktor.network.sockets.InetSocketAddress){}[0]
2 changes: 1 addition & 1 deletion voice/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ kotlin {
withJvm()
withApple()
withLinux()
withMingw()
}

group("nonKtor") {
withJs()
withMingw()
}
}
}
Expand Down
10 changes: 0 additions & 10 deletions voice/src/commonMain/kotlin/VoiceConnectionBuilder.kt
Original file line number Diff line number Diff line change
Expand Up @@ -25,23 +25,13 @@ import kotlinx.coroutines.flow.first
import kotlin.time.Duration
import kotlin.time.Duration.Companion.milliseconds

internal expect val isSupported: Boolean

@KordVoice
public class VoiceConnectionBuilder(
public var gateway: Gateway,
public var selfId: Snowflake,
public var channelId: Snowflake,
public var guildId: Snowflake
) {
init {
if(!isSupported) {
throw UnsupportedOperationException("""
Voice is currently not supported on Windows, if you're developing on Windows we recommend using
WSL: https://aka.ms/wsl
""".trimIndent())
}
}
/**
* The amount in milliseconds to wait for the events required to create a [VoiceConnection]. Default is 5000, or 5 seconds.
*/
Expand Down
4 changes: 4 additions & 0 deletions voice/src/commonMain/kotlin/udp/RTPPacket.kt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ import dev.kord.voice.io.MutableByteArrayCursor
import dev.kord.voice.io.mutableCursor
import dev.kord.voice.io.view
import io.ktor.utils.io.core.*
import kotlinx.io.Source
import kotlinx.io.readByteArray
import kotlinx.io.readUInt
import kotlinx.io.readUShort
import kotlin.experimental.and

internal const val RTP_HEADER_LENGTH = 12
Expand Down
3 changes: 0 additions & 3 deletions voice/src/jsMain/kotlin/VoiceConnectionBuilder.js.kt

This file was deleted.

3 changes: 0 additions & 3 deletions voice/src/ktorMain/kotlin/VoiceConnectionBuilder.ktor.kt

This file was deleted.

Loading

0 comments on commit 1362153

Please sign in to comment.