I have configured the video resolution to 2K, and it’s working as expected with LiveKit. However, the video playback is not smooth — it’s stuttering and getting stuck, especially on devices running Android 14 and 15. Interestingly, it works smoothly on Android 11. How can I resolve this latency issue on newer Android versions? Below is the code I’m currently using. I'm using the Livekit for broadcasting.
defaultCameraCaptureOptions: CameraCaptureOptions(
cameraPosition: CameraPosition.back,
params: VideoParameters(
dimensions: VideoDimensionsPresets.h1440_169,
encoding: VideoEncoding(
maxBitrate: 25000000, // 25 Mbps
maxFramerate: 60,
),
),
),
defaultVideoPublishOptions: VideoPublishOptions(
videoCodec: "H.264",
videoEncoding: VideoEncoding(
maxBitrate: 25000000, // 25 Mbps
maxFramerate: 60,
),
simulcast: false
)
Thank in advanced