getStreamingProperty method
Retrieves a specific property value obtained by the streaming engine (Smooth Streaming, HLS, DASH, or Widevine).
Implementation
Future<String> getStreamingProperty(StreamingPropertyType type) async {
if (_isDisposedOrNotInitialized) {
return '';
}
final Future<String> streamingProperty =
_videoPlayerPlatform.getStreamingProperty(_playerId, type);
await streamingProperty.then((String result) {
// ignore: avoid_print
print('[getStreamingProperty()] type: $type, result: $result');
});
return streamingProperty;
}