client-sdk-js icon indicating copy to clipboard operation
client-sdk-js copied to clipboard

Connection quality change when publishing track using VP9 or AV1 codec

Open thepacketloss opened this issue 8 months ago • 0 comments

Describe the bug

When I try to publish track using VP9 or AV1 codec, the js sdk notifies that connection quality changed to poor even in localhost but as soon as I unpublish the track the connection quality changes to excellent and this does not happen when using VP8 or H264 codec

Reproduction

 await room.localParticipant.publishTrack(stream.getVideoTracks()[0], {
          videoCodec: 'av1',
          source: Track.Source.Camera,
|)

Logs


System Info

Binaries:
    Node: 23.9.0 - /usr/bin/node
    Yarn: 1.22.22 - /usr/bin/yarn
    npm: 11.2.0 - /usr/bin/npm
    pnpm: 8.15.4 - ~/.local/share/pnpm/pnpm
    bun: 1.1.21 - ~/.bun/bin/bun
  Browsers:
    Chromium: 134.0.6998.88
  npmPackages:
    livekit-client: ^2.9.5 => 2.9.5

Severity

annoyance

Additional Information

No response

thepacketloss avatar Mar 11 '25 17:03 thepacketloss