Package-level declarations
Types
Link copied to clipboard
object AudioFlowWireFormat
Wire format used by the Kodio Ktor helpers.
Functions
Link copied to clipboard
Decode the AudioFlowWireFormat.MAGIC-prefixed binary format header.
Link copied to clipboard
Encode the AudioFlowWireFormat.MAGIC-prefixed binary format header.
Link copied to clipboard
Read an AudioFlow from an open server-side WebSocketSession.
Link copied to clipboard
suspend fun HttpClient.receiveAudioFlowFromWebSocket(urlString: String, request: HttpRequestBuilder.() -> Unit = {}): AudioFlow
Receive an AudioFlow from a remote WebSocket endpoint.
Link copied to clipboard
suspend fun AudioFlow.sendOverWebSocket(client: HttpClient, urlString: String, request: HttpRequestBuilder.() -> Unit = {})
Stream this AudioFlow over a WebSocket on the given client.