Skip to content

Remote participant's video shows black screen on React Native since v2.19.2 #1977

Description

@besfortmehmeti

Describe the bug

After upgrading livekit-client from 2.19.1 to 2.19.2, the remote participant's camera renders only a black screen on React Native (@livekit/react-native). Rolling back to 2.19.1 fixes it. Web is not affected.

Reproduction

  1. Connect a web client and a React Native client to the same room.
  2. On the RN client, render the remote camera with VideoTrack.
  3. On 2.19.2: the remote video is black. Audio, signaling, and the local camera preview all work fine.
  4. Pin back to 2.19.1: remote video renders correctly.

System Info

livekit-client: 2.19.2 (regression) / 2.19.1 (works)
@livekit/react-native: 2.11.0
@livekit/react-native-webrtc: 137.0.3
react-native: 0.84.1
OS: iOS & Android

Severity

blocking an upgrade

Additional Information

It looks like the remote video stream is arriving but never actually decoding/rendering on React Native.
Introduced by the v2.19.2 changes (#1963). It works on web because React Native takes a different internal connection path.
Temporary workaround: pin livekit-client to 2.19.1.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions