Join Slack
Powered by
This message was deleted.
# helpdesk
s
steep-balloon-41261
01/11/2023, 12:24 PM
This message was deleted.
d
dry-elephant-14928
01/12/2023, 1:18 AM
CC:
@eager-raincoat-52616
e
eager-raincoat-52616
01/19/2023, 10:25 AM
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
eager-raincoat-52616
01/19/2023, 10:56 AM
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
hundreds-van-30612
01/22/2023, 4:43 PM
ok, thank you !
4
Views
Open in Slack
Previous
Next