onRemoteVideoTrackAdded property
Stream
get
onRemoteVideoTrackAdded
A stream that emits events when a remote video track is added.
This stream listens for events indicating that a remote 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 remote video track addition.
Usage example:
Mirrorfly.onRemoteVideoTrackAdded.listen((videoTrackData) {
// Handle the event when a remote video track is added
print("Remote video track added: $videoTrackData");
});
Implementation
static Stream<dynamic> get onRemoteVideoTrackAdded =>
FlyChatFlutterPlatform.instance.onRemoteVideoTrackAdded;