Enabled auto policy for hardware video codecs

This commit is contained in:
Sylvain Berfini 2024-01-23 13:18:25 +01:00
parent 8c068d3be7
commit d6630e05d4

View file

@ -236,8 +236,9 @@ class CoreContext @UiThread constructor(val context: Context) : HandlerThread("C
core.isAutoIterateEnabled = true
core.addListener(coreListener)
computeUserAgent()
core.videoCodecPriorityPolicy = CodecPriorityPolicy.Auto
computeUserAgent()
Log.i("$TAG Core has been created with user-agent [${core.userAgent}], starting it")
core.start()