Revert "fix(doc): Get media information for a file/url example"

pull/826/head
Taner Sener 2 years ago committed by GitHub
parent 73718fcb70
commit d3f2ea1da4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      flutter/flutter/README.md

@ -211,7 +211,7 @@ The following table shows Android API level, iOS deployment target and macOS dep
FFprobeKit.getMediaInformation('<file path or url>').then((session) async { FFprobeKit.getMediaInformation('<file path or url>').then((session) async {
final information = await session.getMediaInformation(); final information = await session.getMediaInformation();
if (information != null) { if (information == null) {
// CHECK THE FOLLOWING ATTRIBUTES ON ERROR // CHECK THE FOLLOWING ATTRIBUTES ON ERROR
final state = FFmpegKitConfig.sessionStateToString(await session.getState()); final state = FFmpegKitConfig.sessionStateToString(await session.getState());

Loading…
Cancel
Save