Add cross-device decoding to the explicit debug video probe
This commit is contained in:
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)
|
||||
|
||||
Reference in new issue
Block a user