localVideo property

Stream<SoraLocalVideoHandle> get localVideo

ローカル映像の表示に使うハンドルを受け取る Stream。

external video track を接続に使った場合は Flutter Texture ベースの プレビュー経路を持たないため何も emit されない。camera / screen 経路の track に限って SoraLocalVideoHandle が emit され、その textureId は 常に非 null である。

external への切り替え (replaceVideoTrack) や disconnect() では 「解除」通知を emit しないため、消費者は前回の textureId を保持し 続けないよう SoraConnectionState などの遷移と合わせて破棄すること。

Implementation

Stream<SoraLocalVideoHandle> get localVideo => _localVideo.stream;