mayaparamita / fluttervideocall

flutter video call using webrtc. original.
MIT License
1 stars 0 forks source link

AndroidVideoDecoder: deliverDecodedFrame failed #1

Open telinx opened 3 years ago

telinx commented 3 years ago

Android device A share screen to Android device B report error, but share camera to Android device B is okay. error

E/org.webrtc.Logging(17442): AndroidVideoDecoder: deliverDecodedFrame failed
E/org.webrtc.Logging(17442): AndroidVideoDecoder: java.lang.IllegalStateException
E/org.webrtc.Logging(17442): AndroidVideoDecoder: java.lang.IllegalStateException
E/org.webrtc.Logging(17442):    at android.media.MediaCodec.native_dequeueOutputBuffer(Native Method)
E/org.webrtc.Logging(17442):    at android.media.MediaCodec.dequeueOutputBuffer(MediaCodec.java:2789)
E/org.webrtc.Logging(17442):    at org.webrtc.MediaCodecWrapperFactoryImpl$MediaCodecWrapperImpl.dequeueOutputBuffer(MediaCodecWrapperFactoryImpl.java:73)
E/org.webrtc.Logging(17442):    at org.webrtc.AndroidVideoDecoder.deliverDecodedFrame(AndroidVideoDecoder.java:389)
E/org.webrtc.Logging(17442):    at org.webrtc.AndroidVideoDecoder$1.run(AndroidVideoDecoder.java:373)
E/org.webrtc.Logging(17442): AndroidVideoDecoder: deliverDecodedFrame failed

flutter doctor -v

[√] Flutter (Channel stable, 2.2.3, on Microsoft Windows [Version 10.0.17763.1], locale zh-CN)
    • Flutter version 2.2.3 at F:\flutter
    • Framework revision f4abaa0735 (9 weeks ago), 2021-07-01 12:46:11 -0700
    • Engine revision 241c87ad80
    • Dart version 2.13.4
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://storage.flutter-io.cn

[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at C:\Users\user\AppData\Local\Android\sdk
    • Platform android-30, build-tools 30.0.3
    • Java binary at: F:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)
    ! Some Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses

[√] Chrome - develop for the web
    • Chrome at C:\Users\user\AppData\Local\Google\Chrome\Application\chrome.exe

[√] Android Studio (version 3.5)
    • Android Studio at F:\Program Files\Android\Android Studio
    • Flutter plugin version 44.0.1
    • Dart plugin version 191.8593
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)

[√] VS Code (version 1.58.2)
    • VS Code at C:\Users\user\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.25.0

[√] Connected device (3 available)
    • M2007J22C (mobile) • i75l89fazlnjwcr8 • android-arm64  • Android 10 (API 29)
    • M2007J22C (mobile) • ovbq6t5pm7ljz549 • android-arm64  • Android 11 (API 30)
    • Chrome (web)       • chrome           • web-javascript • Google Chrome 91.0.4472.124

! Doctor found issues in 1 category.

@mayaparamita did you test android device share screen to the other android device?

mayaparamita commented 3 years ago

Yes I test both in simulator and in 2 of my android devices. All works fine. From your flutter -doctor result seems you have android licenses issue in your flutter?