initialize method

  1. @override
Future<int> initialize(
  1. String name,
  2. int bandwidth
)
override

Implementation

@override
Future<int> initialize(String name, int bandwidth) async {
  final textureId = await methodChannel.invokeMethod<int>('Ndi.init', { 'playerId': name, 'bandwidth': bandwidth });
  return textureId!;
}