videocam

Rooms

Video Status

The current public SDK provides the shared LiveKit connection lifecycle used by voice and future video features.

Current status

Room creation accepts roomType: 'video', but the published 2.0.0 public facade currently documents microphone, participant, connection, and speaker controls. Camera and screen-share convenience methods are not yet part of the stable public API.

dart
final room = await sdk.createRoom(
  groupId: 'RUST_GROUP_UUID',
  name: 'Weekly Meeting',
  roomType: 'video',
);

await sdk.connect(
  SpliveSessionConfig(
    serverUrl: mediaUrl,
    accessToken: mediaToken,
    roomId: room.id,
    userId: auth.user.id,
    displayName: auth.user.username,
  ),
);

Do not mix signaling engines

The Rust server still contains legacy WebRTC endpoints for start, offer, answer, ICE, and close. Those endpoints must not be used simultaneously with LiveKit because competing negotiations can cause SDP m-line errors.

Camera publishing, screen sharing, camera switching, and video widgets are planned for a later SDK release. They are not claimed as stable APIs in 2.0.0.