IcarusL

Results issues of IcarusL

Current code uses `openWriteChannel()`: ```kotlin protected var selectorManager = SelectorManager(Dispatchers.IO) abstract suspend fun onConnectSocket(timeout: Long): ReadWriteSocket override suspend fun connect() { val socket = onConnectSocket(timeout) input = socket.openReadChannel() output =...

Related issues: - #2083 - #2085 ## Problem On RK3588, the Android H264 encoder may output one encoded frame as an Annex B access unit containing multiple NAL units. For...

## Problem The current `ByteBuffer.toByteArray()` implementation is unsafe for sliced or duplicated `ByteBuffer`s: ```kotlin fun ByteBuffer.toByteArray(): ByteArray { return if (this.hasArray() && !isDirect) { this.array() } else { this.rewind() val...