This message was deleted.
# helpdesk
s
This message was deleted.
d
CC: @eager-raincoat-52616
e
hey, sorry for missing this one, at the moment native doesn’t have support for directly setting the video codec. you can try limiting the codecs at the room level: https://github.com/livekit/livekit/blob/e31b25300d79b9fb7f32d4b83847d13dae529631/config-sample.yaml#L138
oh forgot about this: there is actually a way to force the video codec to h264 here: https://github.com/livekit/client-sdk-android/blob/main/video-encode-decode-test/s[…]roid/videoencodedecode/WhitelistSimulcastVideoEncoderFactory.kt you’ll need to copy this class and pass that as an override to the LiveKit.create function. set the whitelist to “H264” and it’ll force H264 to be used if it’s available. That said, it’ll force all video tracks published from the device to be h264, so it’s a bit unwieldy
h
ok, thank you !