Merge pull request #824 from chenc041/patch-1

fix(doc): Get media information for a file/url example
pull/826/head
Taner Sener 2 years ago committed by GitHub
commit 73718fcb70
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 {
final information = await session.getMediaInformation();
if (information == null) {
if (information != null) {
// CHECK THE FOLLOWING ATTRIBUTES ON ERROR
final state = FFmpegKitConfig.sessionStateToString(await session.getState());

Loading…
Cancel
Save