setMediaFormat method
Implementation
Future<void> setMediaFormat(int format) async {
if (_isDisposedOrNotInitialized) {
return;
}
value = value.copyWith(mediaFormat: format);
await _videoPlayerPlatform.setMediaFormat(_textureId, format);
}