Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Camera not open and show error when test repeatedly #55

Open
1 of 2 tasks
ting28418 opened this issue May 31, 2024 · 23 comments
Open
1 of 2 tasks

[Bug]: Camera not open and show error when test repeatedly #55

ting28418 opened this issue May 31, 2024 · 23 comments
Labels
bug Something isn't working

Comments

@ting28418
Copy link

Version

v1.2.0

Which operating systems have you used?

  • Android
  • iOS

Environment that reproduces the issue

Android Huawei nova 3i android version 9

Is it reproducible in the example application?

Yes

RTMP Server

rtmp://example.com/live/

Reproduction steps

Camera not open when open when click to open ApiVideoCameraPreview again repeatedly
photo_2024-05-31_11-33-48


Expected result

Stream success if enter ApiVideoCameraPreview and start live immediatley.
Not work if enter ApiVideoCameraPreview repeatedly

Actual result

ApiVideoCameraPreview not open and get error

Additional context

Flutter 3.19.3 • channel stable • https://github.com/flutter/flutter.git
Framework • revision ba39319843 (3 months ago) • 2024-03-07 15:22:21 -0600
Engine • revision 2e4ba9c6fb
Tools • Dart 3.3.1 • DevTools 2.31.1

Relevant logs output

E/        ( 2412): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102]
E/        ( 2412): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102]
V/AudioManager( 2412): playSoundEffect   effectType: 0
V/AudioManager( 2412): querySoundEffectsEnabled...
D/AudioSource( 2412): Not running
I/MediaCodecEncoder( 2412): Selected encoder OMX.hisi.video.encoder.avc
I/OMXClient( 2412): IOmx service obtained
E/ACodec  ( 2412): Unable to instantiate codec 'OMX.hisi.video.encoder.avc' with err 0xfffffff4.
E/ACodec  ( 2412): signalError(omxError 0xfffffff4, internalError -12)
E/MediaCodec( 2412): Codec reported err 0xfffffff4, actionCode 0, while in state 1
W/MediaCodec-JNI( 2412): try to release MediaCodec from JMediaCodec::~JMediaCodec()...
W/MediaCodec-JNI( 2412): done releasing MediaCodec from JMediaCodec::~JMediaCodec().
I/MediaCodecEncoder( 2412): Fallback without profile and level (reason: android.media.MediaCodec$CodecException: Failed to initialize OMX.hisi.video.encoder.avc, error 0xfffffff4)
I/MediaCodecEncoder( 2412): Selected encoder OMX.hisi.video.encoder.avc
I/OMXClient( 2412): IOmx service obtained
E/ACodec  ( 2412): Unable to instantiate codec 'OMX.hisi.video.encoder.avc' with err 0xfffffff4.
E/ACodec  ( 2412): signalError(omxError 0xfffffff4, internalError -12)
E/MediaCodec( 2412): Codec reported err 0xfffffff4, actionCode 0, while in state 1
W/MediaCodec-JNI( 2412): try to release MediaCodec from JMediaCodec::~JMediaCodec()...
W/MediaCodec-JNI( 2412): done releasing MediaCodec from JMediaCodec::~JMediaCodec().
E/MediaCodecEncoder( 2412): Failed to create encoder for VideoConfig(mimeType='video/avc', startBitrate=2000000, resolution=1280x720, fps=30, profile=8, level=32768)
I/flutter ( 2412): LOGIN TOEKN :::::::::::::eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MjUsImlhdCI6MTcxNjk2ODU3NywiZXhwIjoxNzE5NTYwNTc3fQ.QraFaXZZrIyY6IkCC32R5Lj1LwFq4DXixnqqDj5qSa8
E/        ( 2412): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102]
E/        ( 2412): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102]
E/        ( 2412): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102]
E/        ( 2412): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102]
E/        ( 2412): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102]
E/        ( 2412): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102]
E/        ( 2412): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102]
E/        ( 2412): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102]
E/        ( 2412): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102]
E/        ( 2412): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102]
E/        ( 2412): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102]
E/        ( 2412): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102]
E/        ( 2412): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102]
@ting28418 ting28418 added the bug Something isn't working label May 31, 2024
@ThibaultBee
Copy link
Member

ThibaultBee commented May 31, 2024

Hi,
Thanks for reporting this issue.

Not work if enter ApiVideoCameraPreview repeatedly

What does it mean? Which API calls are made?

@ting28418
Copy link
Author

ting28418 commented May 31, 2024

call rtmp url rtmp://example.com/live/streamkey

attach video , kindly check thanks

IMG_4875.MOV
IMG_4875.MOV

@ThibaultBee
Copy link
Member

ThibaultBee commented May 31, 2024

Okay but what APIs (methods) of this package are you calling?

@ting28418
Copy link
Author

ting28418 commented Jun 1, 2024

Not calling API test with example code in my project. Here is video attach of only example code run to my device .Kindly check .
Is depend in Android device or androd version?

VID_20240601_220428_305.mp4

@ting28418
Copy link
Author

@ThibaultBee Kindly check please

@ThibaultBee
Copy link
Member

Well, from what you show the issue is when you call stopStreaming a lot. It restarts the encoders even if they aren't running.
I've made fix to mitigate the issue in the main branch. Could you test?

@ting28418
Copy link
Author

ting28418 commented Jun 10, 2024

Downloaded latest code from

main

branch and test still show that error Kindly check attach video

IMG_4914.MOV

@ThibaultBee
Copy link
Member

Could you send the log of your application?

@ting28418
Copy link
Author

Here is all log that test from start.

