onLocalVideoTrackAdded property
Stream
get
onLocalVideoTrackAdded
A stream that emits events when a local video track is added.
This stream listens for events indicating that a local video track has been added to the Mirrorfly View Each event contains information about the added video track. Use this stream to update your UI or perform actions upon local video track addition.
Usage example:
Mirrorfly.onLocalVideoTrackAdded.listen((videoTrackData) {
// Handle the event when a local video track is added
print("Local video track added: $videoTrackData");
});
Implementation
static Stream<dynamic> get onLocalVideoTrackAdded =>
FlyChatFlutterPlatform.instance.onLocalVideoTrackAdded;