Open ting28418 opened 1 month ago
Hi, Thanks for reporting this issue.
Not work if enter ApiVideoCameraPreview repeatedly
What does it mean? Which API calls are made?
call rtmp url rtmp://example.com/live/streamkey
attach video , kindly check thanks
Okay but what APIs (methods) of this package are you calling?
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?
@ThibaultBee Kindly check please
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?
Downloaded latest code from
main
branch and test still show that error Kindly check attach video
Could you send the log of your application?
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]
Ok, stopPreview
seems to call startStream
internaly.
I am going to make a fix in the native library instead.
Ok Let me know after fix thanks
Version
v1.2.0
Which operating systems have you used?
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](https://github.com/apivideo/api.video-flutter-live-stream/assets/110028664/125466cd-8f19-418d-908d-840c05f0bf44)
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