setTrackParameters method

  1. @override
Future<void> setTrackParameters(
  1. int? textureId,
  2. int? width,
  3. int? height,
  4. int? bitrate,
)
override

Sets the video track parameters (used to select quality of the video)

Implementation

@override
Future<void> setTrackParameters(
    int? textureId, int? width, int? height, int? bitrate) {
  return _channel.invokeMethod<void>(
    'setTrackParameters',
    <String, dynamic>{
      'textureId': textureId,
      'width': width,
      'height': height,
      'bitrate': bitrate,
    },
  );
}