Repository: flutter
Issue: [video_player] final position is often never reported when setLooping is true
Labels: p: video_player,package,team-ecosystem,has reproducible steps,P2,found in release: 2.5,found in release: 2.6,triaged-ecosystem

<!-- Thank you for using Flutter!

     If you are looking for support, please check out our documentation
     or consider asking a question on Stack Overflow:
      * https://flutter.dev/
      * https://api.flutter.dev/
      * https://stackoverflow.com/questions/tagged/flutter?sort=frequent

     If you have found a bug or if our documentation doesn't have an answer
     to what you're looking for, then fill out the template below. Please read
     our guide to filing a bug first: https://flutter.dev/docs/resources/bug-reports
-->

## Steps to Reproduce

<!-- You must include full steps to reproduce so that we can reproduce the problem. -->

1. Create a sample app with a single video and add setLooping(true).
2. Let the video play till end and restart
3. Check the duration in microseconds when the video is restarted

**Expected results:** The video should restart after the video is completed.

**Actual results:** The video restarts before few microseconds (in some cases seconds) of completion

**Reproducible Code:** https://github.com/AbhishekDoshi26/video_player_example

### Logs
<details>
    <summary>flutter run -v</summary>

```
D:\Flutter` Projects\video_player_example>flutter run -v
[  +61 ms] executing: [C:\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +63 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] f4abaa0735eba4dfd8f33f73363911d63931fe03
[        ] executing: [C:\flutter/] git tag --points-at f4abaa0735eba4dfd8f33f73363911d63931fe03
[  +57 ms] Exit code 0 from: git tag --points-at f4abaa0735eba4dfd8f33f73363911d63931fe03
[        ] 2.2.3
[   +4 ms] executing: [C:\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +33 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [C:\flutter/] git ls-remote --get-url origin
[  +30 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[ +119 ms] executing: [C:\flutter/] git rev-parse --abbrev-ref HEAD
[  +40 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[ +101 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +3 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +59 ms] executing: C:\Users\Bacancy Technology\AppData\Local\Android\sdk\platform-tools\adb.exe devices -l
[  +42 ms] List of devices attached
           emulator-5554          device product:sdk_gphone_x86 model:sdk_gphone_x86 device:generic_x86_arm transport_id:1
[   +8 ms] C:\Users\Bacancy Technology\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 shell getprop
[  +51 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +2 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +82 ms] Skipping pub get: version match.
[  +32 ms] Found plugin video_player at C:\flutter\.pub-cache\hosted\pub.dartlang.org\video_player-2.2.0\
[   +7 ms] Found plugin video_player_web at C:\flutter\.pub-cache\hosted\pub.dartlang.org\video_player_web-2.0.4\
[  +87 ms] Found plugin video_player at C:\flutter\.pub-cache\hosted\pub.dartlang.org\video_player-2.2.0\
[   +3 ms] Found plugin video_player_web at C:\flutter\.pub-cache\hosted\pub.dartlang.org\video_player_web-2.0.4\
[  +13 ms] Generating D:\Flutter Projects\video_player_example\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[  +52 ms] ro.hardware = ranchu
[  +12 ms] Using hardware rendering with device sdk gphone x86. If you notice graphics artifacts, consider enabling software rendering with "--enable-software-rendering".
[  +25 ms] Initializing file store
[  +11 ms] Skipping target: gen_localizations
[   +4 ms] complete
[   +5 ms] Launching lib\main.dart on sdk gphone x86 in debug mode...
[   +6 ms] C:\flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev C:\flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root
C:\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --incremental --target=flutter --debugger-module-names --experimental-emit-debug-metadata -DFLUTTER_WEB_AUTO_DETECT=true --output-dill 
C:\Users\BACANC~1\AppData\Local\Temp\flutter_tools.495f2da8\flutter_tool.a1643c0c\app.dill --packages D:\Flutter Projects\video_player_example\.dart_tool\package_config.json -Ddart.vm.profile=false    
-Ddart.vm.product=false --enable-asserts --track-widget-creation --filesystem-scheme org-dartlang-root --initialize-from-dill build\3c113a45063dc6628e68a4111abcacad.cache.dill.track.dill
--enable-experiment=alternative-invalidation-strategy
[  +13 ms] executing: C:\Users\Bacancy Technology\AppData\Local\Android\sdk\build-tools\30.0.3\aapt dump xmltree D:\Flutter Projects\video_player_example\build\app\outputs\flutter-apk\app.apk
AndroidManifest.xml
[  +25 ms] Exit code 0 from: C:\Users\Bacancy Technology\AppData\Local\Android\sdk\build-tools\30.0.3\aapt dump xmltree D:\Flutter Projects\video_player_example\build\app\outputs\flutter-apk\app.apk
AndroidManifest.xml
[        ] N: android=http://schemas.android.com/apk/res/android
             E: manifest (line=2)
               A: android:versionCode(0x0101021b)=(type 0x10)0x1
               A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0")
               A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1e
               A: android:compileSdkVersionCodename(0x01010573)="11" (Raw: "11")
               A: package="com.example.video_player_example" (Raw: "com.example.video_player_example")
               A: platformBuildVersionCode=(type 0x10)0x1e
               A: platformBuildVersionName=(type 0x10)0xb
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1e
               E: uses-permission (line=14)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: uses-permission (line=15)
                 A: android:name(0x01010003)="android.permission.ACCESS_NETWORK_STATE" (Raw: "android.permission.ACCESS_NETWORK_STATE")
               E: application (line=17)
                 A: android:label(0x01010001)="video_player_example" (Raw: "video_player_example")
                 A: android:icon(0x01010002)=@0x7f080000
                 A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
                 A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
                 E: activity (line=22)
                   A: android:theme(0x01010000)=@0x7f0a0000
                   A: android:name(0x01010003)="com.example.video_player_example.MainActivity" (Raw: "com.example.video_player_example.MainActivity")
                   A: android:launchMode(0x0101001d)=(type 0x10)0x1
                   A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4
                   A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10
                   A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff
                   E: meta-data (line=36)
                     A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
                     A: android:resource(0x01010025)=@0x7f0a0001
                   E: meta-data (line=46)
                     A: android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable" (Raw: "io.flutter.embedding.android.SplashScreenDrawable")
                     A: android:resource(0x01010025)=@0x7f040000
                   E: intent-filter (line=50)
                     E: action (line=51)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=53)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=60)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
[  +10 ms] executing: C:\Users\Bacancy Technology\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 shell -x logcat -v time -t 1
[  +13 ms] <- compile package:video_player_example/main.dart
[  +43 ms] --------- beginning of main
           09-15 12:55:12.321 D/InterruptionStateProvider(  677): No heads up: unimportant notification: 0|com.roguefireflymedia.crisscrossmobile|99778|null|10156
[  +13 ms] executing: C:\Users\Bacancy Technology\AppData\Local\Android\sdk\platform-tools\adb.exe version
[  +28 ms] Android Debug Bridge version 1.0.41
           Version 31.0.2-7242960
           Installed as C:\Users\Bacancy Technology\AppData\Local\Android\sdk\platform-tools\adb.exe
[   +2 ms] executing: C:\Users\Bacancy Technology\AppData\Local\Android\sdk\platform-tools\adb.exe start-server
[  +53 ms] Building APK
[  +21 ms] Running Gradle task 'assembleDebug'...
[   +5 ms] Using gradle from D:\Flutter Projects\video_player_example\android\gradlew.bat.
[  +12 ms] executing: C:\Program Files\Android\Android Studio\jre\bin\java -version
[  +90 ms] Exit code 0 from: C:\Program Files\Android\Android Studio\jre\bin\java -version
[        ] openjdk version "1.8.0_242-release"
           OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
           OpenJDK 64-Bit Server VM (build 25.242-b01, mixed mode)
[   +2 ms] executing: [D:\Flutter Projects\video_player_example\android/] D:\Flutter Projects\video_player_example\android\gradlew.bat -Pverbose=true -Ptarget-platform=android-x86 -Ptarget=D:\Flutter  
Projects\video_player_example\lib\main.dart -Pdart-defines=RkxVVFRFUl9XRUJfQVVUT19ERVRFQ1Q9dHJ1ZQ== -Pdart-obfuscation=false -Ptrack-widget-creation=true -Ptree-shake-icons=false
-Pfilesystem-scheme=org-dartlang-root assembleDebug
[+3612 ms] > Task :app:compileFlutterBuildDebug
[        ] [  +62 ms] executing: [C:\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [  +71 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [        ] f4abaa0735eba4dfd8f33f73363911d63931fe03
[        ] [   +1 ms] executing: [C:\flutter/] git tag --points-at f4abaa0735eba4dfd8f33f73363911d63931fe03
[   +1 ms] [  +52 ms] Exit code 0 from: git tag --points-at f4abaa0735eba4dfd8f33f73363911d63931fe03
[        ] [        ] 2.2.3
[        ] [   +4 ms] executing: [C:\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[        ] [  +34 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[   +1 ms] [        ] origin/stable
[   +1 ms] [        ] executing: [C:\flutter/] git ls-remote --get-url origin
[   +1 ms] [  +31 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] [        ] https://github.com/flutter/flutter.git
[   +1 ms] [  +55 ms] executing: [C:\flutter/] git rev-parse --abbrev-ref HEAD
[   +1 ms] [  +34 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] [        ] stable
[   +4 ms] [  +56 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[   +6 ms] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +2 ms] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +1 ms] [   +2 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] [  +96 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[   +4 ms] [        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[   +2 ms] [   +3 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[   +2 ms] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[   +2 ms] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[   +3 ms] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[        ] [  +37 ms] Initializing file store
[   +1 ms] [  +25 ms] Skipping target: gen_localizations
[   +1 ms] [   +6 ms] kernel_snapshot: Starting due to {}
[   +2 ms] [  +15 ms] C:\flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev C:\flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root
C:\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --target=flutter --no-print-incremental-dependencies -DFLUTTER_WEB_AUTO_DETECT=true -Ddart.vm.profile=false -Ddart.vm.product=false    
--enable-asserts --track-widget-creation --no-link-platform --packages D:\Flutter Projects\video_player_example\.dart_tool\package_config.json --output-dill D:\Flutter
Projects\video_player_example\.dart_tool\flutter_build\35d3eb7c244acc8e2ebf2a29f73582c2\app.dill --depfile D:\Flutter
Projects\video_player_example\.dart_tool\flutter_build\35d3eb7c244acc8e2ebf2a29f73582c2\kernel_snapshot.d package:video_player_example/main.dart
[+8125 ms] [+8543 ms] kernel_snapshot: Complete
[ +502 ms] [ +442 ms] debug_android_application: Starting due to {}
[  +91 ms] [ +130 ms] debug_android_application: Complete
[ +499 ms] [ +507 ms] Persisting file store
[   +2 ms] [   +7 ms] Done persisting file store
[  +91 ms] [   +5 ms] build succeeded.
[   +1 ms] [  +10 ms] "flutter assemble" took 9,853ms.
[ +105 ms] [ +170 ms] ensureAnalyticsSent: 167ms
[        ] [   +1 ms] Running shutdown hooks
[        ] [        ] Shutdown hooks complete
[        ] [   +1 ms] exiting with code 0
[ +105 ms] Parameter format not correct -
[  +95 ms] > Task :app:packLibsflutterBuildDebug UP-TO-DATE
[   +1 ms] > Task :app:preBuild UP-TO-DATE
[        ] > Task :app:preDebugBuild UP-TO-DATE
[        ] > Task :video_player:preBuild UP-TO-DATE
[        ] > Task :video_player:preDebugBuild UP-TO-DATE
[        ] > Task :video_player:compileDebugAidl NO-SOURCE
[        ] > Task :app:compileDebugAidl NO-SOURCE
[        ] > Task :video_player:packageDebugRenderscript NO-SOURCE
[        ] > Task :app:compileDebugRenderscript NO-SOURCE
[        ] > Task :app:generateDebugBuildConfig UP-TO-DATE
[        ] > Task :video_player:writeDebugAarMetadata UP-TO-DATE
[  +87 ms] > Task :app:checkDebugAarMetadata UP-TO-DATE
[        ] > Task :app:cleanMergeDebugAssets
[   +1 ms] > Task :app:mergeDebugShaders UP-TO-DATE
[        ] > Task :app:compileDebugShaders NO-SOURCE
[        ] > Task :app:generateDebugAssets UP-TO-DATE
[        ] > Task :video_player:mergeDebugShaders UP-TO-DATE
[        ] > Task :video_player:compileDebugShaders NO-SOURCE
[        ] > Task :video_player:generateDebugAssets UP-TO-DATE
[        ] > Task :video_player:packageDebugAssets UP-TO-DATE
[        ] > Task :app:mergeDebugAssets
[ +195 ms] > Task :app:copyFlutterAssetsDebug
[   +1 ms] > Task :app:generateDebugResValues UP-TO-DATE
[        ] > Task :app:generateDebugResources UP-TO-DATE
[        ] > Task :video_player:compileDebugRenderscript NO-SOURCE
[   +1 ms] > Task :video_player:generateDebugResValues UP-TO-DATE
[        ] > Task :video_player:generateDebugResources UP-TO-DATE
[        ] > Task :video_player:packageDebugResources UP-TO-DATE
[        ] > Task :app:mergeDebugResources UP-TO-DATE
[        ] > Task :app:createDebugCompatibleScreenManifests UP-TO-DATE
[        ] > Task :app:extractDeepLinksDebug UP-TO-DATE
[        ] > Task :video_player:extractDeepLinksDebug UP-TO-DATE
[        ] > Task :video_player:processDebugManifest UP-TO-DATE
[ +103 ms] > Task :app:processDebugMainManifest UP-TO-DATE
[        ] > Task :app:processDebugManifest UP-TO-DATE
[        ] > Task :app:processDebugManifestForPackage UP-TO-DATE
[        ] > Task :video_player:compileDebugLibraryResources UP-TO-DATE
[   +1 ms] > Task :video_player:parseDebugLocalResources UP-TO-DATE
[   +1 ms] > Task :video_player:generateDebugRFile UP-TO-DATE
[  +89 ms] > Task :app:processDebugResources UP-TO-DATE
[   +5 ms] > Task :video_player:generateDebugBuildConfig UP-TO-DATE
[   +4 ms] > Task :video_player:javaPreCompileDebug UP-TO-DATE
[   +2 ms] > Task :video_player:compileDebugJavaWithJavac UP-TO-DATE
[        ] > Task :video_player:bundleLibCompileToJarDebug UP-TO-DATE
[  +19 ms] > Task :app:compileDebugKotlin UP-TO-DATE
[   +2 ms] > Task :app:javaPreCompileDebug UP-TO-DATE
[        ] > Task :app:compileDebugJavaWithJavac UP-TO-DATE
[        ] > Task :app:compileDebugSources UP-TO-DATE
[        ] > Task :app:mergeDebugNativeDebugMetadata NO-SOURCE
[   +2 ms] > Task :app:processDebugJavaRes NO-SOURCE
[   +4 ms] > Task :video_player:processDebugJavaRes NO-SOURCE
[        ] > Task :video_player:bundleLibResDebug NO-SOURCE
[  +53 ms] > Task :app:mergeDebugJavaResource UP-TO-DATE
[   +1 ms] > Task :video_player:bundleLibRuntimeToJarDebug UP-TO-DATE
[   +7 ms] > Task :app:checkDebugDuplicateClasses UP-TO-DATE
[  +23 ms] > Task :app:dexBuilderDebug UP-TO-DATE
[   +4 ms] > Task :app:desugarDebugFileDependencies UP-TO-DATE
[  +53 ms] > Task :app:mergeExtDexDebug UP-TO-DATE
[   +2 ms] > Task :app:mergeDexDebug UP-TO-DATE
[  +10 ms] > Task :app:mergeDebugJniLibFolders UP-TO-DATE
[        ] > Task :video_player:mergeDebugJniLibFolders UP-TO-DATE
[   +1 ms] > Task :video_player:mergeDebugNativeLibs NO-SOURCE
[   +2 ms] > Task :video_player:stripDebugDebugSymbols NO-SOURCE
[   +8 ms] > Task :video_player:copyDebugJniLibsProjectOnly UP-TO-DATE
[   +2 ms] > Task :app:mergeDebugNativeLibs UP-TO-DATE
[   +1 ms] > Task :app:stripDebugDebugSymbols UP-TO-DATE
[   +2 ms] > Task :app:validateSigningDebug UP-TO-DATE
[        ] > Task :video_player:copyDebugJniLibsProjectAndLocalJars UP-TO-DATE
[  +76 ms] > Task :video_player:extractDebugAnnotations UP-TO-DATE
[        ] > Task :video_player:mergeDebugGeneratedProguardFiles UP-TO-DATE
[        ] > Task :video_player:mergeDebugConsumerProguardFiles UP-TO-DATE
[        ] > Task :video_player:prepareLintJarForPublish UP-TO-DATE
[        ] > Task :video_player:mergeDebugJavaResource UP-TO-DATE
[        ] > Task :video_player:syncDebugLibJars UP-TO-DATE
[        ] > Task :video_player:bundleDebugAar UP-TO-DATE
[        ] > Task :video_player:mergeDebugResources UP-TO-DATE
[        ] > Task :video_player:compileDebugSources UP-TO-DATE
[        ] > Task :video_player:assembleDebug UP-TO-DATE
[ +500 ms] > Task :app:compressDebugAssets
[ +596 ms] > Task :app:packageDebug
[  +67 ms] > Task :app:assembleDebug
[   +1 ms] Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
[        ] Use '--warning-mode all' to show the individual deprecation warnings.
[        ] See https://docs.gradle.org/6.7/userguide/command_line_interface.html#sec:command_line_warnings
[        ] BUILD SUCCESSFUL in 15s
[        ] 58 actionable tasks: 7 executed, 51 up-to-date
[ +537 ms] Running Gradle task 'assembleDebug'... (completed in 15.9s)
[  +38 ms] calculateSha: LocalDirectory: 'D:\Flutter Projects\video_player_example\build\app\outputs\flutter-apk'/app.apk
[ +619 ms] √  Built build\app\outputs\flutter-apk\app-debug.apk.
[   +3 ms] executing: C:\Users\Bacancy Technology\AppData\Local\Android\sdk\build-tools\30.0.3\aapt dump xmltree D:\Flutter Projects\video_player_example\build\app\outputs\flutter-apk\app.apk
AndroidManifest.xml
[  +20 ms] Exit code 0 from: C:\Users\Bacancy Technology\AppData\Local\Android\sdk\build-tools\30.0.3\aapt dump xmltree D:\Flutter Projects\video_player_example\build\app\outputs\flutter-apk\app.apk
AndroidManifest.xml
[   +1 ms] N: android=http://schemas.android.com/apk/res/android
             E: manifest (line=2)
               A: android:versionCode(0x0101021b)=(type 0x10)0x1
               A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0")
               A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1e
               A: android:compileSdkVersionCodename(0x01010573)="11" (Raw: "11")
               A: package="com.example.video_player_example" (Raw: "com.example.video_player_example")
               A: platformBuildVersionCode=(type 0x10)0x1e
               A: platformBuildVersionName=(type 0x10)0xb
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1e
               E: uses-permission (line=14)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: uses-permission (line=15)
                 A: android:name(0x01010003)="android.permission.ACCESS_NETWORK_STATE" (Raw: "android.permission.ACCESS_NETWORK_STATE")
               E: application (line=17)
                 A: android:label(0x01010001)="video_player_example" (Raw: "video_player_example")
                 A: android:icon(0x01010002)=@0x7f080000
                 A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
                 A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
                 E: activity (line=22)
                   A: android:theme(0x01010000)=@0x7f0a0000
                   A: android:name(0x01010003)="com.example.video_player_example.MainActivity" (Raw: "com.example.video_player_example.MainActivity")
                   A: android:launchMode(0x0101001d)=(type 0x10)0x1
                   A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4
                   A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10
                   A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff
                   E: meta-data (line=36)
                     A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
                     A: android:resource(0x01010025)=@0x7f0a0001
                   E: meta-data (line=46)
                     A: android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable" (Raw: "io.flutter.embedding.android.SplashScreenDrawable")
                     A: android:resource(0x01010025)=@0x7f040000
                   E: intent-filter (line=50)
                     E: action (line=51)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=53)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=60)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
[   +6 ms] Stopping app 'app.apk' on sdk gphone x86.
[        ] executing: C:\Users\Bacancy Technology\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 shell am force-stop com.example.video_player_example
[  +57 ms] executing: C:\Users\Bacancy Technology\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 shell pm list packages com.example.video_player_example
[  +45 ms] package:com.example.video_player_example
[   +1 ms] executing: C:\Users\Bacancy Technology\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 shell cat /data/local/tmp/sky.com.example.video_player_example.sha1
[  +46 ms] f8233b764d510463de84cc225377139f685e28e5
[        ] Installing APK.
[   +1 ms] Installing build\app\outputs\flutter-apk\app.apk...
[        ] executing: C:\Users\Bacancy Technology\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 install -t -r D:\Flutter
Projects\video_player_example\build\app\outputs\flutter-apk\app.apk
[ +786 ms] Performing Streamed Install
                    Success
[   +1 ms] Installing build\app\outputs\flutter-apk\app.apk... (completed in 787ms)
[   +2 ms] executing: C:\Users\Bacancy Technology\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 shell echo -n 0fb05d4d7e1aaf960b50705d4dcf9380933ba486 >
/data/local/tmp/sky.com.example.video_player_example.sha1
[  +48 ms] executing: C:\Users\Bacancy Technology\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 shell -x logcat -v time -t 1
[  +65 ms] --------- beginning of main
           09-15 12:55:34.656 I/InputReader(  511): Reconfiguring input devices, changes=KEYBOARD_LAYOUTS |
[   +9 ms] executing: C:\Users\Bacancy Technology\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 shell am start -a android.intent.action.RUN -f 0x20000000 --ez
enable-background-compilation true --ez enable-dart-profiling true --ez enable-checked-mode true --ez verify-entry-points true
com.example.video_player_example/com.example.video_player_example.MainActivity
[ +207 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.example.video_player_example/.MainActivity (has extras) }
[   +1 ms] Waiting for observatory port to be available...
[+1364 ms] Observatory URL on device: http://127.0.0.1:39415/GM_aNmscY3A=/
[   +2 ms] executing: C:\Users\Bacancy Technology\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 forward tcp:0 tcp:39415
[  +26 ms] 59350
[        ] Forwarded host port 59350 to device port 39415 for Observatory
[   +5 ms] Caching compiled dill
[  +29 ms] Connecting to service protocol: http://127.0.0.1:59350/GM_aNmscY3A=/
[ +357 ms] Launching a Dart Developer Service (DDS) instance at http://127.0.0.1:0, connecting to VM service at http://127.0.0.1:59350/GM_aNmscY3A=/.
[ +116 ms] DDS is listening at http://127.0.0.1:59353/toB4DyOb28o=/.
[  +55 ms] Successfully connected to service protocol: http://127.0.0.1:59350/GM_aNmscY3A=/
[  +30 ms] DevFS: Creating new filesystem on the device (null)
[  +49 ms] DevFS: Created new filesystem on the device (file:///data/user/0/com.example.video_player_example/code_cache/video_player_exampleSIXTRM/video_player_example/)
[   +1 ms] Updating assets
[  +85 ms] Syncing files to device sdk gphone x86...
[   +2 ms] <- reset
[        ] Compiling dart to kernel with 0 updated files
[   +2 ms] <- recompile package:video_player_example/main.dart 664d8fce-343c-416c-9868-1ccae8848e55
[        ] <- 664d8fce-343c-416c-9868-1ccae8848e55
[  +87 ms] Updating files.
[        ] DevFS: Sync finished
[        ] Syncing files to device sdk gphone x86... (completed in 93ms)
[        ] Synced 0.0MB.
[   +1 ms] <- accept
[  +10 ms] Connected to _flutterView/0xf274f820.
[   +2 ms] Flutter run key commands.
[   +2 ms] r Hot reload. 
[   +1 ms] R Hot restart.
[        ] h Repeat this help message.
[        ] d Detach (terminate "flutter run" but leave application running).
[        ] c Clear the screen
[        ] q Quit (terminate the application on the device).
[        ]  Running with sound null safety 
[   +1 ms] An Observatory debugger and profiler on sdk gphone x86 is available at: http://127.0.0.1:59353/toB4DyOb28o=/
[ +161 ms] Activating Dart DevTools...
[ +649 ms] W/_player_exampl( 9050): Accessing hidden method Landroid/media/AudioTrack;->getLatency()I (greylist, reflection, allowed)
[  +29 ms] I/ExoPlayerImpl( 9050): Init d46cae3 [ExoPlayerLib/2.14.1] [generic_x86_arm, sdk_gphone_x86, Google, 30]
[  +48 ms] I/TetheringManager( 9050): registerTetheringEventCallback:com.example.video_player_example
[ +398 ms] I/VideoCapabilities( 9050): Unsupported profile 4 for video/mp4v-es
[  +41 ms] I/OMXClient( 9050): IOmx service obtained
[   +2 ms] D/SurfaceUtils( 9050): connecting to surface 0xed0d79e8, reason connectToSurface
[        ] I/MediaCodec( 9050): [OMX.android.goldfish.h264.decoder] setting surface generation to 9267201
[        ] D/SurfaceUtils( 9050): disconnecting from surface 0xed0d79e8, reason connectToSurface(reconnect)
[        ] D/SurfaceUtils( 9050): connecting to surface 0xed0d79e8, reason connectToSurface(reconnect)
[        ] E/ACodec  ( 9050): [OMX.android.goldfish.h264.decoder] setPortMode on output to DynamicANWBuffer failed w/ err -1010
[   +3 ms] I/ACodec  ( 9050): codec does not support config priority (err -1010)
[  +33 ms] D/SurfaceUtils( 9050): disconnecting from surface 0xed0d79e8, reason setNativeWindowSizeFormatAndUsage
[   +1 ms] D/SurfaceUtils( 9050): connecting to surface 0xed0d79e8, reason setNativeWindowSizeFormatAndUsage
[        ] D/SurfaceUtils( 9050): set up nativeWindow 0xed0d79e8 for 1280x720, color 0x13, rotation 0, usage 0x1002900
[   +1 ms] W/Gralloc4( 9050): allocator 3.x is not supported
[  +77 ms] D/CCodec  ( 9050): allocate(c2.android.aac.decoder)
[   +6 ms] I/Codec2Client( 9050): Available Codec2 services: "software"
[  +16 ms] I/CCodec  ( 9050): Created component [c2.android.aac.decoder]
[   +1 ms] D/CCodecConfig( 9050): read media type: audio/mp4a-latm
[   +4 ms] D/ReflectedParamUpdater( 9050): extent() != 1 for single value type: algo.buffers.max-count.values
[   +2 ms] D/ReflectedParamUpdater( 9050): extent() != 1 for single value type: output.subscribed-indices.values
[   +1 ms] D/ReflectedParamUpdater( 9050): extent() != 1 for single value type: input.buffers.allocator-ids.values
[        ] D/ReflectedParamUpdater( 9050): extent() != 1 for single value type: output.buffers.allocator-ids.values
[   +4 ms] D/ReflectedParamUpdater( 9050): extent() != 1 for single value type: algo.buffers.allocator-ids.values
[   +2 ms] D/ReflectedParamUpdater( 9050): extent() != 1 for single value type: output.buffers.pool-ids.values
[   +2 ms] D/ReflectedParamUpdater( 9050): extent() != 1 for single value type: algo.buffers.pool-ids.values
[   +4 ms] I/CCodecConfig( 9050): query failed after returning 19 values (BAD_INDEX)
[   +6 ms] D/CCodecConfig( 9050): c2 config diff is Dict {
[   +5 ms] D/CCodecConfig( 9050):   c2::u32 coded.aac-packaging.value = 0
[   +4 ms] D/CCodecConfig( 9050):   c2::u32 coded.bitrate.value = 64000
[   +1 ms] D/CCodecConfig( 9050):   c2::u32 coded.pl.level = 0
[   +1 ms] D/CCodecConfig( 9050):   c2::u32 coded.pl.profile = 8192
[   +7 ms] D/CCodecConfig( 9050):   c2::i32 coding.drc.album-mode.value = 0
[   +1 ms] D/CCodecConfig( 9050):   c2::float coding.drc.attenuation-factor.value = 1
[   +4 ms] D/CCodecConfig( 9050):   c2::float coding.drc.boost-factor.value = 1
[   +8 ms] D/CCodecConfig( 9050):   c2::i32 coding.drc.compression-mode.value = 3
[  +10 ms] D/CCodecConfig( 9050):   c2::i32 coding.drc.effect-type.value = 3
[   +8 ms] D/CCodecConfig( 9050):   c2::float coding.drc.encoded-level.value = 0.25
[   +1 ms] D/CCodecConfig( 9050):   c2::float coding.drc.reference-level.value = -16
[   +1 ms] D/CCodecConfig( 9050):   c2::u32 input.buffers.max-size.value = 8192
[   +1 ms] D/CCodecConfig( 9050):   c2::u32 input.delay.value = 0
[   +1 ms] D/CCodecConfig( 9050):   string input.media-type.value = "audio/mp4a-latm"
[        ] D/CCodecConfig( 9050):   c2::u32 output.delay.value = 2
[        ] D/CCodecConfig( 9050):   c2::float output.drc.output-loudness.value = 0.25
[   +2 ms] D/CCodecConfig( 9050):   string output.media-type.value = "audio/raw"
[   +3 ms] D/CCodecConfig( 9050):   c2::u32 raw.channel-count.value = 1
[   +1 ms] D/CCodecConfig( 9050):   c2::u32 raw.max-channel-count.value = 8
[   +1 ms] D/CCodecConfig( 9050):   c2::u32 raw.sample-rate.value = 44100
[        ] D/CCodecConfig( 9050): }
[   +2 ms] D/CCodec  ( 9050): [c2.android.aac.decoder] buffers are bound to CCodec for this session
[   +1 ms] D/CCodecConfig( 9050): no c2 equivalents for flags
[        ] D/CCodecConfig( 9050): config failed => CORRUPTED
[        ] D/CCodecConfig( 9050): c2 config diff is   c2::u32 raw.channel-count.value = 2
[        ] D/CCodecConfig( 9050):   c2::u32 raw.sample-rate.value = 48000
[        ] W/Codec2Client( 9050): query -- param skipped: index = 1107298332.
[        ] D/CCodec  ( 9050): client requested max input size 579, which is smaller than what component recommended (8192); overriding with component recommendation.
[        ] W/CCodec  ( 9050): This behavior is subject to change. It is recommended that app developers double check whether the requested max input size is in reasonable range.
[   +1 ms] D/CCodec  ( 9050): setup formats input: AMessage(what = 0x00000000) = {
[        ] D/CCodec  ( 9050):   int32_t aac-drc-album-mode = 0
[   +1 ms] D/CCodec  ( 9050):   int32_t aac-drc-boost-level = 127
[        ] D/CCodec  ( 9050):   int32_t aac-drc-cut-level = 127
[   +1 ms] D/CCodec  ( 9050):   int32_t aac-drc-effect-type = 3
[   +1 ms] D/CCodec  ( 9050):   int32_t aac-drc-heavy-compression = 3
[        ] D/CCodec  ( 9050):   int32_t aac-encoded-target-level = -1
[        ] D/CCodec  ( 9050):   int32_t aac-max-output-channel_count = 8
[   +1 ms] D/CCodec  ( 9050):   int32_t aac-target-ref-level = 64
[        ] D/CCodec  ( 9050):   int32_t channel-count = 2
[        ] D/CCodec  ( 9050):   int32_t level = 0
[        ] D/CCodec  ( 9050):   int32_t max-input-size = 8192
[        ] D/CCodec  ( 9050):   string mime = "audio/mp4a-latm"
[        ] D/CCodec  ( 9050):   int32_t profile = 2
[        ] D/CCodec  ( 9050):   int32_t sample-rate = 48000
[        ] D/CCodec  ( 9050): } and output: AMessage(what = 0x00000000) = {
[        ] D/CCodec  ( 9050):   int32_t aac-drc-album-mode = 0
[   +1 ms] D/CCodec  ( 9050):   int32_t aac-drc-boost-level = 127
[   +1 ms] D/CCodec  ( 9050):   int32_t aac-drc-cut-level = 127
[   +2 ms] D/CCodec  ( 9050):   int32_t aac-drc-effect-type = 3
[        ] D/CCodec  ( 9050):   int32_t aac-drc-heavy-compression = 3
[   +1 ms] D/CCodec  ( 9050):   int32_t aac-drc-output-loudness = -1
[   +1 ms] D/CCodec  ( 9050):   int32_t aac-encoded-target-level = -1
[   +1 ms] D/CCodec  ( 9050):   int32_t aac-max-output-channel_count = 8
[   +1 ms] D/CCodec  ( 9050):   int32_t aac-target-ref-level = 64
[   +1 ms] D/CCodec  ( 9050):   int32_t channel-count = 2
[        ] D/CCodec  ( 9050):   string mime = "audio/raw"
[   +1 ms] D/CCodec  ( 9050):   int32_t sample-rate = 48000
[        ] D/CCodec  ( 9050): }
[        ] W/Codec2Client( 9050): query -- param skipped: index = 1342179345.
[        ] W/Codec2Client( 9050): query -- param skipped: index = 2415921170.
[        ] W/Codec2Client( 9050): query -- param skipped: index = 1610614798.
[   +1 ms] E/FMQ     ( 9050): grantorIdx must be less than 3
[   +2 ms] E/FMQ     ( 9050): grantorIdx must be less than 3
[   +2 ms] D/CCodecBufferChannel( 9050): [c2.android.aac.decoder#370] Created input block pool with allocatorID 16 => poolID 17 - OK (0)
[   +1 ms] I/CCodecBufferChannel( 9050): [c2.android.aac.decoder#370] Created output block pool with allocatorID 16 => poolID 132 - OK
[        ] D/CCodecBufferChannel( 9050): [c2.android.aac.decoder#370] Configured output block pool ids 132 => OK
[        ] E/ion     ( 9050): ioctl c0044901 failed with code -1: Inappropriate ioctl for device
[        ] E/FMQ     ( 9050): grantorIdx must be less than 3
[        ] E/FMQ     ( 9050): grantorIdx must be less than 3
[   +1 ms] D/CCodecConfig( 9050): c2 config diff is   c2::i32 coding.drc.compression-mode.value = 1
[   +1 ms] D/CCodecBuffers( 9050): [c2.android.aac.decoder#370:Output[N]] popFromStashAndRegister: output format changed to AMessage(what = 0x00000000) = {
[        ] D/CCodecBuffers( 9050):   int32_t aac-drc-album-mode = 0
[        ] D/CCodecBuffers( 9050):   int32_t aac-drc-boost-level = 127
[        ] D/CCodecBuffers( 9050):   int32_t aac-drc-cut-level = 127
[        ] D/CCodecBuffers( 9050):   int32_t aac-drc-effect-type = 3
[        ] D/CCodecBuffers( 9050):   int32_t aac-drc-heavy-compression = 1
[        ] D/CCodecBuffers( 9050):   int32_t aac-drc-output-loudness = -1
[        ] D/CCodecBuffers( 9050):   int32_t aac-encoded-target-level = -1
[        ] D/CCodecBuffers( 9050):   int32_t aac-max-output-channel_count = 8
[   +1 ms] D/CCodecBuffers( 9050):   int32_t aac-target-ref-level = 64
[   +3 ms] D/CCodecBuffers( 9050):   int32_t channel-count = 2
[        ] D/CCodecBuffers( 9050):   string mime = "audio/raw"
[   +1 ms] D/CCodecBuffers( 9050):   int32_t sample-rate = 48000
[        ] D/CCodecBuffers( 9050): }
[  +94 ms] I/flutter ( 9050): Total Duration: 7540000
[  +24 ms] D/AudioTrack( 9050): getTimestamp_l(158): device stall time corrected using current time 3045534510800
[ +178 ms] D/CCodecBuffers( 9050): [c2.android.aac.decoder#370:1D-Input.Impl[N]] codec released a buffer owned by client (index 0)
[ +248 ms] D/CCodecBuffers( 9050): [c2.android.aac.decoder#370:1D-Input.Impl[N]] codec released a buffer owned by client (index 2)
[  +85 ms] I/flutter ( 9050): Current Duration: 0
[   +2 ms] I/flutter ( 9050): Current Duration: 509000
[  +14 ms] I/flutter ( 9050): Current Duration: 509000
[ +471 ms] I/flutter ( 9050): Current Duration: 509000
[   +1 ms] I/flutter ( 9050): Current Duration: 1002000
[  +35 ms] I/flutter ( 9050): Current Duration: 1002000
[ +466 ms] I/flutter ( 9050): Current Duration: 1002000
[        ] I/flutter ( 9050): Current Duration: 1510000
[ +313 ms] I/flutter ( 9050): Current Duration: 1510000
[        ] D/CCodecBuffers( 9050): [c2.android.aac.decoder#370:1D-Input.Impl[N]] codec released a buffer owned by client (index 0)
[ +119 ms] D/CCodecBuffers( 9050): [c2.android.aac.decoder#370:1D-Input.Impl[N]] codec released a buffer owned by client (index 1)
[   +1 ms] D/CCodecBuffers( 9050): [c2.android.aac.decoder#370:1D-Input.Impl[N]] codec released a buffer owned by client (index 2)
[  +60 ms] I/flutter ( 9050): Current Duration: 1510000
[        ] I/flutter ( 9050): Current Duration: 2005000
[  +71 ms] I/flutter ( 9050): Current Duration: 2005000
[ +429 ms] I/flutter ( 9050): Current Duration: 2005000
[   +2 ms] I/flutter ( 9050): Current Duration: 2510000
[ +178 ms] I/flutter ( 9050): Current Duration: 2510000
[ +319 ms] I/flutter ( 9050): Current Duration: 2510000
[        ] I/flutter ( 9050): Current Duration: 3011000
[ +255 ms] I/flutter ( 9050): Current Duration: 3011000
[ +242 ms] I/flutter ( 9050): Current Duration: 3011000
[        ] I/flutter ( 9050): Current Duration: 3507000
[  +98 ms] I/flutter ( 9050): Current Duration: 3507000
[        ] D/CCodecBuffers( 9050): [c2.android.aac.decoder#370:1D-Input.Impl[N]] codec released a buffer owned by client (index 0)
[ +133 ms] D/CCodecBuffers( 9050): [c2.android.aac.decoder#370:1D-Input.Impl[N]] codec released a buffer owned by client (index 0)
[        ] D/CCodecBuffers( 9050): [c2.android.aac.decoder#370:1D-Input.Impl[N]] codec released a buffer owned by client (index 1)
[ +265 ms] I/flutter ( 9050): Current Duration: 3507000
[   +5 ms] I/flutter ( 9050): Current Duration: 4004000
[ +497 ms] I/chatty  ( 9050): uid=10157(com.example.video_player_example) 1.ui identical 1 line
[        ] I/flutter ( 9050): Current Duration: 4004000
[        ] I/flutter ( 9050): Current Duration: 4509000
[ +199 ms] I/flutter ( 9050): Current Duration: 4509000
[        ] D/CCodecBuffers( 9050): [c2.android.aac.decoder#370:1D-Input.Impl[N]] codec released a buffer owned by client (index 0)
[  +58 ms] D/BufferPoolAccessor2.0( 9050): bufferpool2 0xf244bd48 : 6(49152 size) total buffers - 5(40960 size) used buffers - 1/7 (recycle/alloc) - 6/290 (fetch/transfer)
[        ] D/BufferPoolAccessor2.0( 9050): evictor expired: 1, evicted: 1
[ +236 ms] I/flutter ( 9050): Current Duration: 4509000
[   +2 ms] I/flutter ( 9050): Current Duration: 5005000
[ +294 ms] I/flutter ( 9050): Current Duration: 5005000
[ +202 ms] I/flutter ( 9050): Current Duration: 5005000
[   +1 ms] I/flutter ( 9050): Current Duration: 5507000
[ +506 ms] I/chatty  ( 9050): uid=10157(com.example.video_player_example) 1.ui identical 1 line
[   +1 ms] I/flutter ( 9050): Current Duration: 5507000
[        ] I/flutter ( 9050): Current Duration: 6003000
[ +499 ms] I/chatty  ( 9050): uid=10157(com.example.video_player_example) 1.ui identical 1 line
[        ] I/flutter ( 9050): Current Duration: 6003000
[        ] I/flutter ( 9050): Current Duration: 6512000
[ +493 ms] I/chatty  ( 9050): uid=10157(com.example.video_player_example) 1.ui identical 1 line
[   +1 ms] I/flutter ( 9050): Current Duration: 6512000
[        ] I/flutter ( 9050): Current Duration: 7002000
[  +32 ms] I/flutter ( 9050): Current Duration: 7002000
[   +1 ms] I/CCodecConfig( 9050): query failed after returning 19 values (BAD_INDEX)
[   +1 ms] D/CCodecConfig( 9050): c2 config diff is   c2::i32 coding.drc.compression-mode.value = 3
[   +1 ms] W/Codec2Client( 9050): query -- param skipped: index = 1342179345.
[   +1 ms] W/Codec2Client( 9050): query -- param skipped: index = 2415921170.
[   +1 ms] W/Codec2Client( 9050): query -- param skipped: index = 1610614798.
[   +8 ms] D/CCodecBuffers( 9050): [c2.android.aac.decoder#370:Output[N]] popFromStashAndRegister: output format changed to AMessage(what = 0x00000000) = {
[        ] D/CCodecBuffers( 9050):   int32_t aac-drc-album-mode = 0
[        ] D/CCodecBuffers( 9050):   int32_t aac-drc-boost-level = 127
[   +1 ms] D/CCodecBuffers( 9050):   int32_t aac-drc-cut-level = 127
[   +1 ms] D/CCodecBuffers( 9050):   int32_t aac-drc-effect-type = 3
[   +1 ms] D/CCodecBuffers( 9050):   int32_t aac-drc-heavy-compression = 3
[   +1 ms] D/CCodecBuffers( 9050):   int32_t aac-drc-output-loudness = -1
[   +2 ms] D/CCodecBuffers( 9050):   int32_t aac-encoded-target-level = -1
[   +1 ms] D/CCodecBuffers( 9050):   int32_t aac-max-output-channel_count = 8
[        ] D/CCodecBuffers( 9050):   int32_t aac-target-ref-level = 64
[        ] D/CCodecBuffers( 9050):   int32_t channel-count = 2
[   +1 ms] D/CCodecBuffers( 9050):   string mime = "audio/raw"
[        ] D/CCodecBuffers( 9050):   int32_t sample-rate = 48000
[        ] D/CCodecBuffers( 9050): }
[   +1 ms] D/CCodecConfig( 9050): c2 config diff is   c2::i32 coding.drc.compression-mode.value = 1
[        ] D/CCodecBuffers( 9050): [c2.android.aac.decoder#370:Output[N]] popFromStashAndRegister: output format changed to AMessage(what = 0x00000000) = {
[        ] D/CCodecBuffers( 9050):   int32_t aac-drc-album-mode = 0
[        ] D/CCodecBuffers( 9050):   int32_t aac-drc-boost-level = 127
[   +1 ms] D/CCodecBuffers( 9050):   int32_t aac-drc-cut-level = 127
[   +1 ms] D/CCodecBuffers( 9050):   int32_t aac-drc-effect-type = 3
[   +1 ms] D/CCodecBuffers( 9050):   int32_t aac-drc-heavy-compression = 1
[   +2 ms] D/CCodecBuffers( 9050):   int32_t aac-drc-output-loudness = -1
[        ] D/CCodecBuffers( 9050):   int32_t aac-encoded-target-level = -1
[   +1 ms] D/CCodecBuffers( 9050):   int32_t aac-max-output-channel_count = 8
[   +1 ms] D/CCodecBuffers( 9050):   int32_t aac-target-ref-level = 64
[        ] D/CCodecBuffers( 9050):   int32_t channel-count = 2
[        ] D/CCodecBuffers( 9050):   string mime = "audio/raw"
[        ] D/CCodecBuffers( 9050):   int32_t sample-rate = 48000
[        ] D/CCodecBuffers( 9050): }
[ +417 ms] I/flutter ( 9050): Current Duration: 7002000
[        ] I/flutter ( 9050): Current Duration: 7511000
[ +184 ms] I/flutter ( 9050): Current Duration: 7511000
[ +314 ms] I/flutter ( 9050): Current Duration: 7511000
[        ] I/flutter ( 9050): Current Duration: 476000
[ +173 ms] Activating Dart DevTools... (completed in 9.8s)
[  +86 ms] I/flutter ( 9050): Current Duration: 476000
[ +239 ms] I/flutter ( 9050): Current Duration: 476000
[        ] I/flutter ( 9050): Current Duration: 976000
[  +74 ms] I/flutter ( 9050): Current Duration: 976000
[        ] D/CCodecBuffers( 9050): [c2.android.aac.decoder#370:1D-Input.Impl[N]] codec released a buffer owned by client (index 3)
[ +307 ms] The Flutter DevTools debugger and profiler on sdk gphone x86 is available at: http://127.0.0.1:9101?uri=http%3A%2F%2F127.0.0.1%3A59353%2FtoB4DyOb28o%3D%2F
[  +84 ms] D/CCodecBuffers( 9050): [c2.android.aac.decoder#370:1D-Input.Impl[N]] codec released a buffer owned by client (index 0)
[  +31 ms] I/flutter ( 9050): Current Duration: 976000
[        ] I/flutter ( 9050): Current Duration: 1474000
[  +60 ms] I/flutter ( 9050): Current Duration: 1474000
[        ] D/CCodecBuffers( 9050): [c2.android.aac.decoder#370:1D-Input.Impl[N]] codec released a buffer owned by client (index 0)
[ +438 ms] I/flutter ( 9050): Current Duration: 1474000
[        ] I/flutter ( 9050): Current Duration: 1984000
[ +396 ms] I/flutter ( 9050): Current Duration: 1984000
[        ] D/BufferPoolAccessor2.0( 9050): bufferpool2 0xf244bd48 : 5(40960 size) total buffers - 5(40960 size) used buffers - 1/7 (recycle/alloc) - 8/508 (fetch/transfer)
[ +103 ms] I/flutter ( 9050): Current Duration: 1984000
[        ] I/flutter ( 9050): Current Duration: 2482000
[ +498 ms] I/chatty  ( 9050): uid=10157(com.example.video_player_example) 1.ui identical 1 line
[   +1 ms] I/flutter ( 9050): Current Duration: 2482000
[        ] I/flutter ( 9050): Current Duration: 3407000
[  +14 ms] I/flutter ( 9050): Current Duration: 3407000
[ +481 ms] I/flutter ( 9050): Current Duration: 3407000
[   +1 ms] I/flutter ( 9050): Current Duration: 3902000
[ +501 ms] I/chatty  ( 9050): uid=10157(com.example.video_player_example) 1.ui identical 1 line
[   +4 ms] I/flutter ( 9050): Current Duration: 3902000
[        ] I/flutter ( 9050): Current Duration: 4401000
[ +487 ms] I/flutter ( 9050): Current Duration: 4401000
[   +8 ms] I/flutter ( 9050): Current Duration: 4401000
[   +1 ms] I/flutter ( 9050): Current Duration: 4899000
[ +493 ms] I/chatty  ( 9050): uid=10157(com.example.video_player_example) 1.ui identical 1 line
[   +1 ms] I/flutter ( 9050): Current Duration: 4899000
[        ] I/flutter ( 9050): Current Duration: 5398000
[ +254 ms] DevFS: Deleting filesystem on the device (file:///data/user/0/com.example.video_player_example/code_cache/video_player_exampleSIXTRM/video_player_example/)
[   +7 ms] DevFS: Deleted filesystem on the device (file:///data/user/0/com.example.video_player_example/code_cache/video_player_exampleSIXTRM/video_player_example/)
[  +90 ms] Service protocol connection closed.
[   +1 ms] Application finished.
[   +4 ms] executing: C:\Users\Bacancy Technology\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 forward --list
[  +26 ms] Exit code 0 from: C:\Users\Bacancy Technology\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 forward --list
[        ] emulator-5554 tcp:59350 tcp:39415
[   +1 ms] executing: C:\Users\Bacancy Technology\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 forward --remove tcp:59350
[  +31 ms] executing: C:\Users\Bacancy Technology\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 forward --list
[  +32 ms] Exit code 0 from: C:\Users\Bacancy Technology\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 forward --list
[   +2 ms] "flutter run" took 35,655ms.
[ +172 ms] ensureAnalyticsSent: 168ms
[   +1 ms] Running shutdown hooks
[        ] Shutdown hooks complete
[   +1 ms] exiting with code 0
```

</details>
<details>
    <summary>flutter analyze</summary>

```
D:\Flutter Projects\video_player_example>flutter analyze
Analyzing video_player_example...                                       
No issues found! (ran in 1.7s)
```
</details>
<details>
    <summary>flutter doctor -v</summary>
<!-- Finally, paste the output of running `flutter doctor -v` here. -->

```
D:\Flutter Projects\video_player_example>flutter doctor -v
[√] Flutter (Channel stable, 2.2.3, on Microsoft Windows [Version 10.0.19043.1165], locale en-IN)
    • Flutter version 2.2.3 at C:\flutter
    • Framework revision f4abaa0735 (3 months ago), 2021-07-01 12:46:11 -0700
    • Engine revision 241c87ad80
    • Dart version 2.13.4

[√] Android toolchain - develop for Android devices (Android SDK version 30.0.3) 
    • Android SDK at C:\Users\Bacancy Technology\AppData\Local\Android\sdk       
    • Platform android-30, build-tools 30.0.3
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java       
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Android Studio (version 4.1.0)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[√] VS Code (version 1.60.1)
    • VS Code at C:\Users\Bacancy Technology\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.26.0

[√] Connected device (3 available)
    • sdk gphone x86 (mobile) • emulator-5554 • android-x86    • Android 11 (API 30) (emulator)
    • Chrome (web)            • chrome        • web-javascript • Google Chrome 93.0.4577.82
    • Edge (web)              • edge          • web-javascript • Microsoft Edge 93.0.961.47

• No issues found!
```

</details>