Launching lib\main.dart on INE LX2r in debug mode... √ Built build\app\outputs\flutter-apk\app-debug.apk. E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] Connecting to VM Service at ws://127.0.0.1:51101/exHl7qirLuA=/ws D/AwareBitmapCacher(14303): handleInit switch not opened pid=14303 I/estream.exampl(14303): Starting profile saver IsSaveProfileNow end. E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] D/ProfileInstaller(14303): Installing profile for video.api.flutter.livestream.example E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] I/CameraManagerGlobal(14303): Connecting to camera service W/VideoCapabilities(14303): Unrecognized profile 4 for video/hevc W/VideoCapabilities(14303): Unrecognized profile/level 0/0 for video/mpeg2 W/VideoCapabilities(14303): Unrecognized profile/level 0/2 for video/mpeg2 W/VideoCapabilities(14303): Unrecognized profile/level 0/3 for video/mpeg2 I/VideoCapabilities(14303): Unsupported profile 5 for video/mpeg2 I/chatty (14303): uid=11283(video.api.flutter.livestream.example) identical 2 lines I/VideoCapabilities(14303): Unsupported profile 5 for video/mpeg2 W/VideoCapabilities(14303): Unrecognized profile/level 1/32 for video/mp4v-es W/VideoCapabilities(14303): Unrecognized profile/level 32768/2 for video/mp4v-es W/VideoCapabilities(14303): Unrecognized profile/level 32768/64 for video/mp4v-es I/VideoCapabilities(14303): Unsupported profile 4 for video/mp4v-es E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] I/HwPhoneWindow(14303): updateLayoutParamsColor true mSpecialSet=true, mForcedNavigationBarColor=false, navigationBarColor=fffcfcfc, mNavBarShow=true, mIsFloating=false D/ZrHung.AppEyeUiProbe(14303): stop checker. I/NDOP (14303): listening using window listener I/ViewRootImpl(14303): jank_removeInvalidNode jank list is null E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] D/ZrHung.AppEyeUiProbe(14303): Current Activity:false D/ZrHung.AppEyeUiProbe(14303): not watching, wait. D/ZrHung.AppEyeUiProbe(14303): notify runnable to start. D/ZrHung.AppEyeUiProbe(14303): restart watching I/HwPhoneWindow(14303): updateLayoutParamsColor false mSpecialSet=true, mForcedNavigationBarColor=false, navigationBarColor=fffcfcfc, mNavBarShow=true, mIsFloating=false I/ViewRootImpl(14303): jank_removeInvalidNode all the node in jank list is out of time W/InputMethodManager(14303): startInputReason = 1 I/MediaCodecEncoder(14303): Selected encoder OMX.hisi.video.encoder.avc I/OMXClient(14303): IOmx service obtained I/ACodec (14303): In onAllocateComponent create compenent, codec name: OMX.hisi.video.encoder.avc I/MediaCodec(14303): MediaCodec will operate in async mode W/HwExtendedUtils(14303): hw configLocalPlayBack err = -22 W/OMXUtils(14303): do not know color format 0x7f000001 = 2130706433 W/OMXUtils(14303): do not know color format 0x16 = 22 W/OMXUtils(14303): do not know color format 0x19 = 25 W/OMXUtils(14303): do not know color format 0x1a = 26 W/OMXUtils(14303): do not know color format 0x1b = 27 W/OMXUtils(14303): do not know color format 0x1c = 28 W/OMXUtils(14303): do not know color format 0x10 = 16 W/OMXUtils(14303): do not know color format 0x7f00000f = 2130706447 W/OMXUtils(14303): do not know color format 0xf = 15 W/OMXUtils(14303): do not know color format 0x7f000789 = 2130708361 I/ACodec (14303): setupAVCEncoderParameters with [profile: High] [level: Level51] I/ACodec (14303): [OMX.hisi.video.encoder.avc] cannot encode color aspects. Ignoring. I/ACodec (14303): [OMX.hisi.video.encoder.avc] cannot encode HDR static metadata. Ignoring. I/ACodec (14303): setupVideoEncoder succeeded I/ACodec (14303): codec does not support config priority (err -22) W/OMXUtils(14303): do not know color format 0x7f000789 = 2130708361 I/ACodec (14303): [OMX.hisi.video.encoder.avc] got color aspects (R:0(Unspecified), P:0(Unspecified), M:0(Unspecified), T:0(Unspecified)) err=-1010(??) I/ACodec (14303): [OMX.hisi.video.encoder.avc] using color aspects (R:2(Limited), P:4(BT601_6_525), M:3(BT601_6), T:3(SMPTE170M)) and dataspace 0x103 I/ACodec (14303): [OMX.hisi.video.encoder.avc] got color aspects (R:0(Unspecified), P:0(Unspecified), M:0(Unspecified), T:0(Unspecified)) err=-1010(??) D/mali_winsys(14303): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000 D/ZrHung.AppEyeUiProbe(14303): stop checker. E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] D/ZrHung.AppEyeUiProbe(14303): Current Activity:false D/ZrHung.AppEyeUiProbe(14303): not watching, wait. E/AudioSource(14303): Acoustic echo canceler is not available E/AudioSource(14303): Noise suppressor is not available I/MediaCodecEncoder(14303): Selected encoder OMX.google.aac.encoder I/OMXClient(14303): IOmx service obtained I/ACodec (14303): In onAllocateComponent create compenent, codec name: OMX.google.aac.encoder I/MediaCodec(14303): MediaCodec will operate in async mode W/HwExtendedUtils(14303): hw configLocalPlayBack err = -2147483648 D/ZrHung.AppEyeUiProbe(14303): notify runnable to start. D/ZrHung.AppEyeUiProbe(14303): restart watching I/HwPhoneWindow(14303): updateLayoutParamsColor false mSpecialSet=true, mForcedNavigationBarColor=false, navigationBarColor=fffcfcfc, mNavBarShow=true, mIsFloating=false W/InputMethodManager(14303): startInputReason = 1 I/PermissionManager(14303): camera remind result:true I/CameraManager(14303): open camera: 0, package name: video.api.flutter.livestream.example I/BackgroundPermManager(14303): pkgName: video.api.flutter.livestream.example,pid: 14303 ,uidOf3RdApk: 11283 ,permType: 0 ,permCfg: 1 I/HwCameraUtil(14303): notifySurfaceFlingerCameraStatus : isFront = false , isOpend = true I/CameraController(14303): Supported FPS range list: [[12, 15], [15, 15], [14, 20], [20, 20], [14, 25], [25, 25], [14, 30], [30, 30]] D/CameraController(14303): Selected Fps range [30, 30] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0008] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] D/ZrHung.AppEyeUiProbe(14303): stop checker. W/LiveStreamView(14303): Stream is not running E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] D/ZrHung.AppEyeUiProbe(14303): Current Activity:false D/ZrHung.AppEyeUiProbe(14303): not watching, wait. W/libEGL (14303): EGLNativeWindowType 0x704bff6010 disconnect failed D/MediaCodecEncoder(14303): Not running D/MediaCodecEncoder(14303): Not running D/AudioSource(14303): Not running I/MediaCodecEncoder(14303): Selected encoder OMX.google.aac.encoder I/OMXClient(14303): IOmx service obtained I/ACodec (14303): In onAllocateComponent create compenent, codec name: OMX.google.aac.encoder I/MediaCodec(14303): MediaCodec will operate in async mode W/HwExtendedUtils(14303): hw configLocalPlayBack err = -2147483648 I/MediaCodecEncoder(14303): Selected encoder OMX.hisi.video.encoder.avc I/OMXClient(14303): IOmx service obtained I/ACodec (14303): In onAllocateComponent create compenent, codec name: OMX.hisi.video.encoder.avc I/MediaCodec(14303): MediaCodec will operate in async mode W/HwExtendedUtils(14303): hw configLocalPlayBack err = -22 W/OMXUtils(14303): do not know color format 0x7f000001 = 2130706433 W/OMXUtils(14303): do not know color format 0x16 = 22 W/OMXUtils(14303): do not know color format 0x19 = 25 W/OMXUtils(14303): do not know color format 0x1a = 26 W/OMXUtils(14303): do not know color format 0x1b = 27 W/OMXUtils(14303): do not know color format 0x1c = 28 W/OMXUtils(14303): do not know color format 0x10 = 16 W/OMXUtils(14303): do not know color format 0x7f00000f = 2130706447 W/OMXUtils(14303): do not know color format 0xf = 15 W/OMXUtils(14303): do not know color format 0x7f000789 = 2130708361 I/ACodec (14303): setupAVCEncoderParameters with [profile: High] [level: Level51] I/ACodec (14303): [OMX.hisi.video.encoder.avc] cannot encode color aspects. Ignoring. I/ACodec (14303): [OMX.hisi.video.encoder.avc] cannot encode HDR static metadata. Ignoring. I/ACodec (14303): setupVideoEncoder succeeded I/ACodec (14303): codec does not support config priority (err -22) W/OMXUtils(14303): do not know color format 0x7f000789 = 2130708361 I/ACodec (14303): [OMX.hisi.video.encoder.avc] got color aspects (R:0(Unspecified), P:0(Unspecified), M:0(Unspecified), T:0(Unspecified)) err=-1010(??) I/ACodec (14303): [OMX.hisi.video.encoder.avc] using color aspects (R:2(Limited), P:4(BT601_6_525), M:3(BT601_6), T:3(SMPTE170M)) and dataspace 0x103 I/ACodec (14303): [OMX.hisi.video.encoder.avc] got color aspects (R:0(Unspecified), P:0(Unspecified), M:0(Unspecified), T:0(Unspecified)) err=-1010(??) D/mali_winsys(14303): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000 I/CameraDevice-JV-0(14303): close camera: 0, package name: video.api.flutter.livestream.example I/BackgroundPermManager(14303): pkgName: video.api.flutter.livestream.example,pid: 14303 ,uidOf3RdApk: 11283 ,permType: 0 ,permCfg: 0 I/HwCameraUtil(14303): notifySurfaceFlingerCameraStatus : isFront = false , isOpend = false I/CameraDevice-JV-0(14303): Camera now idle W/libEGL (14303): EGLNativeWindowType 0x704bec8010 disconnect failed I/SurfaceView(14303): delay destroy surface control W/libEGL (14303): EGLNativeWindowType 0x7071f87010 disconnect failed I/SurfaceView(14303): need destroy surface control D/ViewRootImpl[MainActivity](14303): surface should not be released D/ActivityThread(14303): Remove activity client record, r= ActivityRecord{4be91ea token=android.os.BinderProxy@1ad1f71 {video.api.flutter.livestream.example/video.api.flutter.livestream.example.MainActivity}} token= android.os.BinderProxy@1ad1f71 E/ActivityThread(14303): Activity video.api.flutter.livestream.example.MainActivity has leaked IntentReceiver com.github.rmtmckenzie.native_device_orientation.OrientationListener$1@34a32ab that was originally registered here. Are you missing a call to unregisterReceiver()? E/ActivityThread(14303): android.app.IntentReceiverLeaked: Activity video.api.flutter.livestream.example.MainActivity has leaked IntentReceiver com.github.rmtmckenzie.native_device_orientation.OrientationListener$1@34a32ab that was originally registered here. Are you missing a call to unregisterReceiver()? E/ActivityThread(14303): at android.app.LoadedApk$ReceiverDispatcher.<init>(LoadedApk.java:1596) E/ActivityThread(14303): at android.app.LoadedApk.getReceiverDispatcher(LoadedApk.java:1329) E/ActivityThread(14303): at android.app.ContextImpl.registerReceiverInternal(ContextImpl.java:1698) E/ActivityThread(14303): at android.app.ContextImpl.registerReceiver(ContextImpl.java:1671) E/ActivityThread(14303): at android.app.ContextImpl.registerReceiver(ContextImpl.java:1659) E/ActivityThread(14303): at android.content.ContextWrapper.registerReceiver(ContextWrapper.java:623) E/ActivityThread(14303): at com.github.rmtmckenzie.native_device_orientation.OrientationListener.startOrientationListener(OrientationListener.java:39) E/ActivityThread(14303): at com.github.rmtmckenzie.native_device_orientation.NativeDeviceOrientationPlugin.onListen(NativeDeviceOrientationPlugin.java:134) E/ActivityThread(14303): at io.flutter.plugin.common.EventChannel$IncomingStreamRequestHandler.onListen(EventChannel.java:218) E/ActivityThread(14303): at io.flutter.plugin.common.EventChannel$IncomingStreamRequestHandler.onMessage(EventChannel.java:197) E/ActivityThread(14303): at io.flutter.embedding.engine.dart.DartMessenger.invokeHandler(DartMessenger.java:292) E/ActivityThread(14303): at io.flutter.embedding.engine.dart.DartMessenger.lambda$dispatchMessageToQueue$0$io-flutter-embedding-engine-dart-DartMessenger(DartMessenger.java:319) E/ActivityThread(14303): at io.flutter.embedding.engine.dart.DartMessenger$$ExternalSyntheticLambda0.run(Unknown Source:12) E/ActivityThread(14303): at android.os.Handler.handleCallback(Handler.java:907) E/ActivityThread(14303): at android.os.Handler.dispatchMessage(Handler.java:105) E/ActivityThread(14303): at android.os.Looper.loop(Looper.java:216) E/ActivityThread(14303): at android.app.ActivityThread.main(ActivityThread.java:7625) E/ActivityThread(14303): at java.lang.reflect.Method.invoke(Native Method) E/ActivityThread(14303): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:524) E/ActivityThread(14303): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:987) W/ActivityThread(14303): handleWindowVisibility: no activity for token android.os.BinderProxy@e6ae777 D/ZrHung.AppEyeUiProbe(14303): notify runnable to start. D/ZrHung.AppEyeUiProbe(14303): restart watching V/ActivityThread(14303): Skipping new config:{1.0 414mcc6mnc [en_MM,ar_MM,my_MM_#u-nu-latn] ldltr sw360dp w360dp h709dp 480dpi nrml long port finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 0, 0) mAppBounds=Rect(0, 90 - 1080, 2218) mWindowingMode=fullscreen mActivityType=undefined} nonFullScreen=0 suim:1 s.8}, config:{1.0 414mcc6mnc [en_MM,ar_MM,my_MM_#u-nu-latn] ldltr sw360dp w360dp h709dp 480dpi nrml long port finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 0, 0) mAppBounds=Rect(0, 90 - 1080, 2218) mWindowingMode=fullscreen mActivityType=undefined} nonFullScreen=0 suim:1 s.8} for app:video.api.flutter.livestream.example V/ActivityThread(14303): callActivityOnCreate I/HwPhoneWindow(14303): updateLayoutParamsColor false mSpecialSet=false, mForcedNavigationBarColor=false, navigationBarColor=0, mNavBarShow=false, mIsFloating=false I/HwPhoneWindow(14303): updateLayoutParamsColor true mSpecialSet=true, mForcedNavigationBarColor=false, navigationBarColor=fffcfcfc, mNavBarShow=false, mIsFloating=false D/ActivityThread(14303): add activity client record, r= ActivityRecord{b187f68 token=android.os.BinderProxy@e6ae777 {video.api.flutter.livestream.example/video.api.flutter.livestream.example.MainActivity}} token= android.os.BinderProxy@e6ae777 D/ZrHung.AppEyeUiProbe(14303): notify runnable to start. D/OpenGLRenderer(14303): HWUI Binary is enabled D/OpenGLRenderer(14303): HWUI Binary is enabled I/HwPhoneWindow(14303): updateLayoutParamsColor true mSpecialSet=true, mForcedNavigationBarColor=false, navigationBarColor=fffcfcfc, mNavBarShow=true, mIsFloating=false I/HiTouch_HiTouchSensor(14303): enabledInPad = false,isPcCastMode = false D/HiTouch_PressGestureDetector(14303): onAttached, package=video.api.flutter.livestream.example, windowType=1, mHiTouchRestricted=false D/mali_winsys(14303): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000 D/mali_winsys(14303): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000 W/InputMethodManager(14303): startInputReason = 1 E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] I/HwPhoneWindow(14303): updateLayoutParamsColor true mSpecialSet=true, mForcedNavigationBarColor=false, navigationBarColor=fffcfcfc, mNavBarShow=true, mIsFloating=false I/NDOP (14303): listening using window listener I/MediaCodecEncoder(14303): Selected encoder OMX.hisi.video.encoder.avc I/OMXClient(14303): IOmx service obtained I/ACodec (14303): In onAllocateComponent create compenent, codec name: OMX.hisi.video.encoder.avc I/MediaCodec(14303): MediaCodec will operate in async mode W/HwExtendedUtils(14303): hw configLocalPlayBack err = -22 W/OMXUtils(14303): do not know color format 0x7f000001 = 2130706433 W/OMXUtils(14303): do not know color format 0x16 = 22 W/OMXUtils(14303): do not know color format 0x19 = 25 W/OMXUtils(14303): do not know color format 0x1a = 26 W/OMXUtils(14303): do not know color format 0x1b = 27 W/OMXUtils(14303): do not know color format 0x1c = 28 W/OMXUtils(14303): do not know color format 0x10 = 16 W/OMXUtils(14303): do not know color format 0x7f00000f = 2130706447 W/OMXUtils(14303): do not know color format 0xf = 15 W/OMXUtils(14303): do not know color format 0x7f000789 = 2130708361 I/ACodec (14303): setupAVCEncoderParameters with [profile: High] [level: Level51] I/ACodec (14303): [OMX.hisi.video.encoder.avc] cannot encode color aspects. Ignoring. I/ACodec (14303): [OMX.hisi.video.encoder.avc] cannot encode HDR static metadata. Ignoring. I/ACodec (14303): setupVideoEncoder succeeded I/ACodec (14303): codec does not support config priority (err -22) W/OMXUtils(14303): do not know color format 0x7f000789 = 2130708361 I/ACodec (14303): [OMX.hisi.video.encoder.avc] got color aspects (R:0(Unspecified), P:0(Unspecified), M:0(Unspecified), T:0(Unspecified)) err=-1010(??) I/ACodec (14303): [OMX.hisi.video.encoder.avc] using color aspects (R:2(Limited), P:4(BT601_6_525), M:3(BT601_6), T:3(SMPTE170M)) and dataspace 0x103 I/ACodec (14303): [OMX.hisi.video.encoder.avc] got color aspects (R:0(Unspecified), P:0(Unspecified), M:0(Unspecified), T:0(Unspecified)) err=-1010(??) D/mali_winsys(14303): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000 I/ViewRootImpl(14303): jank_removeInvalidNode all the node in jank list is out of time E/AudioSource(14303): Acoustic echo canceler is not available E/AudioSource(14303): Noise suppressor is not available I/MediaCodecEncoder(14303): Selected encoder OMX.google.aac.encoder I/OMXClient(14303): IOmx service obtained I/ACodec (14303): In onAllocateComponent create compenent, codec name: OMX.google.aac.encoder I/MediaCodec(14303): MediaCodec will operate in async mode W/HwExtendedUtils(14303): hw configLocalPlayBack err = -2147483648 I/PermissionManager(14303): camera remind result:true I/CameraManager(14303): open camera: 0, package name: video.api.flutter.livestream.example I/BackgroundPermManager(14303): pkgName: video.api.flutter.livestream.example,pid: 14303 ,uidOf3RdApk: 11283 ,permType: 0 ,permCfg: 1 I/HwCameraUtil(14303): notifySurfaceFlingerCameraStatus : isFront = false , isOpend = true I/CameraController(14303): Supported FPS range list: [[12, 15], [15, 15], [14, 20], [20, 20], [14, 25], [25, 25], [14, 30], [30, 30]] D/CameraController(14303): Selected Fps range [30, 30] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] D/ZrHung.AppEyeUiProbe(14303): stop checker. W/LiveStreamView(14303): Stream is not running W/libEGL (14303): EGLNativeWindowType 0x704befe010 disconnect failed D/MediaCodecEncoder(14303): Not running D/MediaCodecEncoder(14303): Not running D/AudioSource(14303): Not running I/MediaCodecEncoder(14303): Selected encoder OMX.google.aac.encoder I/OMXClient(14303): IOmx service obtained I/ACodec (14303): In onAllocateComponent create compenent, codec name: OMX.google.aac.encoder I/MediaCodec(14303): MediaCodec will operate in async mode W/HwExtendedUtils(14303): hw configLocalPlayBack err = -2147483648 I/MediaCodecEncoder(14303): Selected encoder OMX.hisi.video.encoder.avc I/OMXClient(14303): IOmx service obtained I/ACodec (14303): In onAllocateComponent create compenent, codec name: OMX.hisi.video.encoder.avc I/MediaCodec(14303): MediaCodec will operate in async mode W/HwExtendedUtils(14303): hw configLocalPlayBack err = -22 W/OMXUtils(14303): do not know color format 0x7f000001 = 2130706433 W/OMXUtils(14303): do not know color format 0x16 = 22 W/OMXUtils(14303): do not know color format 0x19 = 25 W/OMXUtils(14303): do not know color format 0x1a = 26 W/OMXUtils(14303): do not know color format 0x1b = 27 W/OMXUtils(14303): do not know color format 0x1c = 28 W/OMXUtils(14303): do not know color format 0x10 = 16 W/OMXUtils(14303): do not know color format 0x7f00000f = 2130706447 W/OMXUtils(14303): do not know color format 0xf = 15 W/OMXUtils(14303): do not know color format 0x7f000789 = 2130708361 I/ACodec (14303): setupAVCEncoderParameters with [profile: High] [level: Level51] I/ACodec (14303): [OMX.hisi.video.encoder.avc] cannot encode color aspects. Ignoring. I/ACodec (14303): [OMX.hisi.video.encoder.avc] cannot encode HDR static metadata. Ignoring. I/ACodec (14303): setupVideoEncoder succeeded I/ACodec (14303): codec does not support config priority (err -22) W/OMXUtils(14303): do not know color format 0x7f000789 = 2130708361 I/ACodec (14303): [OMX.hisi.video.encoder.avc] got color aspects (R:0(Unspecified), P:0(Unspecified), M:0(Unspecified), T:0(Unspecified)) err=-1010(??) I/ACodec (14303): [OMX.hisi.video.encoder.avc] using color aspects (R:2(Limited), P:4(BT601_6_525), M:3(BT601_6), T:3(SMPTE170M)) and dataspace 0x103 I/ACodec (14303): [OMX.hisi.video.encoder.avc] got color aspects (R:0(Unspecified), P:0(Unspecified), M:0(Unspecified), T:0(Unspecified)) err=-1010(??) D/mali_winsys(14303): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000 I/CameraDevice-JV-0(14303): close camera: 0, package name: video.api.flutter.livestream.example I/BackgroundPermManager(14303): pkgName: video.api.flutter.livestream.example,pid: 14303 ,uidOf3RdApk: 11283 ,permType: 0 ,permCfg: 0 I/HwCameraUtil(14303): notifySurfaceFlingerCameraStatus : isFront = false , isOpend = false I/CameraDevice-JV-0(14303): Camera now idle W/libEGL (14303): EGLNativeWindowType 0x704c9fb010 disconnect failed I/SurfaceView(14303): delay destroy surface control W/libEGL (14303): EGLNativeWindowType 0x7067fd2010 disconnect failed I/SurfaceView(14303): need destroy surface control D/ViewRootImpl[MainActivity](14303): surface should not be released D/ActivityThread(14303): Remove activity client record, r= ActivityRecord{b187f68 token=android.os.BinderProxy@e6ae777 {video.api.flutter.livestream.example/video.api.flutter.livestream.example.MainActivity}} token= android.os.BinderProxy@e6ae777 E/ActivityThread(14303): Activity video.api.flutter.livestream.example.MainActivity has leaked IntentReceiver com.github.rmtmckenzie.native_device_orientation.OrientationListener$1@71ed5fe that was originally registered here. Are you missing a call to unregisterReceiver()? E/ActivityThread(14303): android.app.IntentReceiverLeaked: Activity video.api.flutter.livestream.example.MainActivity has leaked IntentReceiver com.github.rmtmckenzie.native_device_orientation.OrientationListener$1@71ed5fe that was originally registered here. Are you missing a call to unregisterReceiver()? E/ActivityThread(14303): at android.app.LoadedApk$ReceiverDispatcher.<init>(LoadedApk.java:1596) E/ActivityThread(14303): at android.app.LoadedApk.getReceiverDispatcher(LoadedApk.java:1329) E/ActivityThread(14303): at android.app.ContextImpl.registerReceiverInternal(ContextImpl.java:1698) E/ActivityThread(14303): at android.app.ContextImpl.registerReceiver(ContextImpl.java:1671) E/ActivityThread(14303): at android.app.ContextImpl.registerReceiver(ContextImpl.java:1659) E/ActivityThread(14303): at android.content.ContextWrapper.registerReceiver(ContextWrapper.java:623) E/ActivityThread(14303): at com.github.rmtmckenzie.native_device_orientation.OrientationListener.startOrientationListener(OrientationListener.java:39) E/ActivityThread(14303): at com.github.rmtmckenzie.native_device_orientation.NativeDeviceOrientationPlugin.onListen(NativeDeviceOrientationPlugin.java:134) E/ActivityThread(14303): at io.flutter.plugin.common.EventChannel$IncomingStreamRequestHandler.onListen(EventChannel.java:218) E/ActivityThread(14303): at io.flutter.plugin.common.EventChannel$IncomingStreamRequestHandler.onMessage(EventChannel.java:197) E/ActivityThread(14303): at io.flutter.embedding.engine.dart.DartMessenger.invokeHandler(DartMessenger.java:292) E/ActivityThread(14303): at io.flutter.embedding.engine.dart.DartMessenger.lambda$dispatchMessageToQueue$0$io-flutter-embedding-engine-dart-DartMessenger(DartMessenger.java:319) E/ActivityThread(14303): at io.flutter.embedding.engine.dart.DartMessenger$$ExternalSyntheticLambda0.run(Unknown Source:12) E/ActivityThread(14303): at android.os.Handler.handleCallback(Handler.java:907) E/ActivityThread(14303): at android.os.Handler.dispatchMessage(Handler.java:105) E/ActivityThread(14303): at android.os.Looper.loop(Looper.java:216) E/ActivityThread(14303): at android.app.ActivityThread.main(ActivityThread.java:7625) E/ActivityThread(14303): at java.lang.reflect.Method.invoke(Native Method) E/ActivityThread(14303): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:524) E/ActivityThread(14303): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:987) E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] D/ZrHung.AppEyeUiProbe(14303): Current Activity:false D/ZrHung.AppEyeUiProbe(14303): not watching, wait. W/ActivityThread(14303): handleWindowVisibility: no activity for token android.os.BinderProxy@cb64044 D/ZrHung.AppEyeUiProbe(14303): notify runnable to start. D/ZrHung.AppEyeUiProbe(14303): restart watching V/ActivityThread(14303): Skipping new config:{1.0 414mcc6mnc [en_MM,ar_MM,my_MM_#u-nu-latn] ldltr sw360dp w360dp h709dp 480dpi nrml long port finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 0, 0) mAppBounds=Rect(0, 90 - 1080, 2218) mWindowingMode=fullscreen mActivityType=undefined} nonFullScreen=0 suim:1 s.8}, config:{1.0 414mcc6mnc [en_MM,ar_MM,my_MM_#u-nu-latn] ldltr sw360dp w360dp h709dp 480dpi nrml long port finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 0, 0) mAppBounds=Rect(0, 90 - 1080, 2218) mWindowingMode=fullscreen mActivityType=undefined} nonFullScreen=0 suim:1 s.8} for app:video.api.flutter.livestream.example V/ActivityThread(14303): callActivityOnCreate I/HwPhoneWindow(14303): updateLayoutParamsColor false mSpecialSet=false, mForcedNavigationBarColor=false, navigationBarColor=0, mNavBarShow=false, mIsFloating=false I/HwPhoneWindow(14303): updateLayoutParamsColor true mSpecialSet=true, mForcedNavigationBarColor=false, navigationBarColor=fffcfcfc, mNavBarShow=false, mIsFloating=false I/HwPhoneWindow(14303): updateLayoutParamsColor true mSpecialSet=true, mForcedNavigationBarColor=false, navigationBarColor=fffcfcfc, mNavBarShow=false, mIsFloating=false D/ActivityThread(14303): add activity client record, r= ActivityRecord{58f7261 token=android.os.BinderProxy@cb64044 {video.api.flutter.livestream.example/video.api.flutter.livestream.example.MainActivity}} token= android.os.BinderProxy@cb64044 D/ZrHung.AppEyeUiProbe(14303): notify runnable to start. D/OpenGLRenderer(14303): HWUI Binary is enabled D/OpenGLRenderer(14303): HWUI Binary is enabled I/HwPhoneWindow(14303): updateLayoutParamsColor true mSpecialSet=true, mForcedNavigationBarColor=false, navigationBarColor=fffcfcfc, mNavBarShow=true, mIsFloating=false I/HiTouch_HiTouchSensor(14303): enabledInPad = false,isPcCastMode = false D/HiTouch_PressGestureDetector(14303): onAttached, package=video.api.flutter.livestream.example, windowType=1, mHiTouchRestricted=false D/mali_winsys(14303): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000 D/mali_winsys(14303): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000 W/InputMethodManager(14303): startInputReason = 1 E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] I/HwPhoneWindow(14303): updateLayoutParamsColor true mSpecialSet=true, mForcedNavigationBarColor=false, navigationBarColor=fffcfcfc, mNavBarShow=true, mIsFloating=false E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] I/NDOP (14303): listening using window listener I/MediaCodecEncoder(14303): Selected encoder OMX.hisi.video.encoder.avc I/OMXClient(14303): IOmx service obtained I/ACodec (14303): In onAllocateComponent create compenent, codec name: OMX.hisi.video.encoder.avc I/MediaCodec(14303): MediaCodec will operate in async mode W/HwExtendedUtils(14303): hw configLocalPlayBack err = -22 W/OMXUtils(14303): do not know color format 0x7f000001 = 2130706433 W/OMXUtils(14303): do not know color format 0x16 = 22 W/OMXUtils(14303): do not know color format 0x19 = 25 W/OMXUtils(14303): do not know color format 0x1a = 26 W/OMXUtils(14303): do not know color format 0x1b = 27 W/OMXUtils(14303): do not know color format 0x1c = 28 W/OMXUtils(14303): do not know color format 0x10 = 16 W/OMXUtils(14303): do not know color format 0x7f00000f = 2130706447 W/OMXUtils(14303): do not know color format 0xf = 15 W/OMXUtils(14303): do not know color format 0x7f000789 = 2130708361 I/ACodec (14303): setupAVCEncoderParameters with [profile: High] [level: Level51] I/ACodec (14303): [OMX.hisi.video.encoder.avc] cannot encode color aspects. Ignoring. I/ACodec (14303): [OMX.hisi.video.encoder.avc] cannot encode HDR static metadata. Ignoring. I/ACodec (14303): setupVideoEncoder succeeded I/ACodec (14303): codec does not support config priority (err -22) W/OMXUtils(14303): do not know color format 0x7f000789 = 2130708361 I/ACodec (14303): [OMX.hisi.video.encoder.avc] got color aspects (R:0(Unspecified), P:0(Unspecified), M:0(Unspecified), T:0(Unspecified)) err=-1010(??) I/ACodec (14303): [OMX.hisi.video.encoder.avc] using color aspects (R:2(Limited), P:4(BT601_6_525), M:3(BT601_6), T:3(SMPTE170M)) and dataspace 0x103 I/ACodec (14303): [OMX.hisi.video.encoder.avc] got color aspects (R:0(Unspecified), P:0(Unspecified), M:0(Unspecified), T:0(Unspecified)) err=-1010(??) D/mali_winsys(14303): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000 I/ViewRootImpl(14303): jank_removeInvalidNode all the node in jank list is out of time E/AudioSource(14303): Acoustic echo canceler is not available E/AudioSource(14303): Noise suppressor is not available I/MediaCodecEncoder(14303): Selected encoder OMX.google.aac.encoder I/OMXClient(14303): IOmx service obtained I/ACodec (14303): In onAllocateComponent create compenent, codec name: OMX.google.aac.encoder I/MediaCodec(14303): MediaCodec will operate in async mode W/HwExtendedUtils(14303): hw configLocalPlayBack err = -2147483648 I/PermissionManager(14303): camera remind result:true I/CameraManager(14303): open camera: 0, package name: video.api.flutter.livestream.example I/BackgroundPermManager(14303): pkgName: video.api.flutter.livestream.example,pid: 14303 ,uidOf3RdApk: 11283 ,permType: 0 ,permCfg: 1 I/HwCameraUtil(14303): notifySurfaceFlingerCameraStatus : isFront = false , isOpend = true I/CameraController(14303): Supported FPS range list: [[12, 15], [15, 15], [14, 20], [20, 20], [14, 25], [25, 25], [14, 30], [30, 30]] D/CameraController(14303): Selected Fps range [30, 30] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] D/ZrHung.AppEyeUiProbe(14303): stop checker. W/LiveStreamView(14303): Stream is not running W/libEGL (14303): EGLNativeWindowType 0x703f426010 disconnect failed D/MediaCodecEncoder(14303): Not running D/MediaCodecEncoder(14303): Not running D/AudioSource(14303): Not running I/MediaCodecEncoder(14303): Selected encoder OMX.google.aac.encoder I/OMXClient(14303): IOmx service obtained I/ACodec (14303): In onAllocateComponent create compenent, codec name: OMX.google.aac.encoder I/MediaCodec(14303): MediaCodec will operate in async mode W/HwExtendedUtils(14303): hw configLocalPlayBack err = -2147483648 I/MediaCodecEncoder(14303): Selected encoder OMX.hisi.video.encoder.avc I/OMXClient(14303): IOmx service obtained I/ACodec (14303): In onAllocateComponent create compenent, codec name: OMX.hisi.video.encoder.avc I/MediaCodec(14303): MediaCodec will operate in async mode W/HwExtendedUtils(14303): hw configLocalPlayBack err = -22 W/OMXUtils(14303): do not know color format 0x7f000001 = 2130706433 W/OMXUtils(14303): do not know color format 0x16 = 22 W/OMXUtils(14303): do not know color format 0x19 = 25 W/OMXUtils(14303): do not know color format 0x1a = 26 W/OMXUtils(14303): do not know color format 0x1b = 27 W/OMXUtils(14303): do not know color format 0x1c = 28 W/OMXUtils(14303): do not know color format 0x10 = 16 W/OMXUtils(14303): do not know color format 0x7f00000f = 2130706447 W/OMXUtils(14303): do not know color format 0xf = 15 W/OMXUtils(14303): do not know color format 0x7f000789 = 2130708361 I/ACodec (14303): setupAVCEncoderParameters with [profile: High] [level: Level51] I/ACodec (14303): [OMX.hisi.video.encoder.avc] cannot encode color aspects. Ignoring. I/ACodec (14303): [OMX.hisi.video.encoder.avc] cannot encode HDR static metadata. Ignoring. I/ACodec (14303): setupVideoEncoder succeeded I/ACodec (14303): codec does not support config priority (err -22) W/OMXUtils(14303): do not know color format 0x7f000789 = 2130708361 I/ACodec (14303): [OMX.hisi.video.encoder.avc] got color aspects (R:0(Unspecified), P:0(Unspecified), M:0(Unspecified), T:0(Unspecified)) err=-1010(??) I/ACodec (14303): [OMX.hisi.video.encoder.avc] using color aspects (R:2(Limited), P:4(BT601_6_525), M:3(BT601_6), T:3(SMPTE170M)) and dataspace 0x103 I/ACodec (14303): [OMX.hisi.video.encoder.avc] got color aspects (R:0(Unspecified), P:0(Unspecified), M:0(Unspecified), T:0(Unspecified)) err=-1010(??) D/mali_winsys(14303): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000 I/CameraDevice-JV-0(14303): close camera: 0, package name: video.api.flutter.livestream.example I/BackgroundPermManager(14303): pkgName: video.api.flutter.livestream.example,pid: 14303 ,uidOf3RdApk: 11283 ,permType: 0 ,permCfg: 0 I/HwCameraUtil(14303): notifySurfaceFlingerCameraStatus : isFront = false , isOpend = false E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] D/ZrHung.AppEyeUiProbe(14303): Current Activity:false D/ZrHung.AppEyeUiProbe(14303): not watching, wait. I/CameraDevice-JV-0(14303): Camera now idle W/libEGL (14303): EGLNativeWindowType 0x704c0cd010 disconnect failed I/SurfaceView(14303): delay destroy surface control W/libEGL (14303): EGLNativeWindowType 0x704c0cc010 disconnect failed I/SurfaceView(14303): need destroy surface control D/ViewRootImpl[MainActivity](14303): surface should not be released D/ActivityThread(14303): Remove activity client record, r= ActivityRecord{58f7261 token=android.os.BinderProxy@cb64044 {video.api.flutter.livestream.example/video.api.flutter.livestream.example.MainActivity}} token= android.os.BinderProxy@cb64044 E/ActivityThread(14303): Activity video.api.flutter.livestream.example.MainActivity has leaked IntentReceiver com.github.rmtmckenzie.native_device_orientation.OrientationListener$1@83a4b3f that was originally registered here. Are you missing a call to unregisterReceiver()? E/ActivityThread(14303): android.app.IntentReceiverLeaked: Activity video.api.flutter.livestream.example.MainActivity has leaked IntentReceiver com.github.rmtmckenzie.native_device_orientation.OrientationListener$1@83a4b3f that was originally registered here. Are you missing a call to unregisterReceiver()? E/ActivityThread(14303): at android.app.LoadedApk$ReceiverDispatcher.<init>(LoadedApk.java:1596) E/ActivityThread(14303): at android.app.LoadedApk.getReceiverDispatcher(LoadedApk.java:1329) E/ActivityThread(14303): at android.app.ContextImpl.registerReceiverInternal(ContextImpl.java:1698) E/ActivityThread(14303): at android.app.ContextImpl.registerReceiver(ContextImpl.java:1671) E/ActivityThread(14303): at android.app.ContextImpl.registerReceiver(ContextImpl.java:1659) E/ActivityThread(14303): at android.content.ContextWrapper.registerReceiver(ContextWrapper.java:623) E/ActivityThread(14303): at com.github.rmtmckenzie.native_device_orientation.OrientationListener.startOrientationListener(OrientationListener.java:39) E/ActivityThread(14303): at com.github.rmtmckenzie.native_device_orientation.NativeDeviceOrientationPlugin.onListen(NativeDeviceOrientationPlugin.java:134) E/ActivityThread(14303): at io.flutter.plugin.common.EventChannel$IncomingStreamRequestHandler.onListen(EventChannel.java:218) E/ActivityThread(14303): at io.flutter.plugin.common.EventChannel$IncomingStreamRequestHandler.onMessage(EventChannel.java:197) E/ActivityThread(14303): at io.flutter.embedding.engine.dart.DartMessenger.invokeHandler(DartMessenger.java:292) E/ActivityThread(14303): at io.flutter.embedding.engine.dart.DartMessenger.lambda$dispatchMessageToQueue$0$io-flutter-embedding-engine-dart-DartMessenger(DartMessenger.java:319) E/ActivityThread(14303): at io.flutter.embedding.engine.dart.DartMessenger$$ExternalSyntheticLambda0.run(Unknown Source:12) E/ActivityThread(14303): at android.os.Handler.handleCallback(Handler.java:907) E/ActivityThread(14303): at android.os.Handler.dispatchMessage(Handler.java:105) E/ActivityThread(14303): at android.os.Looper.loop(Looper.java:216) E/ActivityThread(14303): at android.app.ActivityThread.main(ActivityThread.java:7625) E/ActivityThread(14303): at java.lang.reflect.Method.invoke(Native Method) E/ActivityThread(14303): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:524) E/ActivityThread(14303): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:987) W/ActivityThread(14303): handleWindowVisibility: no activity for token android.os.BinderProxy@b91de0d D/ZrHung.AppEyeUiProbe(14303): notify runnable to start. D/ZrHung.AppEyeUiProbe(14303): restart watching V/ActivityThread(14303): Skipping new config:{1.0 414mcc6mnc [en_MM,ar_MM,my_MM_#u-nu-latn] ldltr sw360dp w360dp h709dp 480dpi nrml long port finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 0, 0) mAppBounds=Rect(0, 90 - 1080, 2218) mWindowingMode=fullscreen mActivityType=undefined} nonFullScreen=0 suim:1 s.8}, config:{1.0 414mcc6mnc [en_MM,ar_MM,my_MM_#u-nu-latn] ldltr sw360dp w360dp h709dp 480dpi nrml long port finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 0, 0) mAppBounds=Rect(0, 90 - 1080, 2218) mWindowingMode=fullscreen mActivityType=undefined} nonFullScreen=0 suim:1 s.8} for app:video.api.flutter.livestream.example V/ActivityThread(14303): callActivityOnCreate I/HwPhoneWindow(14303): updateLayoutParamsColor false mSpecialSet=false, mForcedNavigationBarColor=false, navigationBarColor=0, mNavBarShow=false, mIsFloating=false I/HwPhoneWindow(14303): updateLayoutParamsColor true mSpecialSet=true, mForcedNavigationBarColor=false, navigationBarColor=fffcfcfc, mNavBarShow=false, mIsFloating=false D/ActivityThread(14303): add activity client record, r= ActivityRecord{5ca2ae6 token=android.os.BinderProxy@b91de0d {video.api.flutter.livestream.example/video.api.flutter.livestream.example.MainActivity}} token= android.os.BinderProxy@b91de0d D/ZrHung.AppEyeUiProbe(14303): notify runnable to start. D/OpenGLRenderer(14303): HWUI Binary is enabled D/OpenGLRenderer(14303): HWUI Binary is enabled I/HwPhoneWindow(14303): updateLayoutParamsColor true mSpecialSet=true, mForcedNavigationBarColor=false, navigationBarColor=fffcfcfc, mNavBarShow=true, mIsFloating=false I/HiTouch_HiTouchSensor(14303): enabledInPad = false,isPcCastMode = false D/HiTouch_PressGestureDetector(14303): onAttached, package=video.api.flutter.livestream.example, windowType=1, mHiTouchRestricted=false D/mali_winsys(14303): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000 D/mali_winsys(14303): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000 W/InputMethodManager(14303): startInputReason = 1 E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] I/HwPhoneWindow(14303): updateLayoutParamsColor true mSpecialSet=true, mForcedNavigationBarColor=false, navigationBarColor=fffcfcfc, mNavBarShow=true, mIsFloating=false E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] I/NDOP (14303): listening using window listener I/MediaCodecEncoder(14303): Selected encoder OMX.hisi.video.encoder.avc I/OMXClient(14303): IOmx service obtained E/ACodec (14303): Unable to instantiate codec 'OMX.hisi.video.encoder.avc' with err 0xfffffff4. E/ACodec (14303): signalError(omxError 0xfffffff4, internalError -12) E/MediaCodec(14303): Codec reported err 0xfffffff4, actionCode 0, while in state 1 W/MediaCodec-JNI(14303): try to release MediaCodec from JMediaCodec::~JMediaCodec()... W/MediaCodec-JNI(14303): done releasing MediaCodec from JMediaCodec::~JMediaCodec(). I/MediaCodecEncoder(14303): Fallback without profile and level (reason: android.media.MediaCodec$CodecException: Failed to initialize OMX.hisi.video.encoder.avc, error 0xfffffff4) I/MediaCodecEncoder(14303): Selected encoder OMX.hisi.video.encoder.avc I/OMXClient(14303): IOmx service obtained E/ACodec (14303): Unable to instantiate codec 'OMX.hisi.video.encoder.avc' with err 0xfffffff4. E/ACodec (14303): signalError(omxError 0xfffffff4, internalError -12) E/MediaCodec(14303): Codec reported err 0xfffffff4, actionCode 0, while in state 1 W/MediaCodec-JNI(14303): try to release MediaCodec from JMediaCodec::~JMediaCodec()... W/MediaCodec-JNI(14303): done releasing MediaCodec from JMediaCodec::~JMediaCodec(). E/MediaCodecEncoder(14303): Failed to create encoder for VideoConfig(mimeType='video/avc', startBitrate=1000000, resolution=640x360, fps=30, profile=8, level=32768) D/AudioSource(14303): Not running I/MediaCodecEncoder(14303): Selected encoder OMX.hisi.video.encoder.avc I/OMXClient(14303): IOmx service obtained E/ACodec (14303): Unable to instantiate codec 'OMX.hisi.video.encoder.avc' with err 0xfffffff4. E/ACodec (14303): signalError(omxError 0xfffffff4, internalError -12) E/MediaCodec(14303): Codec reported err 0xfffffff4, actionCode 0, while in state 1 W/MediaCodec-JNI(14303): try to release MediaCodec from JMediaCodec::~JMediaCodec()... W/MediaCodec-JNI(14303): done releasing MediaCodec from JMediaCodec::~JMediaCodec(). I/MediaCodecEncoder(14303): Fallback without profile and level (reason: android.media.MediaCodec$CodecException: Failed to initialize OMX.hisi.video.encoder.avc, error 0xfffffff4) I/MediaCodecEncoder(14303): Selected encoder OMX.hisi.video.encoder.avc I/OMXClient(14303): IOmx service obtained E/ACodec (14303): Unable to instantiate codec 'OMX.hisi.video.encoder.avc' with err 0xfffffff4. E/ACodec (14303): signalError(omxError 0xfffffff4, internalError -12) E/MediaCodec(14303): Codec reported err 0xfffffff4, actionCode 0, while in state 1 W/MediaCodec-JNI(14303): try to release MediaCodec from JMediaCodec::~JMediaCodec()... W/MediaCodec-JNI(14303): done releasing MediaCodec from JMediaCodec::~JMediaCodec(). E/MediaCodecEncoder(14303): Failed to create encoder for VideoConfig(mimeType='video/avc', startBitrate=1000000, resolution=640x360, fps=30, profile=8, level=32768) I/ViewRootImpl(14303): jank_removeInvalidNode all the node in jank list is out of time E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] D/ZrHung.AppEyeUiProbe(14303): stop checker. E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] D/ZrHung.AppEyeUiProbe(14303): Current Activity:false D/ZrHung.AppEyeUiProbe(14303): not watching, wait. W/libEGL (14303): EGLNativeWindowType 0x7041e29010 disconnect failed I/SurfaceView(14303): delay destroy surface control W/libEGL (14303): EGLNativeWindowType 0x70426ec010 disconnect failed I/SurfaceView(14303): need destroy surface control D/ViewRootImpl[MainActivity](14303): surface should not be released D/ActivityThread(14303): Remove activity client record, r= ActivityRecord{5ca2ae6 token=android.os.BinderProxy@b91de0d {video.api.flutter.livestream.example/video.api.flutter.livestream.example.MainActivity}} token= android.os.BinderProxy@b91de0d W/ActivityThread(14303): handleWindowVisibility: no activity for token android.os.BinderProxy@fd243b E/ActivityThread(14303): Activity video.api.flutter.livestream.example.MainActivity has leaked IntentReceiver com.github.rmtmckenzie.native_device_orientation.OrientationListener$1@f3e06c that was originally registered here. Are you missing a call to unregisterReceiver()? E/ActivityThread(14303): android.app.IntentReceiverLeaked: Activity video.api.flutter.livestream.example.MainActivity has leaked IntentReceiver com.github.rmtmckenzie.native_device_orientation.OrientationListener$1@f3e06c that was originally registered here. Are you missing a call to unregisterReceiver()? E/ActivityThread(14303): at android.app.LoadedApk$ReceiverDispatcher.<init>(LoadedApk.java:1596) E/ActivityThread(14303): at android.app.LoadedApk.getReceiverDispatcher(LoadedApk.java:1329) E/ActivityThread(14303): at android.app.ContextImpl.registerReceiverInternal(ContextImpl.java:1698) E/ActivityThread(14303): at android.app.ContextImpl.registerReceiver(ContextImpl.java:1671) E/ActivityThread(14303): at android.app.ContextImpl.registerReceiver(ContextImpl.java:1659) E/ActivityThread(14303): at android.content.ContextWrapper.registerReceiver(ContextWrapper.java:623) E/ActivityThread(14303): at com.github.rmtmckenzie.native_device_orientation.OrientationListener.startOrientationListener(OrientationListener.java:39) E/ActivityThread(14303): at com.github.rmtmckenzie.native_device_orientation.NativeDeviceOrientationPlugin.onListen(NativeDeviceOrientationPlugin.java:134) E/ActivityThread(14303): at io.flutter.plugin.common.EventChannel$IncomingStreamRequestHandler.onListen(EventChannel.java:218) E/ActivityThread(14303): at io.flutter.plugin.common.EventChannel$IncomingStreamRequestHandler.onMessage(EventChannel.java:197) E/ActivityThread(14303): at io.flutter.embedding.engine.dart.DartMessenger.invokeHandler(DartMessenger.java:292) E/ActivityThread(14303): at io.flutter.embedding.engine.dart.DartMessenger.lambda$dispatchMessageToQueue$0$io-flutter-embedding-engine-dart-DartMessenger(DartMessenger.java:319) E/ActivityThread(14303): at io.flutter.embedding.engine.dart.DartMessenger$$ExternalSyntheticLambda0.run(Unknown Source:12) E/ActivityThread(14303): at android.os.Handler.handleCallback(Handler.java:907) E/ActivityThread(14303): at android.os.Handler.dispatchMessage(Handler.java:105) E/ActivityThread(14303): at android.os.Looper.loop(Looper.java:216) E/ActivityThread(14303): at android.app.ActivityThread.main(ActivityThread.java:7625) E/ActivityThread(14303): at java.lang.reflect.Method.invoke(Native Method) E/ActivityThread(14303): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:524) E/ActivityThread(14303): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:987) D/ZrHung.AppEyeUiProbe(14303): notify runnable to start. D/ZrHung.AppEyeUiProbe(14303): restart watching V/ActivityThread(14303): Skipping new config:{1.0 414mcc6mnc [en_MM,ar_MM,my_MM_#u-nu-latn] ldltr sw360dp w360dp h709dp 480dpi nrml long port finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 0, 0) mAppBounds=Rect(0, 90 - 1080, 2218) mWindowingMode=fullscreen mActivityType=undefined} nonFullScreen=0 suim:1 s.8}, config:{1.0 414mcc6mnc [en_MM,ar_MM,my_MM_#u-nu-latn] ldltr sw360dp w360dp h709dp 480dpi nrml long port finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 0, 0) mAppBounds=Rect(0, 90 - 1080, 2218) mWindowingMode=fullscreen mActivityType=undefined} nonFullScreen=0 suim:1 s.8} for app:video.api.flutter.livestream.example V/ActivityThread(14303): callActivityOnCreate I/HwPhoneWindow(14303): updateLayoutParamsColor false mSpecialSet=false, mForcedNavigationBarColor=false, navigationBarColor=0, mNavBarShow=false, mIsFloating=false I/HwPhoneWindow(14303): updateLayoutParamsColor true mSpecialSet=true, mForcedNavigationBarColor=false, navigationBarColor=fffcfcfc, mNavBarShow=false, mIsFloating=false D/ActivityThread(14303): add activity client record, r= ActivityRecord{82786a5 token=android.os.BinderProxy@fd243b {video.api.flutter.livestream.example/video.api.flutter.livestream.example.MainActivity}} token= android.os.BinderProxy@fd243b D/ZrHung.AppEyeUiProbe(14303): notify runnable to start. D/OpenGLRenderer(14303): HWUI Binary is enabled D/OpenGLRenderer(14303): HWUI Binary is enabled I/HwPhoneWindow(14303): updateLayoutParamsColor true mSpecialSet=true, mForcedNavigationBarColor=false, navigationBarColor=fffcfcfc, mNavBarShow=true, mIsFloating=false I/HiTouch_HiTouchSensor(14303): enabledInPad = false,isPcCastMode = false D/HiTouch_PressGestureDetector(14303): onAttached, package=video.api.flutter.livestream.example, windowType=1, mHiTouchRestricted=false D/mali_winsys(14303): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000 D/mali_winsys(14303): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000 W/InputMethodManager(14303): startInputReason = 1 E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] I/HwPhoneWindow(14303): updateLayoutParamsColor true mSpecialSet=true, mForcedNavigationBarColor=false, navigationBarColor=fffcfcfc, mNavBarShow=true, mIsFloating=false I/MediaCodecEncoder(14303): Selected encoder OMX.hisi.video.encoder.avc I/OMXClient(14303): IOmx service obtained E/ACodec (14303): Unable to instantiate codec 'OMX.hisi.video.encoder.avc' with err 0xfffffff4. E/ACodec (14303): signalError(omxError 0xfffffff4, internalError -12) E/MediaCodec(14303): Codec reported err 0xfffffff4, actionCode 0, while in state 1 W/MediaCodec-JNI(14303): try to release MediaCodec from JMediaCodec::~JMediaCodec()... W/MediaCodec-JNI(14303): done releasing MediaCodec from JMediaCodec::~JMediaCodec(). I/MediaCodecEncoder(14303): Fallback without profile and level (reason: android.media.MediaCodec$CodecException: Failed to initialize OMX.hisi.video.encoder.avc, error 0xfffffff4) I/MediaCodecEncoder(14303): Selected encoder OMX.hisi.video.encoder.avc I/OMXClient(14303): IOmx service obtained E/ACodec (14303): Unable to instantiate codec 'OMX.hisi.video.encoder.avc' with err 0xfffffff4. E/ACodec (14303): signalError(omxError 0xfffffff4, internalError -12) E/MediaCodec(14303): Codec reported err 0xfffffff4, actionCode 0, while in state 1 W/MediaCodec-JNI(14303): try to release MediaCodec from JMediaCodec::~JMediaCodec()... W/MediaCodec-JNI(14303): done releasing MediaCodec from JMediaCodec::~JMediaCodec(). E/MediaCodecEncoder(14303): Failed to create encoder for VideoConfig(mimeType='video/avc', startBitrate=1000000, resolution=640x360, fps=30, profile=8, level=32768) D/AudioSource(14303): Not running I/MediaCodecEncoder(14303): Selected encoder OMX.hisi.video.encoder.avc I/OMXClient(14303): IOmx service obtained E/ACodec (14303): Unable to instantiate codec 'OMX.hisi.video.encoder.avc' with err 0xfffffff4. E/ACodec (14303): signalError(omxError 0xfffffff4, internalError -12) E/MediaCodec(14303): Codec reported err 0xfffffff4, actionCode 0, while in state 1 W/MediaCodec-JNI(14303): try to release MediaCodec from JMediaCodec::~JMediaCodec()... W/MediaCodec-JNI(14303): done releasing MediaCodec from JMediaCodec::~JMediaCodec(). I/MediaCodecEncoder(14303): Fallback without profile and level (reason: android.media.MediaCodec$CodecException: Failed to initialize OMX.hisi.video.encoder.avc, error 0xfffffff4) I/MediaCodecEncoder(14303): Selected encoder OMX.hisi.video.encoder.avc I/OMXClient(14303): IOmx service obtained E/ACodec (14303): Unable to instantiate codec 'OMX.hisi.video.encoder.avc' with err 0xfffffff4. E/ACodec (14303): signalError(omxError 0xfffffff4, internalError -12) E/MediaCodec(14303): Codec reported err 0xfffffff4, actionCode 0, while in state 1 W/MediaCodec-JNI(14303): try to release MediaCodec from JMediaCodec::~JMediaCodec()... W/MediaCodec-JNI(14303): done releasing MediaCodec from JMediaCodec::~JMediaCodec(). E/MediaCodecEncoder(14303): Failed to create encoder for VideoConfig(mimeType='video/avc', startBitrate=1000000, resolution=640x360, fps=30, profile=8, level=32768) I/NDOP (14303): listening using window listener I/ViewRootImpl(14303): jank_removeInvalidNode all the node in jank list is out of time E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] D/ZrHung.AppEyeUiProbe(14303): stop checker. W/libEGL (14303): EGLNativeWindowType 0x70385a3010 disconnect failed I/SurfaceView(14303): delay destroy surface control W/libEGL (14303): EGLNativeWindowType 0x703859d010 disconnect failed I/SurfaceView(14303): need destroy surface control D/ViewRootImpl[MainActivity](14303): surface should not be released E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] D/ZrHung.AppEyeUiProbe(14303): Current Activity:false D/ZrHung.AppEyeUiProbe(14303): not watching, wait. D/ActivityThread(14303): Remove activity client record, r= ActivityRecord{82786a5 token=android.os.BinderProxy@fd243b {video.api.flutter.livestream.example/video.api.flutter.livestream.example.MainActivity}} token= android.os.BinderProxy@fd243b E/ActivityThread(14303): Activity video.api.flutter.livestream.example.MainActivity has leaked IntentReceiver com.github.rmtmckenzie.native_device_orientation.OrientationListener$1@32f9ea0 that was originally registered here. Are you missing a call to unregisterReceiver()? E/ActivityThread(14303): android.app.IntentReceiverLeaked: Activity video.api.flutter.livestream.example.MainActivity has leaked IntentReceiver com.github.rmtmckenzie.native_device_orientation.OrientationListener$1@32f9ea0 that was originally registered here. Are you missing a call to unregisterReceiver()? E/ActivityThread(14303): at android.app.LoadedApk$ReceiverDispatcher.<init>(LoadedApk.java:1596) E/ActivityThread(14303): at android.app.LoadedApk.getReceiverDispatcher(LoadedApk.java:1329) E/ActivityThread(14303): at android.app.ContextImpl.registerReceiverInternal(ContextImpl.java:1698) E/ActivityThread(14303): at android.app.ContextImpl.registerReceiver(ContextImpl.java:1671) E/ActivityThread(14303): at android.app.ContextImpl.registerReceiver(ContextImpl.java:1659) E/ActivityThread(14303): at android.content.ContextWrapper.registerReceiver(ContextWrapper.java:623) E/ActivityThread(14303): at com.github.rmtmckenzie.native_device_orientation.OrientationListener.startOrientationListener(OrientationListener.java:39) E/ActivityThread(14303): at com.github.rmtmckenzie.native_device_orientation.NativeDeviceOrientationPlugin.onListen(NativeDeviceOrientationPlugin.java:134) E/ActivityThread(14303): at io.flutter.plugin.common.EventChannel$IncomingStreamRequestHandler.onListen(EventChannel.java:218) E/ActivityThread(14303): at io.flutter.plugin.common.EventChannel$IncomingStreamRequestHandler.onMessage(EventChannel.java:197) E/ActivityThread(14303): at io.flutter.embedding.engine.dart.DartMessenger.invokeHandler(DartMessenger.java:292) E/ActivityThread(14303): at io.flutter.embedding.engine.dart.DartMessenger.lambda$dispatchMessageToQueue$0$io-flutter-embedding-engine-dart-DartMessenger(DartMessenger.java:319) E/ActivityThread(14303): at io.flutter.embedding.engine.dart.DartMessenger$$ExternalSyntheticLambda0.run(Unknown Source:12) E/ActivityThread(14303): at android.os.Handler.handleCallback(Handler.java:907) E/ActivityThread(14303): at android.os.Handler.dispatchMessage(Handler.java:105) E/ActivityThread(14303): at android.os.Looper.loop(Looper.java:216) E/ActivityThread(14303): at android.app.ActivityThread.main(ActivityThread.java:7625) E/ActivityThread(14303): at java.lang.reflect.Method.invoke(Native Method) E/ActivityThread(14303): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:524) E/ActivityThread(14303): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:987) E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0008] W/ActivityThread(14303): handleWindowVisibility: no activity for token android.os.BinderProxy@44cceff D/ZrHung.AppEyeUiProbe(14303): notify runnable to start. D/ZrHung.AppEyeUiProbe(14303): restart watching V/ActivityThread(14303): Skipping new config:{1.0 414mcc6mnc [en_MM,ar_MM,my_MM_#u-nu-latn] ldltr sw360dp w360dp h709dp 480dpi nrml long port finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 0, 0) mAppBounds=Rect(0, 90 - 1080, 2218) mWindowingMode=fullscreen mActivityType=undefined} nonFullScreen=0 suim:1 s.8}, config:{1.0 414mcc6mnc [en_MM,ar_MM,my_MM_#u-nu-latn] ldltr sw360dp w360dp h709dp 480dpi nrml long port finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 0, 0) mAppBounds=Rect(0, 90 - 1080, 2218) mWindowingMode=fullscreen mActivityType=undefined} nonFullScreen=0 suim:1 s.8} for app:video.api.flutter.livestream.example V/ActivityThread(14303): callActivityOnCreate I/HwPhoneWindow(14303): updateLayoutParamsColor false mSpecialSet=false, mForcedNavigationBarColor=false, navigationBarColor=0, mNavBarShow=false, mIsFloating=false I/HwPhoneWindow(14303): updateLayoutParamsColor true mSpecialSet=true, mForcedNavigationBarColor=false, navigationBarColor=fffcfcfc, mNavBarShow=false, mIsFloating=false D/ActivityThread(14303): add activity client record, r= ActivityRecord{337efd0 token=android.os.BinderProxy@44cceff {video.api.flutter.livestream.example/video.api.flutter.livestream.example.MainActivity}} token= android.os.BinderProxy@44cceff D/ZrHung.AppEyeUiProbe(14303): notify runnable to start. D/OpenGLRenderer(14303): HWUI Binary is enabled D/OpenGLRenderer(14303): HWUI Binary is enabled I/HiTouch_HiTouchSensor(14303): enabledInPad = false,isPcCastMode = false D/HiTouch_PressGestureDetector(14303): onAttached, package=video.api.flutter.livestream.example, windowType=1, mHiTouchRestricted=false I/HwPhoneWindow(14303): updateLayoutParamsColor true mSpecialSet=true, mForcedNavigationBarColor=false, navigationBarColor=fffcfcfc, mNavBarShow=true, mIsFloating=false D/mali_winsys(14303): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000 D/mali_winsys(14303): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000 W/InputMethodManager(14303): startInputReason = 1 E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] I/HwPhoneWindow(14303): updateLayoutParamsColor true mSpecialSet=true, mForcedNavigationBarColor=false, navigationBarColor=fffcfcfc, mNavBarShow=true, mIsFloating=false I/NDOP (14303): listening using window listener E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] I/MediaCodecEncoder(14303): Selected encoder OMX.hisi.video.encoder.avc I/OMXClient(14303): IOmx service obtained E/ACodec (14303): Unable to instantiate codec 'OMX.hisi.video.encoder.avc' with err 0xfffffff4. E/ACodec (14303): signalError(omxError 0xfffffff4, internalError -12) E/MediaCodec(14303): Codec reported err 0xfffffff4, actionCode 0, while in state 1 W/MediaCodec-JNI(14303): try to release MediaCodec from JMediaCodec::~JMediaCodec()... W/MediaCodec-JNI(14303): done releasing MediaCodec from JMediaCodec::~JMediaCodec(). I/MediaCodecEncoder(14303): Fallback without profile and level (reason: android.media.MediaCodec$CodecException: Failed to initialize OMX.hisi.video.encoder.avc, error 0xfffffff4) I/MediaCodecEncoder(14303): Selected encoder OMX.hisi.video.encoder.avc I/OMXClient(14303): IOmx service obtained E/ACodec (14303): Unable to instantiate codec 'OMX.hisi.video.encoder.avc' with err 0xfffffff4. E/ACodec (14303): signalError(omxError 0xfffffff4, internalError -12) E/MediaCodec(14303): Codec reported err 0xfffffff4, actionCode 0, while in state 1 W/MediaCodec-JNI(14303): try to release MediaCodec from JMediaCodec::~JMediaCodec()... W/MediaCodec-JNI(14303): done releasing MediaCodec from JMediaCodec::~JMediaCodec(). E/MediaCodecEncoder(14303): Failed to create encoder for VideoConfig(mimeType='video/avc', startBitrate=1000000, resolution=640x360, fps=30, profile=8, level=32768) D/AudioSource(14303): Not running I/MediaCodecEncoder(14303): Selected encoder OMX.hisi.video.encoder.avc I/OMXClient(14303): IOmx service obtained E/ACodec (14303): Unable to instantiate codec 'OMX.hisi.video.encoder.avc' with err 0xfffffff4. E/ACodec (14303): signalError(omxError 0xfffffff4, internalError -12) E/MediaCodec(14303): Codec reported err 0xfffffff4, actionCode 0, while in state 1 W/MediaCodec-JNI(14303): try to release MediaCodec from JMediaCodec::~JMediaCodec()... W/MediaCodec-JNI(14303): done releasing MediaCodec from JMediaCodec::~JMediaCodec(). I/MediaCodecEncoder(14303): Fallback without profile and level (reason: android.media.MediaCodec$CodecException: Failed to initialize OMX.hisi.video.encoder.avc, error 0xfffffff4) I/MediaCodecEncoder(14303): Selected encoder OMX.hisi.video.encoder.avc I/OMXClient(14303): IOmx service obtained E/ACodec (14303): Unable to instantiate codec 'OMX.hisi.video.encoder.avc' with err 0xfffffff4. E/ACodec (14303): signalError(omxError 0xfffffff4, internalError -12) E/MediaCodec(14303): Codec reported err 0xfffffff4, actionCode 0, while in state 1 W/MediaCodec-JNI(14303): try to release MediaCodec from JMediaCodec::~JMediaCodec()... W/MediaCodec-JNI(14303): done releasing MediaCodec from JMediaCodec::~JMediaCodec(). E/MediaCodecEncoder(14303): Failed to create encoder for VideoConfig(mimeType='video/avc', startBitrate=1000000, resolution=640x360, fps=30, profile=8, level=32768) I/ViewRootImpl(14303): jank_removeInvalidNode all the node in jank list is out of time E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] I/chatty (14303): uid=11283(video.api.flutter.livestream.example) Thread-2 identical 1 line E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ (14303): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102]

