Add cross-device decoding to the explicit debug video probe

This commit is contained in:
evgeny committed 2026-10-14 23:40:47 +02:00
1 parent 6910e07c31
commit 5d115c3dac
2 files changed
+24 -2

No files matched your search

@@ -192,7 +192,7 @@ internal class CallVideoCodec(requested: CallVideoFormat, val bitrate: Int, val
}
return result
}
private fun verifyDecode(f: CallVideoFormat, packets: List<Packet>, name: String) {
internal fun verifyDecode(f: CallVideoFormat, packets: List<Packet>, name: String) {
val type = StreamVideoCodec.fromId(f.codec)
val config = type.unpackKey(packets.first().bytes).first
val decoder = MediaCodec.createByCodecName(name)