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