@ThibaultBee
Copy link
Member

Ok, stopPreview seems to call startStream internaly.
I am going to make a fix in the native library instead.

@ting28418
Copy link
Author

Ok Let me know after fix thanks

@ThibaultBee
Copy link
Member

Hi,
Could you test again on the main branch?

@ting28418
Copy link
Author

Hi,

Sorry for late reply still show error here is log

Launching lib\main.dart on INE LX2r in debug mode... √ Built build\app\outputs\flutter-apk\app-debug.apk. D/AwareBitmapCacher( 5917): handleInit switch not opened pid=5917 E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] I/estream.exampl( 5917): Starting profile saver IsSaveProfileNow end. E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] D/ProfileInstaller( 5917): Installing profile for video.api.flutter.livestream.example E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] Connecting to VM Service at ws://127.0.0.1:52813/zWPVRgKuTgY=/ws E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] I/CameraManagerGlobal( 5917): Connecting to camera service E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] W/VideoCapabilities( 5917): Unrecognized profile 4 for video/hevc W/VideoCapabilities( 5917): Unrecognized profile/level 0/0 for video/mpeg2 W/VideoCapabilities( 5917): Unrecognized profile/level 0/2 for video/mpeg2 W/VideoCapabilities( 5917): Unrecognized profile/level 0/3 for video/mpeg2 I/VideoCapabilities( 5917): Unsupported profile 5 for video/mpeg2 I/chatty ( 5917): uid=11302(video.api.flutter.livestream.example) identical 2 lines I/VideoCapabilities( 5917): Unsupported profile 5 for video/mpeg2 W/VideoCapabilities( 5917): Unrecognized profile/level 1/32 for video/mp4v-es W/VideoCapabilities( 5917): Unrecognized profile/level 32768/2 for video/mp4v-es W/VideoCapabilities( 5917): Unrecognized profile/level 32768/64 for video/mp4v-es I/VideoCapabilities( 5917): Unsupported profile 4 for video/mp4v-es I/HwPhoneWindow( 5917): updateLayoutParamsColor true mSpecialSet=true, mForcedNavigationBarColor=false, navigationBarColor=fffcfcfc, mNavBarShow=true, mIsFloating=false E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] I/NDOP ( 5917): listening using window listener D/ZrHung.AppEyeUiProbe( 5917): stop checker. E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] D/ZrHung.AppEyeUiProbe( 5917): Current Activity:false D/ZrHung.AppEyeUiProbe( 5917): not watching, wait. I/ViewRootImpl( 5917): jank_removeInvalidNode jank list is null W/InputMethodManager( 5917): startInputReason = 1 D/ZrHung.AppEyeUiProbe( 5917): notify runnable to start. D/ZrHung.AppEyeUiProbe( 5917): restart watching I/HwPhoneWindow( 5917): updateLayoutParamsColor false mSpecialSet=true, mForcedNavigationBarColor=false, navigationBarColor=fffcfcfc, mNavBarShow=true, mIsFloating=false I/MediaCodecEncoder( 5917): Selected encoder OMX.hisi.video.encoder.avc I/OMXClient( 5917): IOmx service obtained I/ACodec ( 5917): In onAllocateComponent create compenent, codec name: OMX.hisi.video.encoder.avc I/MediaCodec( 5917): MediaCodec will operate in async mode W/HwExtendedUtils( 5917): hw configLocalPlayBack err = -22 W/OMXUtils( 5917): do not know color format 0x7f000001 = 2130706433 W/OMXUtils( 5917): do not know color format 0x16 = 22 W/OMXUtils( 5917): do not know color format 0x19 = 25 W/OMXUtils( 5917): do not know color format 0x1a = 26 W/OMXUtils( 5917): do not know color format 0x1b = 27 W/OMXUtils( 5917): do not know color format 0x1c = 28 W/OMXUtils( 5917): do not know color format 0x10 = 16 W/OMXUtils( 5917): do not know color format 0x7f00000f = 2130706447 W/OMXUtils( 5917): do not know color format 0xf = 15 W/OMXUtils( 5917): do not know color format 0x7f000789 = 2130708361 I/ACodec ( 5917): setupAVCEncoderParameters with [profile: High] [level: Level51] I/ACodec ( 5917): [OMX.hisi.video.encoder.avc] cannot encode color aspects. Ignoring. I/ACodec ( 5917): [OMX.hisi.video.encoder.avc] cannot encode HDR static metadata. Ignoring. I/ACodec ( 5917): setupVideoEncoder succeeded I/ACodec ( 5917): codec does not support config priority (err -22) W/OMXUtils( 5917): do not know color format 0x7f000789 = 2130708361 I/ACodec ( 5917): [OMX.hisi.video.encoder.avc] got color aspects (R:0(Unspecified), P:0(Unspecified), M:0(Unspecified), T:0(Unspecified)) err=-1010(??) I/ACodec ( 5917): [OMX.hisi.video.encoder.avc] using color aspects (R:2(Limited), P:4(BT601_6_525), M:3(BT601_6), T:3(SMPTE170M)) and dataspace 0x103 I/ACodec ( 5917): [OMX.hisi.video.encoder.avc] got color aspects (R:0(Unspecified), P:0(Unspecified), M:0(Unspecified), T:0(Unspecified)) err=-1010(??) D/mali_winsys( 5917): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000 D/ZrHung.AppEyeUiProbe( 5917): stop checker. E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] D/ZrHung.AppEyeUiProbe( 5917): Current Activity:false D/ZrHung.AppEyeUiProbe( 5917): not watching, wait. W/AudioSource( 5917): Acoustic echo canceler is not available W/AudioSource( 5917): Noise suppressor is not available I/MediaCodecEncoder( 5917): Selected encoder OMX.google.aac.encoder I/OMXClient( 5917): IOmx service obtained I/ACodec ( 5917): In onAllocateComponent create compenent, codec name: OMX.google.aac.encoder I/MediaCodec( 5917): MediaCodec will operate in async mode W/HwExtendedUtils( 5917): hw configLocalPlayBack err = -2147483648 D/ZrHung.AppEyeUiProbe( 5917): notify runnable to start. D/ZrHung.AppEyeUiProbe( 5917): restart watching I/HwPhoneWindow( 5917): updateLayoutParamsColor false mSpecialSet=true, mForcedNavigationBarColor=false, navigationBarColor=fffcfcfc, mNavBarShow=true, mIsFloating=false W/InputMethodManager( 5917): startInputReason = 1 I/PermissionManager( 5917): camera remind result:true I/CameraManager( 5917): open camera: 0, package name: video.api.flutter.livestream.example I/BackgroundPermManager( 5917): pkgName: video.api.flutter.livestream.example,pid: 5917 ,uidOf3RdApk: 11302 ,permType: 0 ,permCfg: 1 I/HwCameraUtil( 5917): notifySurfaceFlingerCameraStatus : isFront = false , isOpend = true I/CameraController( 5917): Supported FPS range list: [[12, 15], [15, 15], [14, 20], [20, 20], [14, 25], [25, 25], [14, 30], [30, 30]] D/CameraController( 5917): Selected Fps range [30, 30] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] D/ZrHung.AppEyeUiProbe( 5917): stop checker. W/BaseStreamer( 5917): Stream is not running W/BaseStreamer( 5917): Stream is not running I/CameraDevice-JV-0( 5917): close camera: 0, package name: video.api.flutter.livestream.example I/BackgroundPermManager( 5917): pkgName: video.api.flutter.livestream.example,pid: 5917 ,uidOf3RdApk: 11302 ,permType: 0 ,permCfg: 0 I/HwCameraUtil( 5917): notifySurfaceFlingerCameraStatus : isFront = false , isOpend = false E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] D/ZrHung.AppEyeUiProbe( 5917): Current Activity:false D/ZrHung.AppEyeUiProbe( 5917): not watching, wait. I/CameraDevice-JV-0( 5917): Camera now idle W/libEGL ( 5917): EGLNativeWindowType 0x73dcab5010 disconnect failed I/SurfaceView( 5917): delay destroy surface control W/libEGL ( 5917): EGLNativeWindowType 0x73fa3b3010 disconnect failed I/SurfaceView( 5917): need destroy surface control D/ViewRootImpl[MainActivity]( 5917): surface should not be released D/ActivityThread( 5917): Remove activity client record, r= ActivityRecord{8fc4766 token=android.os.BinderProxy@c56ba1d {video.api.flutter.livestream.example/video.api.flutter.livestream.example.MainActivity}} token= android.os.BinderProxy@c56ba1d W/FlutterJNI( 5917): Tried to send a platform message response, but FlutterJNI was detached from native C++. Could not send. Response ID: 22 W/ActivityThread( 5917): handleWindowVisibility: no activity for token android.os.BinderProxy@8b962b2 D/ZrHung.AppEyeUiProbe( 5917): notify runnable to start. D/ZrHung.AppEyeUiProbe( 5917): restart watching V/ActivityThread( 5917): Skipping new config:{1.0 414mcc6mnc [en_MM,ar_MM,my_MM_#u-nu-latn] ldltr sw360dp w360dp h709dp 480dpi nrml long port finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 0, 0) mAppBounds=Rect(0, 90 - 1080, 2218) mWindowingMode=fullscreen mActivityType=undefined} nonFullScreen=0 suim:1 s.396}, config:{1.0 414mcc6mnc [en_MM,ar_MM,my_MM_#u-nu-latn] ldltr sw360dp w360dp h709dp 480dpi nrml long port finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 0, 0) mAppBounds=Rect(0, 90 - 1080, 2218) mWindowingMode=fullscreen mActivityType=undefined} nonFullScreen=0 suim:1 s.396} for app:video.api.flutter.livestream.example V/ActivityThread( 5917): callActivityOnCreate I/HwPhoneWindow( 5917): updateLayoutParamsColor false mSpecialSet=false, mForcedNavigationBarColor=false, navigationBarColor=0, mNavBarShow=false, mIsFloating=false I/HwPhoneWindow( 5917): updateLayoutParamsColor true mSpecialSet=true, mForcedNavigationBarColor=false, navigationBarColor=fffcfcfc, mNavBarShow=false, mIsFloating=false I/HwPhoneWindow( 5917): updateLayoutParamsColor true mSpecialSet=true, mForcedNavigationBarColor=false, navigationBarColor=fffcfcfc, mNavBarShow=false, mIsFloating=false D/ActivityThread( 5917): add activity client record, r= ActivityRecord{8d92757 token=android.os.BinderProxy@8b962b2 {video.api.flutter.livestream.example/video.api.flutter.livestream.example.MainActivity}} token= android.os.BinderProxy@8b962b2 D/ZrHung.AppEyeUiProbe( 5917): notify runnable to start. D/OpenGLRenderer( 5917): HWUI Binary is enabled D/OpenGLRenderer( 5917): HWUI Binary is enabled I/HwPhoneWindow( 5917): updateLayoutParamsColor true mSpecialSet=true, mForcedNavigationBarColor=false, navigationBarColor=fffcfcfc, mNavBarShow=true, mIsFloating=false I/HiTouch_HiTouchSensor( 5917): enabledInPad = false,isPcCastMode = false D/HiTouch_PressGestureDetector( 5917): onAttached, package=video.api.flutter.livestream.example, windowType=1, mHiTouchRestricted=false D/mali_winsys( 5917): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000 D/mali_winsys( 5917): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000 W/InputMethodManager( 5917): startInputReason = 1 E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] I/HwPhoneWindow( 5917): updateLayoutParamsColor true mSpecialSet=true, mForcedNavigationBarColor=false, navigationBarColor=fffcfcfc, mNavBarShow=true, mIsFloating=false I/NDOP ( 5917): listening using window listener I/MediaCodecEncoder( 5917): Selected encoder OMX.hisi.video.encoder.avc E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] I/OMXClient( 5917): IOmx service obtained I/ACodec ( 5917): In onAllocateComponent create compenent, codec name: OMX.hisi.video.encoder.avc I/MediaCodec( 5917): MediaCodec will operate in async mode W/HwExtendedUtils( 5917): hw configLocalPlayBack err = -22 W/OMXUtils( 5917): do not know color format 0x7f000001 = 2130706433 W/OMXUtils( 5917): do not know color format 0x16 = 22 W/OMXUtils( 5917): do not know color format 0x19 = 25 W/OMXUtils( 5917): do not know color format 0x1a = 26 W/OMXUtils( 5917): do not know color format 0x1b = 27 W/OMXUtils( 5917): do not know color format 0x1c = 28 W/OMXUtils( 5917): do not know color format 0x10 = 16 W/OMXUtils( 5917): do not know color format 0x7f00000f = 2130706447 W/OMXUtils( 5917): do not know color format 0xf = 15 W/OMXUtils( 5917): do not know color format 0x7f000789 = 2130708361 I/ACodec ( 5917): setupAVCEncoderParameters with [profile: High] [level: Level51] I/ACodec ( 5917): [OMX.hisi.video.encoder.avc] cannot encode color aspects. Ignoring. I/ACodec ( 5917): [OMX.hisi.video.encoder.avc] cannot encode HDR static metadata. Ignoring. I/ACodec ( 5917): setupVideoEncoder succeeded I/ACodec ( 5917): codec does not support config priority (err -22) W/OMXUtils( 5917): do not know color format 0x7f000789 = 2130708361 I/ACodec ( 5917): [OMX.hisi.video.encoder.avc] got color aspects (R:0(Unspecified), P:0(Unspecified), M:0(Unspecified), T:0(Unspecified)) err=-1010(??) I/ACodec ( 5917): [OMX.hisi.video.encoder.avc] using color aspects (R:2(Limited), P:4(BT601_6_525), M:3(BT601_6), T:3(SMPTE170M)) and dataspace 0x103 I/ACodec ( 5917): [OMX.hisi.video.encoder.avc] got color aspects (R:0(Unspecified), P:0(Unspecified), M:0(Unspecified), T:0(Unspecified)) err=-1010(??) D/mali_winsys( 5917): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000 I/Choreographer( 5917): Skipped 30 frames! The application may be doing too much work on its main thread. W/AudioSource( 5917): Acoustic echo canceler is not available W/AudioSource( 5917): Noise suppressor is not available I/MediaCodecEncoder( 5917): Selected encoder OMX.google.aac.encoder I/OMXClient( 5917): IOmx service obtained I/ACodec ( 5917): In onAllocateComponent create compenent, codec name: OMX.google.aac.encoder I/MediaCodec( 5917): MediaCodec will operate in async mode W/HwExtendedUtils( 5917): hw configLocalPlayBack err = -2147483648 I/PermissionManager( 5917): camera remind result:true I/CameraManager( 5917): open camera: 0, package name: video.api.flutter.livestream.example I/BackgroundPermManager( 5917): pkgName: video.api.flutter.livestream.example,pid: 5917 ,uidOf3RdApk: 11302 ,permType: 0 ,permCfg: 1 I/HwCameraUtil( 5917): notifySurfaceFlingerCameraStatus : isFront = false , isOpend = true I/CameraController( 5917): Supported FPS range list: [[12, 15], [15, 15], [14, 20], [20, 20], [14, 25], [25, 25], [14, 30], [30, 30]] D/CameraController( 5917): Selected Fps range [30, 30] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] D/ZrHung.AppEyeUiProbe( 5917): stop checker. W/BaseStreamer( 5917): Stream is not running W/BaseStreamer( 5917): Stream is not running I/CameraDevice-JV-0( 5917): close camera: 0, package name: video.api.flutter.livestream.example I/BackgroundPermManager( 5917): pkgName: video.api.flutter.livestream.example,pid: 5917 ,uidOf3RdApk: 11302 ,permType: 0 ,permCfg: 0 I/HwCameraUtil( 5917): notifySurfaceFlingerCameraStatus : isFront = false , isOpend = false E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] D/ZrHung.AppEyeUiProbe( 5917): Current Activity:false D/ZrHung.AppEyeUiProbe( 5917): not watching, wait. I/CameraDevice-JV-0( 5917): Camera now idle W/libEGL ( 5917): EGLNativeWindowType 0x73f898d010 disconnect failed I/SurfaceView( 5917): delay destroy surface control W/libEGL ( 5917): EGLNativeWindowType 0x73d2e1f010 disconnect failed I/SurfaceView( 5917): need destroy surface control D/ViewRootImpl[MainActivity]( 5917): surface should not be released D/ActivityThread( 5917): Remove activity client record, r= ActivityRecord{8d92757 token=android.os.BinderProxy@8b962b2 {video.api.flutter.livestream.example/video.api.flutter.livestream.example.MainActivity}} token= android.os.BinderProxy@8b962b2 W/ActivityThread( 5917): handleWindowVisibility: no activity for token android.os.BinderProxy@7482212 D/ZrHung.AppEyeUiProbe( 5917): notify runnable to start. D/ZrHung.AppEyeUiProbe( 5917): restart watching V/ActivityThread( 5917): Skipping new config:{1.0 414mcc6mnc [en_MM,ar_MM,my_MM_#u-nu-latn] ldltr sw360dp w360dp h709dp 480dpi nrml long port finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 0, 0) mAppBounds=Rect(0, 90 - 1080, 2218) mWindowingMode=fullscreen mActivityType=undefined} nonFullScreen=0 suim:1 s.396}, config:{1.0 414mcc6mnc [en_MM,ar_MM,my_MM_#u-nu-latn] ldltr sw360dp w360dp h709dp 480dpi nrml long port finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 0, 0) mAppBounds=Rect(0, 90 - 1080, 2218) mWindowingMode=fullscreen mActivityType=undefined} nonFullScreen=0 suim:1 s.396} for app:video.api.flutter.livestream.example V/ActivityThread( 5917): callActivityOnCreate I/HwPhoneWindow( 5917): updateLayoutParamsColor false mSpecialSet=false, mForcedNavigationBarColor=false, navigationBarColor=0, mNavBarShow=false, mIsFloating=false I/HwPhoneWindow( 5917): updateLayoutParamsColor true mSpecialSet=true, mForcedNavigationBarColor=false, navigationBarColor=fffcfcfc, mNavBarShow=false, mIsFloating=false D/ActivityThread( 5917): add activity client record, r= ActivityRecord{f4d1d37 token=android.os.BinderProxy@7482212 {video.api.flutter.livestream.example/video.api.flutter.livestream.example.MainActivity}} token= android.os.BinderProxy@7482212 D/ZrHung.AppEyeUiProbe( 5917): notify runnable to start. D/OpenGLRenderer( 5917): HWUI Binary is enabled E/ActivityThread( 5917): Activity video.api.flutter.livestream.example.MainActivity has leaked IntentReceiver com.github.rmtmckenzie.native_device_orientation.OrientationListener$1@676e5 that was originally registered here. Are you missing a call to unregisterReceiver()? E/ActivityThread( 5917): android.app.IntentReceiverLeaked: Activity video.api.flutter.livestream.example.MainActivity has leaked IntentReceiver com.github.rmtmckenzie.native_device_orientation.OrientationListener$1@676e5 that was originally registered here. Are you missing a call to unregisterReceiver()? E/ActivityThread( 5917): at android.app.LoadedApk$ReceiverDispatcher.<init>(LoadedApk.java:1596) E/ActivityThread( 5917): at android.app.LoadedApk.getReceiverDispatcher(LoadedApk.java:1329) E/ActivityThread( 5917): at android.app.ContextImpl.registerReceiverInternal(ContextImpl.java:1698) E/ActivityThread( 5917): at android.app.ContextImpl.registerReceiver(ContextImpl.java:1671) E/ActivityThread( 5917): at android.app.ContextImpl.registerReceiver(ContextImpl.java:1659) E/ActivityThread( 5917): at android.content.ContextWrapper.registerReceiver(ContextWrapper.java:623) E/ActivityThread( 5917): at com.github.rmtmckenzie.native_device_orientation.OrientationListener.startOrientationListener(OrientationListener.java:39) E/ActivityThread( 5917): at com.github.rmtmckenzie.native_device_orientation.NativeDeviceOrientationPlugin.onListen(NativeDeviceOrientationPlugin.java:134) E/ActivityThread( 5917): at io.flutter.plugin.common.EventChannel$IncomingStreamRequestHandler.onListen(EventChannel.java:218) E/ActivityThread( 5917): at io.flutter.plugin.common.EventChannel$IncomingStreamRequestHandler.onMessage(EventChannel.java:197) E/ActivityThread( 5917): at io.flutter.embedding.engine.dart.DartMessenger.invokeHandler(DartMessenger.java:292) E/ActivityThread( 5917): at io.flutter.embedding.engine.dart.DartMessenger.lambda$dispatchMessageToQueue$0$io-flutter-embedding-engine-dart-DartMessenger(DartMessenger.java:319) E/ActivityThread( 5917): at io.flutter.embedding.engine.dart.DartMessenger$$ExternalSyntheticLambda0.run(Unknown Source:12) E/ActivityThread( 5917): at android.os.Handler.handleCallback(Handler.java:907) E/ActivityThread( 5917): at android.os.Handler.dispatchMessage(Handler.java:105) E/ActivityThread( 5917): at android.os.Looper.loop(Looper.java:216) E/ActivityThread( 5917): at android.app.ActivityThread.main(ActivityThread.java:7625) E/ActivityThread( 5917): at java.lang.reflect.Method.invoke(Native Method) E/ActivityThread( 5917): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:524) E/ActivityThread( 5917): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:987) I/HwPhoneWindow( 5917): updateLayoutParamsColor true mSpecialSet=true, mForcedNavigationBarColor=false, navigationBarColor=fffcfcfc, mNavBarShow=true, mIsFloating=false I/HiTouch_HiTouchSensor( 5917): enabledInPad = false,isPcCastMode = false D/HiTouch_PressGestureDetector( 5917): onAttached, package=video.api.flutter.livestream.example, windowType=1, mHiTouchRestricted=false D/mali_winsys( 5917): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000 D/mali_winsys( 5917): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000 D/OpenGLRenderer( 5917): HWUI Binary is enabled W/InputMethodManager( 5917): startInputReason = 1 E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] I/HwPhoneWindow( 5917): updateLayoutParamsColor true mSpecialSet=true, mForcedNavigationBarColor=false, navigationBarColor=fffcfcfc, mNavBarShow=true, mIsFloating=false I/MediaCodecEncoder( 5917): Selected encoder OMX.hisi.video.encoder.avc I/OMXClient( 5917): IOmx service obtained I/ACodec ( 5917): In onAllocateComponent create compenent, codec name: OMX.hisi.video.encoder.avc I/MediaCodec( 5917): MediaCodec will operate in async mode W/HwExtendedUtils( 5917): hw configLocalPlayBack err = -22 W/OMXUtils( 5917): do not know color format 0x7f000001 = 2130706433 W/OMXUtils( 5917): do not know color format 0x16 = 22 W/OMXUtils( 5917): do not know color format 0x19 = 25 W/OMXUtils( 5917): do not know color format 0x1a = 26 W/OMXUtils( 5917): do not know color format 0x1b = 27 W/OMXUtils( 5917): do not know color format 0x1c = 28 W/OMXUtils( 5917): do not know color format 0x10 = 16 W/OMXUtils( 5917): do not know color format 0x7f00000f = 2130706447 W/OMXUtils( 5917): do not know color format 0xf = 15 W/OMXUtils( 5917): do not know color format 0x7f000789 = 2130708361 I/ACodec ( 5917): setupAVCEncoderParameters with [profile: High] [level: Level51] I/ACodec ( 5917): [OMX.hisi.video.encoder.avc] cannot encode color aspects. Ignoring. I/ACodec ( 5917): [OMX.hisi.video.encoder.avc] cannot encode HDR static metadata. Ignoring. I/ACodec ( 5917): setupVideoEncoder succeeded I/ACodec ( 5917): codec does not support config priority (err -22) W/OMXUtils( 5917): do not know color format 0x7f000789 = 2130708361 I/ACodec ( 5917): [OMX.hisi.video.encoder.avc] got color aspects (R:0(Unspecified), P:0(Unspecified), M:0(Unspecified), T:0(Unspecified)) err=-1010(??) I/ACodec ( 5917): [OMX.hisi.video.encoder.avc] using color aspects (R:2(Limited), P:4(BT601_6_525), M:3(BT601_6), T:3(SMPTE170M)) and dataspace 0x103 I/ACodec ( 5917): [OMX.hisi.video.encoder.avc] got color aspects (R:0(Unspecified), P:0(Unspecified), M:0(Unspecified), T:0(Unspecified)) err=-1010(??) D/mali_winsys( 5917): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000 I/NDOP ( 5917): listening using window listener W/AudioSource( 5917): Acoustic echo canceler is not available W/AudioSource( 5917): Noise suppressor is not available I/MediaCodecEncoder( 5917): Selected encoder OMX.google.aac.encoder I/OMXClient( 5917): IOmx service obtained I/ACodec ( 5917): In onAllocateComponent create compenent, codec name: OMX.google.aac.encoder I/MediaCodec( 5917): MediaCodec will operate in async mode W/HwExtendedUtils( 5917): hw configLocalPlayBack err = -2147483648 I/ViewRootImpl( 5917): jank_removeInvalidNode jank list is null I/PermissionManager( 5917): camera remind result:true I/CameraManager( 5917): open camera: 0, package name: video.api.flutter.livestream.example I/BackgroundPermManager( 5917): pkgName: video.api.flutter.livestream.example,pid: 5917 ,uidOf3RdApk: 11302 ,permType: 0 ,permCfg: 1 I/HwCameraUtil( 5917): notifySurfaceFlingerCameraStatus : isFront = false , isOpend = true I/CameraController( 5917): Supported FPS range list: [[12, 15], [15, 15], [14, 20], [20, 20], [14, 25], [25, 25], [14, 30], [30, 30]] D/CameraController( 5917): Selected Fps range [30, 30] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] D/ZrHung.AppEyeUiProbe( 5917): stop checker. W/BaseStreamer( 5917): Stream is not running W/BaseStreamer( 5917): Stream is not running I/CameraDevice-JV-0( 5917): close camera: 0, package name: video.api.flutter.livestream.example I/BackgroundPermManager( 5917): pkgName: video.api.flutter.livestream.example,pid: 5917 ,uidOf3RdApk: 11302 ,permType: 0 ,permCfg: 0 I/HwCameraUtil( 5917): notifySurfaceFlingerCameraStatus : isFront = false , isOpend = false E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] D/ZrHung.AppEyeUiProbe( 5917): Current Activity:false D/ZrHung.AppEyeUiProbe( 5917): not watching, wait. I/CameraDevice-JV-0( 5917): Camera now idle W/libEGL ( 5917): EGLNativeWindowType 0x73dcfad010 disconnect failed I/SurfaceView( 5917): delay destroy surface control W/libEGL ( 5917): EGLNativeWindowType 0x73dcfa9010 disconnect failed I/SurfaceView( 5917): need destroy surface control D/ViewRootImpl[MainActivity]( 5917): surface should not be released D/ActivityThread( 5917): Remove activity client record, r= ActivityRecord{f4d1d37 token=android.os.BinderProxy@7482212 {video.api.flutter.livestream.example/video.api.flutter.livestream.example.MainActivity}} token= android.os.BinderProxy@7482212 W/ActivityThread( 5917): handleWindowVisibility: no activity for token android.os.BinderProxy@9a659c3 D/ZrHung.AppEyeUiProbe( 5917): notify runnable to start. D/ZrHung.AppEyeUiProbe( 5917): restart watching V/ActivityThread( 5917): Skipping new config:{1.0 414mcc6mnc [en_MM,ar_MM,my_MM_#u-nu-latn] ldltr sw360dp w360dp h709dp 480dpi nrml long port finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 0, 0) mAppBounds=Rect(0, 90 - 1080, 2218) mWindowingMode=fullscreen mActivityType=undefined} nonFullScreen=0 suim:1 s.396}, config:{1.0 414mcc6mnc [en_MM,ar_MM,my_MM_#u-nu-latn] ldltr sw360dp w360dp h709dp 480dpi nrml long port finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 0, 0) mAppBounds=Rect(0, 90 - 1080, 2218) mWindowingMode=fullscreen mActivityType=undefined} nonFullScreen=0 suim:1 s.396} for app:video.api.flutter.livestream.example V/ActivityThread( 5917): callActivityOnCreate I/HwPhoneWindow( 5917): updateLayoutParamsColor false mSpecialSet=false, mForcedNavigationBarColor=false, navigationBarColor=0, mNavBarShow=false, mIsFloating=false I/HwPhoneWindow( 5917): updateLayoutParamsColor true mSpecialSet=true, mForcedNavigationBarColor=false, navigationBarColor=fffcfcfc, mNavBarShow=false, mIsFloating=false D/ActivityThread( 5917): add activity client record, r= ActivityRecord{ed00304 token=android.os.BinderProxy@9a659c3 {video.api.flutter.livestream.example/video.api.flutter.livestream.example.MainActivity}} token= android.os.BinderProxy@9a659c3 D/ZrHung.AppEyeUiProbe( 5917): notify runnable to start. D/OpenGLRenderer( 5917): HWUI Binary is enabled W/FlutterJNI( 5917): Tried to send a platform message response, but FlutterJNI was detached from native C++. Could not send. Response ID: 20 D/OpenGLRenderer( 5917): HWUI Binary is enabled I/HwPhoneWindow( 5917): updateLayoutParamsColor true mSpecialSet=true, mForcedNavigationBarColor=false, navigationBarColor=fffcfcfc, mNavBarShow=true, mIsFloating=false I/HiTouch_HiTouchSensor( 5917): enabledInPad = false,isPcCastMode = false D/HiTouch_PressGestureDetector( 5917): onAttached, package=video.api.flutter.livestream.example, windowType=1, mHiTouchRestricted=false D/mali_winsys( 5917): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000 D/mali_winsys( 5917): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000 W/InputMethodManager( 5917): startInputReason = 1 E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] I/HwPhoneWindow( 5917): updateLayoutParamsColor true mSpecialSet=true, mForcedNavigationBarColor=false, navigationBarColor=fffcfcfc, mNavBarShow=true, mIsFloating=false I/MediaCodecEncoder( 5917): Selected encoder OMX.hisi.video.encoder.avc I/OMXClient( 5917): IOmx service obtained E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ACodec ( 5917): Unable to instantiate codec 'OMX.hisi.video.encoder.avc' with err 0xfffffff4. E/ACodec ( 5917): signalError(omxError 0xfffffff4, internalError -12) E/MediaCodec( 5917): Codec reported err 0xfffffff4, actionCode 0, while in state 1 I/OMXClient( 5917): IOmx service obtained E/ACodec ( 5917): Unable to instantiate codec 'OMX.hisi.video.encoder.avc' with err 0xfffffff4. E/ACodec ( 5917): signalError(omxError 0xfffffff4, internalError -12) E/MediaCodec( 5917): Codec reported err 0xfffffff4, actionCode 0, while in state 1 W/MediaCodec-JNI( 5917): try to release MediaCodec from JMediaCodec::~JMediaCodec()... W/MediaCodec-JNI( 5917): done releasing MediaCodec from JMediaCodec::~JMediaCodec(). I/MediaCodecEncoder( 5917): Fallback without profile and level (reason: android.media.MediaCodec$CodecException: Failed to initialize OMX.hisi.video.encoder.avc, error 0xfffffff4) I/MediaCodecEncoder( 5917): Selected encoder OMX.hisi.video.encoder.avc I/OMXClient( 5917): IOmx service obtained E/ACodec ( 5917): Unable to instantiate codec 'OMX.hisi.video.encoder.avc' with err 0xfffffff4. E/ACodec ( 5917): signalError(omxError 0xfffffff4, internalError -12) E/MediaCodec( 5917): Codec reported err 0xfffffff4, actionCode 0, while in state 1 W/MediaCodec-JNI( 5917): try to release MediaCodec from JMediaCodec::~JMediaCodec()... W/MediaCodec-JNI( 5917): done releasing MediaCodec from JMediaCodec::~JMediaCodec(). E/MediaCodecEncoder( 5917): Failed to create encoder for VideoConfig(mimeType='video/avc', startBitrate=1000000, resolution=640x360, fps=30, profile=8, level=32768) W/BaseStreamer( 5917): Stream is not running I/NDOP ( 5917): listening using window listener I/ViewRootImpl( 5917): jank_removeInvalidNode all the node in jank list is out of time E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] W/Settings( 5917): Setting device_provisioned has moved from android.provider.Settings.Secure to android.provider.Settings.Global. V/HiTouch_HiTouchSensor( 5917): User setup is finished. W/HiTouch_PressGestureDetector( 5917): Touch pointer move a lot. The moving distance of X is:2.9971924, limit is:60The moving distance of Y is:63.97278, limit is:60 E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] D/ZrHung.AppEyeUiProbe( 5917): stop checker. E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] D/ZrHung.AppEyeUiProbe( 5917): Current Activity:false D/ZrHung.AppEyeUiProbe( 5917): not watching, wait. W/libEGL ( 5917): EGLNativeWindowType 0x73dcfe1010 disconnect failed I/SurfaceView( 5917): delay destroy surface control W/libEGL ( 5917): EGLNativeWindowType 0x73dcfdf010 disconnect failed I/SurfaceView( 5917): need destroy surface control D/ViewRootImpl[MainActivity]( 5917): surface should not be released D/ActivityThread( 5917): Remove activity client record, r= ActivityRecord{ed00304 token=android.os.BinderProxy@9a659c3 {video.api.flutter.livestream.example/video.api.flutter.livestream.example.MainActivity}} token= android.os.BinderProxy@9a659c3 E/ActivityThread( 5917): Activity video.api.flutter.livestream.example.MainActivity has leaked IntentReceiver com.github.rmtmckenzie.native_device_orientation.OrientationListener$1@e502c2b that was originally registered here. Are you missing a call to unregisterReceiver()? E/ActivityThread( 5917): android.app.IntentReceiverLeaked: Activity video.api.flutter.livestream.example.MainActivity has leaked IntentReceiver com.github.rmtmckenzie.native_device_orientation.OrientationListener$1@e502c2b that was originally registered here. Are you missing a call to unregisterReceiver()? E/ActivityThread( 5917): at android.app.LoadedApk$ReceiverDispatcher.<init>(LoadedApk.java:1596) E/ActivityThread( 5917): at android.app.LoadedApk.getReceiverDispatcher(LoadedApk.java:1329) E/ActivityThread( 5917): at android.app.ContextImpl.registerReceiverInternal(ContextImpl.java:1698) E/ActivityThread( 5917): at android.app.ContextImpl.registerReceiver(ContextImpl.java:1671) E/ActivityThread( 5917): at android.app.ContextImpl.registerReceiver(ContextImpl.java:1659) E/ActivityThread( 5917): at android.content.ContextWrapper.registerReceiver(ContextWrapper.java:623) E/ActivityThread( 5917): at com.github.rmtmckenzie.native_device_orientation.OrientationListener.startOrientationListener(OrientationListener.java:39) E/ActivityThread( 5917): at com.github.rmtmckenzie.native_device_orientation.NativeDeviceOrientationPlugin.onListen(NativeDeviceOrientationPlugin.java:134) E/ActivityThread( 5917): at io.flutter.plugin.common.EventChannel$IncomingStreamRequestHandler.onListen(EventChannel.java:218) E/ActivityThread( 5917): at io.flutter.plugin.common.EventChannel$IncomingStreamRequestHandler.onMessage(EventChannel.java:197) E/ActivityThread( 5917): at io.flutter.embedding.engine.dart.DartMessenger.invokeHandler(DartMessenger.java:292) E/ActivityThread( 5917): at io.flutter.embedding.engine.dart.DartMessenger.lambda$dispatchMessageToQueue$0$io-flutter-embedding-engine-dart-DartMessenger(DartMessenger.java:319) E/ActivityThread( 5917): at io.flutter.embedding.engine.dart.DartMessenger$$ExternalSyntheticLambda0.run(Unknown Source:12) E/ActivityThread( 5917): at android.os.Handler.handleCallback(Handler.java:907) E/ActivityThread( 5917): at android.os.Handler.dispatchMessage(Handler.java:105) E/ActivityThread( 5917): at android.os.Looper.loop(Looper.java:216) E/ActivityThread( 5917): at android.app.ActivityThread.main(ActivityThread.java:7625) E/ActivityThread( 5917): at java.lang.reflect.Method.invoke(Native Method) E/ActivityThread( 5917): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:524) E/ActivityThread( 5917): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:987) W/ActivityThread( 5917): handleWindowVisibility: no activity for token android.os.BinderProxy@721f646 D/ZrHung.AppEyeUiProbe( 5917): notify runnable to start. D/ZrHung.AppEyeUiProbe( 5917): restart watching V/ActivityThread( 5917): Skipping new config:{1.0 414mcc6mnc [en_MM,ar_MM,my_MM_#u-nu-latn] ldltr sw360dp w360dp h709dp 480dpi nrml long port finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 0, 0) mAppBounds=Rect(0, 90 - 1080, 2218) mWindowingMode=fullscreen mActivityType=undefined} nonFullScreen=0 suim:1 s.396}, config:{1.0 414mcc6mnc [en_MM,ar_MM,my_MM_#u-nu-latn] ldltr sw360dp w360dp h709dp 480dpi nrml long port finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 0, 0) mAppBounds=Rect(0, 90 - 1080, 2218) mWindowingMode=fullscreen mActivityType=undefined} nonFullScreen=0 suim:1 s.396} for app:video.api.flutter.livestream.example V/ActivityThread( 5917): callActivityOnCreate I/HwPhoneWindow( 5917): updateLayoutParamsColor false mSpecialSet=false, mForcedNavigationBarColor=false, navigationBarColor=0, mNavBarShow=false, mIsFloating=false I/HwPhoneWindow( 5917): updateLayoutParamsColor true mSpecialSet=true, mForcedNavigationBarColor=false, navigationBarColor=fffcfcfc, mNavBarShow=false, mIsFloating=false I/HwPhoneWindow( 5917): updateLayoutParamsColor true mSpecialSet=true, mForcedNavigationBarColor=false, navigationBarColor=fffcfcfc, mNavBarShow=false, mIsFloating=false D/ActivityThread( 5917): add activity client record, r= ActivityRecord{658761b token=android.os.BinderProxy@721f646 {video.api.flutter.livestream.example/video.api.flutter.livestream.example.MainActivity}} token= android.os.BinderProxy@721f646 D/ZrHung.AppEyeUiProbe( 5917): notify runnable to start. D/OpenGLRenderer( 5917): HWUI Binary is enabled D/OpenGLRenderer( 5917): HWUI Binary is enabled I/HwPhoneWindow( 5917): updateLayoutParamsColor true mSpecialSet=true, mForcedNavigationBarColor=false, navigationBarColor=fffcfcfc, mNavBarShow=true, mIsFloating=false I/HiTouch_HiTouchSensor( 5917): enabledInPad = false,isPcCastMode = false D/HiTouch_PressGestureDetector( 5917): onAttached, package=video.api.flutter.livestream.example, windowType=1, mHiTouchRestricted=false D/mali_winsys( 5917): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000 D/mali_winsys( 5917): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000 W/InputMethodManager( 5917): startInputReason = 1 E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] I/HwPhoneWindow( 5917): updateLayoutParamsColor true mSpecialSet=true, mForcedNavigationBarColor=false, navigationBarColor=fffcfcfc, mNavBarShow=true, mIsFloating=false I/MediaCodecEncoder( 5917): Selected encoder OMX.hisi.video.encoder.avc I/OMXClient( 5917): IOmx service obtained E/ACodec ( 5917): Unable to instantiate codec 'OMX.hisi.video.encoder.avc' with err 0xfffffff4. E/ACodec ( 5917): signalError(omxError 0xfffffff4, internalError -12) E/MediaCodec( 5917): Codec reported err 0xfffffff4, actionCode 0, while in state 1 W/MediaCodec-JNI( 5917): try to release MediaCodec from JMediaCodec::~JMediaCodec()... W/MediaCodec-JNI( 5917): done releasing MediaCodec from JMediaCodec::~JMediaCodec(). I/MediaCodecEncoder( 5917): Fallback without profile and level (reason: android.media.MediaCodec$CodecException: Failed to initialize OMX.hisi.video.encoder.avc, error 0xfffffff4) I/MediaCodecEncoder( 5917): Selected encoder OMX.hisi.video.encoder.avc I/OMXClient( 5917): IOmx service obtained E/ACodec ( 5917): Unable to instantiate codec 'OMX.hisi.video.encoder.avc' with err 0xfffffff4. E/ACodec ( 5917): signalError(omxError 0xfffffff4, internalError -12) E/MediaCodec( 5917): Codec reported err 0xfffffff4, actionCode 0, while in state 1 W/MediaCodec-JNI( 5917): try to release MediaCodec from JMediaCodec::~JMediaCodec()... W/MediaCodec-JNI( 5917): done releasing MediaCodec from JMediaCodec::~JMediaCodec(). E/MediaCodecEncoder( 5917): Failed to create encoder for VideoConfig(mimeType='video/avc', startBitrate=1000000, resolution=640x360, fps=30, profile=8, level=32768) W/BaseStreamer( 5917): Stream is not running I/NDOP ( 5917): listening using window listener E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102] E/ ( 5917): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102]

