notifyChangeVideoTrack method

Future<void> notifyChangeVideoTrack(
  1. String newVideo, [
  2. Map<String, String>? labels
])

Notifies of a new Change Video event with the given new video.

@param newVideo New audio track/name @param labels Labels

Implementation

Future<void> notifyChangeVideoTrack(String newVideo, [Map<String, String>? labels]) {
  var args = buildArguments();
  args[Args.labels] = labels;
  args["newVideo"] = newVideo;
  return _methodChannel.invokeMethod<void>('notifyChangeVideoTrack', args);
}