getSources method
Implementation
@override
Future<List<dynamic>> getSources() async {
try {
final response = await WebRTC.invokeMethod(
'getSources',
<String, dynamic>{},
);
List<dynamic> sources = response['sources'];
return sources;
} on PlatformException catch (e) {
throw 'Unable to getSources: ${e.message}';
}
}