@ThibaultBee
Copy link
Member

Does it happen less?
Have you tested in the example application as well?

@ting28418
Copy link
Author

Yes test with main branch. Kindly check attach video

IMG_5054.MOV

@ThibaultBee
Copy link
Member

What if you do it really slowly?

@ting28418
Copy link
Author

Here is tested slowly

IMG_5055.MOV

@ThibaultBee
Copy link
Member

I noticed that we don't dispose the controller in the example.
I just pushed a fix for this in the main branch. Could you give it a try?

@ting28418
Copy link
Author

Download again main branch and tested again still show error like previous video

@ThibaultBee
Copy link
Member

Well I don't see any more reason. After some research on google, it seems that hisi encoder are not well supported.
It seems to be an error specific to hisi encoder and I don't see what I can do.

@ting28418
Copy link
Author

so how can I do for that. Is there any suggestion ?

@ThibaultBee
Copy link
Member

You should try to reproduce directly with the native Android library and different settings.

I believe the HiSi encoder takes a while to be released and as there is a limited number of encoders in HiSi, at some point there isn't any available encoders. If this is true, you can't really do anything unless adding a debounce in your application.
Could you try to wait 5-10s when you close the application before reopening it?

@ting28418
Copy link
Author

If wait 5- 10s it's working fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants