Skip to content

Consider H264 as default codec for video #2373

@ndren

Description

@ndren

Your use case

What would you like to do?

Replace VP8 with H264 as the default video codec.

Why would you like to do it?

This will reduce the CPU/power consumption and bitrate of video transmission in element call, especially on devices without hardware VP8 encoding/decoding, but also other devices as H264 is well-standardised and optimised as an older standard.

How would you like to achieve it?

Replace this in https://github.com/element-hq/element-call/blob/livekit/src/livekit/options.ts

Have you considered any alternatives?

Keep VP8 or use some other codec.

Additional context

Sending video is the highest difference in CPU usage (2x total usage, from 30% to over 60%) when using element-call for me, receiving video is negligible.

VP8 is not hardware decoded on my laptop according to about:support. I'm almost certain it's not hardware encoded either.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-PerformanceO-UncommonMost users are unlikely to come across this or unexpected workflowT-EnhancementNew features, changes in functionality, performance boosts, user-facing improvements

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions