onAddVideoTrack method
void
onAddVideoTrack()
override
Implementation
@override
void onAddVideoTrack(String? id, int uid, String? label, String? language, String? kind, bool isEnabled) {
VideoTrack videoTrack = VideoTrackImplMobile(
id,
uid,
label,
language,
kind,
VideoQualitiesImpl(), // qualities will be populated in onVideoTrackAddQuality
isEnabled,
_nativeVideoTrackAPI);
_videoTracks.add(videoTrack);
_videoTracks.dispatchEvent(AddVideoTrackEvent(track: videoTrack));
}