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

[Android] [Bug] SimpleExoPlayer: Player is accessed on the wrong thread #484

Open
kesha-antonov opened this issue Dec 8, 2018 · 3 comments

Comments

Projects
None yet
3 participants
@kesha-antonov
Copy link

commented Dec 8, 2018

Environment

Please provide the following information about your environment:

  1. Development OS: Mac
  2. Device OS & Version: Android OS 8.1
  3. Version: ViroReact 2.12.0 and React Native 0.57.7
  4. Device(s): Xiaomi mi 8

Description

Hey!
I see black square and no video. Please suggest
Sometimes it shows ok, sometimes no. I think if there's more than 20 markers then probability of error is increasing

12-08 20:06:11.789   723  1843 E CHIUSECASE: SelectFeatureToExecuteCaptureRequest Select Feature 0xd6e75300 type 1 for request:5540
12-08 20:06:11.795   723  1843 E CHIUSECASE: Snapshot in ZSL
12-08 20:06:11.805 22806 24997 W zygote  : Attempt to remove non-JNI local reference, dumping thread
12-08 20:06:11.817   723  1843 E CHIUSECASE: SelectFeatureToExecuteCaptureRequest Select Feature 0xd6e75300 type 1 for request:5541
12-08 20:06:11.819 22806 23990 W GLConsumer: [SurfaceTexture-34-22806-72] bindTextureImage: clearing GL error: 0x501
12-08 20:06:11.823   723  1592 E CamX    : [ERROR][STATS_AEC] camxaecengine.cpp:630 AECStateMachineConvergedAndConverging() Process Preflash Triggers
12-08 20:06:11.828   723  1843 E CHIUSECASE: Snapshot in ZSL
12-08 20:06:11.838 22806 23990 W GLConsumer: [SurfaceTexture-34-22806-72] bindTextureImage: clearing GL error: 0x501
12-08 20:06:11.842   850   850 W Binder:850_5: type=1400 audit(0.0:380105): avc: denied { search } for name="22806" dev="proc" ino=1694873 scontext=u:r:audioserver:s0 tcontext=u:r:untrusted_app:s0:c512,c768 tclass=dir permissive=0
12-08 20:06:11.856   723  1595 E CamX    : [ERROR][STATS_AEC] camxaecengine.cpp:630 AECStateMachineConvergedAndConverging() Process Preflash Triggers
12-08 20:06:11.856   850 11283 E AudioFlinger: open /proc/22806/cmdline error
12-08 20:06:11.856   850 11283 I AudioFlinger: setAppName(), name=[], active=[0]
12-08 20:06:11.857   721 21358 V EffectDiracSound: DiracSound_command() start, cmdCode=23
12-08 20:06:11.857   721 21358 V EffectDiracSound: DiracSound_Command EFFECT_CMD_SET_APP_NAME: stream=3, name=-
12-08 20:06:11.857   721 21358 V EffectMiSound: MiSound_command() start, cmdCode=23
12-08 20:06:11.857   721 21358 V EffectMiSound: MiSound_Command EFFECT_CMD_SET_APP_NAME: stream=3, name=-
12-08 20:06:11.864   723  1843 E CHIUSECASE: SelectFeatureToExecuteCaptureRequest Select Feature 0xd6e75300 type 1 for request:5542
12-08 20:06:11.864 22806 22806 I ExoPlayerImpl: Init 78b51fa [ExoPlayerLib/2.9.2] [dipper, MI 8, Xiaomi, 27]
12-08 20:06:11.864   723  1843 E CHIUSECASE: Snapshot in ZSL
12-08 20:06:11.876 22806 23990 W Viro    : AVPlayer could not pause video in PAUSED state
12-08 20:06:11.876 22806 23990 W SimpleExoPlayer: Player is accessed on the wrong thread. See https://google.github.io/ExoPlayer/faqs.html#what-do-player-is-accessed-on-the-wrong-thread-warnings-mean
12-08 20:06:11.876 22806 23990 I chatty  : uid=10165(ru.mtsart) GLThread 2019 identical 1 line
12-08 20:06:11.876 22806 23990 W SimpleExoPlayer: Player is accessed on the wrong thread. See https://google.github.io/ExoPlayer/faqs.html#what-do-player-is-accessed-on-the-wrong-thread-warnings-mean
12-08 20:06:11.877 22806 23990 I Viro    : AVPlayer reset
12-08 20:06:11.877 22806 23990 I ExoPlayerImpl: Release 3d208f9 [ExoPlayerLib/2.9.2] [dipper, MI 8, Xiaomi, 27] [goog.exo.core, goog.exo.okhttp]
12-08 20:06:11.881   723  1843 E CHIUSECASE: SelectFeatureToExecuteCaptureRequest Select Feature 0xd6e75300 type 1 for request:5543
12-08 20:06:11.885 22806 24984 D SurfaceUtils: disconnecting from surface 0xbbafd808, reason disconnectFromSurface
12-08 20:06:11.887   910  6325 I OMX-VDEC-1080P: omx_vdec::component_deinit() complete
12-08 20:06:11.890   910  6325 I OMX-VDEC-1080P: Exit OMX vdec Destructor: fd=295
12-08 20:06:11.891 22806 24982 W MediaAnalyticsItem: Unable to record: (codec:0:-1:-11:0:10:android.media.mediacodec.codec=OMX.qcom.video.decoder.avc:android.media.mediacodec.mode=video:android.media.mediacodec.secure=0:android.media.mediacodec.width=600:android.media.mediacodec.height=320:android.media.mediacodec.rotation-degrees=0:android.media.mediacodec.maxwidth=600:android.media.mediacodec.maxheight=320:android.media.mediacodec.mime=video/avc:android.media.mediacodec.bytesin=372546:) [forcenew=0]
12-08 20:06:11.896   723  1593 E CamX    : [ERROR][STATS_AEC] camxaecengine.cpp:630 AECStateMachineConvergedAndConverging() Process Preflash Triggers
12-08 20:06:11.897 22806 24982 W MediaAnalyticsItem: Unable to record: (codec:0:-1:-11:0:5:android.media.mediacodec.codec=OMX.google.aac.decoder:android.media.mediacodec.mode=audio:android.media.mediacodec.secure=0:android.media.mediacodec.mime=audio/mp4a-latm:android.media.mediacodec.bytesin=78117:) [forcenew=0]
12-08 20:06:11.899 22806 23990 I Viro    : AVPlayer destroyed
12-08 20:06:11.900 22806 23990 W Viro    : AVPlayer could not pause video in PREPARED state
12-08 20:06:11.900 22806 23990 W SimpleExoPlayer: Player is accessed on the wrong thread. See https://google.github.io/ExoPlayer/faqs.html#what-do-player-is-accessed-on-the-wrong-thread-warnings-mean
12-08 20:06:11.900 22806 23990 W Viro    : AVPlayer could not pause video in PREPARED state
12-08 20:06:11.900 22806 23990 W SimpleExoPlayer: Player is accessed on the wrong thread. See https://google.github.io/ExoPlayer/faqs.html#what-do-player-is-accessed-on-the-wrong-thread-warnings-mean
12-08 20:06:11.900 22806 23990 W Viro    : AVPlayer could not pause video in PREPARED state
12-08 20:06:11.900 22806 23990 W SimpleExoPlayer: Player is accessed on the wrong thread. See https://google.github.io/ExoPlayer/faqs.html#what-do-player-is-accessed-on-the-wrong-thread-warnings-mean
12-08 20:06:11.900 22806 23990 W Viro    : AVPlayer could not pause video in PREPARED state
12-08 20:06:11.901 22806 23990 W SimpleExoPlayer: Player is accessed on the wrong thread. See https://google.github.io/ExoPlayer/faqs.html#what-do-player-is-accessed-on-the-wrong-thread-warnings-mean
12-08 20:06:11.901 22806 23990 W Viro    : AVPlayer could not pause video in PREPARED state
12-08 20:06:11.901 22806 23990 W SimpleExoPlayer: Player is accessed on the wrong thread. See https://google.github.io/ExoPlayer/faqs.html#what-do-player-is-accessed-on-the-wrong-thread-warnings-mean
12-08 20:06:11.901   723  1843 E CHIUSECASE: Snapshot in ZSL
12-08 20:06:11.901 22806 23990 W Viro    : AVPlayer could not pause video in PREPARED state
12-08 20:06:11.901 22806 23990 W SimpleExoPlayer: Player is accessed on the wrong thread. See https://google.github.io/ExoPlayer/faqs.html#what-do-player-is-accessed-on-the-wrong-thread-warnings-mean
12-08 20:06:11.901 22806 23990 W Viro    : AVPlayer could not pause video in PREPARED state
12-08 20:06:11.901 22806 23990 W SimpleExoPlayer: Player is accessed on the wrong thread. See https://google.github.io/ExoPlayer/faqs.html#what-do-player-is-accessed-on-the-wrong-thread-warnings-mean
12-08 20:06:11.901 22806 23990 W Viro    : AVPlayer could not pause video in PREPARED state
12-08 20:06:11.901 22806 23990 W SimpleExoPlayer: Player is accessed on the wrong thread. See https://google.github.io/ExoPlayer/faqs.html#what-do-player-is-accessed-on-the-wrong-thread-warnings-mean
12-08 20:06:11.902 22806 23990 W Viro    : AVPlayer could not pause video in PREPARED state
12-08 20:06:11.902 22806 23990 W SimpleExoPlayer: Player is accessed on the wrong thread. See https://google.github.io/ExoPlayer/faqs.html#what-do-player-is-accessed-on-the-wrong-thread-warnings-mean
12-08 20:06:11.902 22806 23990 W Viro    : AVPlayer could not pause video in PREPARED state
12-08 20:06:11.902 22806 23990 W SimpleExoPlayer: Player is accessed on the wrong thread. See https://google.github.io/ExoPlayer/faqs.html#what-do-player-is-accessed-on-the-wrong-thread-warnings-mean
12-08 20:06:11.902 22806 23990 W Viro    : AVPlayer could not pause video in PREPARED state
12-08 20:06:11.902 22806 23990 W SimpleExoPlayer: Player is accessed on the wrong thread. See https://google.github.io/ExoPlayer/faqs.html#what-do-player-is-accessed-on-the-wrong-thread-warnings-mean
12-08 20:06:11.902 22806 23990 W Viro    : AVPlayer could not pause video in PREPARED state
12-08 20:06:11.902 22806 23990 W SimpleExoPlayer: Player is accessed on the wrong thread. See https://google.github.io/ExoPlayer/faqs.html#what-do-player-is-accessed-on-the-wrong-thread-warnings-mean
12-08 20:06:11.902 22806 23990 W Viro    : AVPlayer could not pause video in PREPARED state
12-08 20:06:11.902 22806 23990 W SimpleExoPlayer: Player is accessed on the wrong thread. See https://google.github.io/ExoPlayer/faqs.html#what-do-player-is-accessed-on-the-wrong-thread-warnings-mean
12-08 20:06:11.903 22806 23990 W Viro    : AVPlayer could not pause video in PREPARED state
12-08 20:06:11.903 22806 23990 W SimpleExoPlayer: Player is accessed on the wrong thread. See https://google.github.io/ExoPlayer/faqs.html#what-do-player-is-accessed-on-the-wrong-thread-warnings-mean
12-08 20:06:11.903 22806 23990 W Viro    : AVPlayer could not pause video in PREPARED state
12-08 20:06:11.903 22806 23990 W SimpleExoPlayer: Player is accessed on the wrong thread. See https://google.github.io/ExoPlayer/faqs.html#what-do-player-is-accessed-on-the-wrong-thread-warnings-mean
12-08 20:06:11.903 22806 23990 W Viro    : AVPlayer could not pause video in PREPARED state
12-08 20:06:11.903 22806 23990 W SimpleExoPlayer: Player is accessed on the wrong thread. See https://google.github.io/ExoPlayer/faqs.html#what-do-player-is-accessed-on-the-wrong-thread-warnings-mean
12-08 20:06:11.905 22806 23990 W SimpleExoPlayer: Player is accessed on the wrong thread. See https://google.github.io/ExoPlayer/faqs.html#what-do-player-is-accessed-on-the-wrong-thread-warnings-mean
12-08 20:06:11.905 22806 23990 W SimpleExoPlayer: java.lang.IllegalStateException
12-08 20:06:11.905 22806 23990 W SimpleExoPlayer: 	at com.google.android.exoplayer2.SimpleExoPlayer.verifyApplicationThread(SimpleExoPlayer.java:1190)
12-08 20:06:11.905 22806 23990 W SimpleExoPlayer: 	at com.google.android.exoplayer2.SimpleExoPlayer.setVideoSurface(SimpleExoPlayer.java:304)
12-08 20:06:11.905 22806 23990 W SimpleExoPlayer: 	at com.viro.core.internal.AVPlayer.setVideoSink(AVPlayer.java:276)
12-08 20:06:11.905 22806 23990 W SimpleExoPlayer: 	at com.viro.core.internal.PlatformUtil.runTask(Native Method)
12-08 20:06:11.905 22806 23990 W SimpleExoPlayer: 	at com.viro.core.internal.PlatformUtil.access$000(PlatformUtil.java:58)
12-08 20:06:11.905 22806 23990 W SimpleExoPlayer: 	at com.viro.core.internal.PlatformUtil$TaskRunnable.run(PlatformUtil.java:78)
12-08 20:06:11.905 22806 23990 W SimpleExoPlayer: 	at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1500)
12-08 20:06:11.905 22806 23990 W SimpleExoPlayer: 	at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1270)
12-08 20:06:11.906 22806 23990 W SimpleExoPlayer: Player is accessed on the wrong thread. See https://google.github.io/ExoPlayer/faqs.html#what-do-player-is-accessed-on-the-wrong-thread-warnings-mean
12-08 20:06:11.906 22806 23990 I chatty  : uid=10165(ru.mtsart) GLThread 2019 identical 1 line
12-08 20:06:11.906 22806 23990 W SimpleExoPlayer: Player is accessed on the wrong thread. See https://google.github.io/ExoPlayer/faqs.html#what-do-player-is-accessed-on-the-wrong-thread-warnings-mean
12-08 20:06:11.906 22806 23990 I Viro    : AVPlayer reset
12-08 20:06:11.907 22806 23990 I Viro    : AVPlayer setting URL to [https://dostup.mts.ru/uploads/original/locationcontent/url/0/0/0/6_5bce03558faee.mp4]
12-08 20:06:11.908 22806 23990 W SimpleExoPlayer: Player is accessed on the wrong thread. See https://google.github.io/ExoPlayer/faqs.html#what-do-player-is-accessed-on-the-wrong-thread-warnings-mean
12-08 20:06:11.908 22806 23990 I chatty  : uid=10165(ru.mtsart) GLThread 2019 identical 3 lines
12-08 20:06:11.908 22806 23990 W SimpleExoPlayer: Player is accessed on the wrong thread. See https://google.github.io/ExoPlayer/faqs.html#what-do-player-is-accessed-on-the-wrong-thread-warnings-mean
12-08 20:06:11.908 22806 23990 I Viro    : AVPlayer prepared for playback
12-08 20:06:11.908 22806 23990 W SimpleExoPlayer: Player is accessed on the wrong thread. See https://google.github.io/ExoPlayer/faqs.html#what-do-player-is-accessed-on-the-wrong-thread-warnings-mean
12-08 20:06:11.908 22806 23990 I chatty  : uid=10165(ru.mtsart) GLThread 2019 identical 1 line
12-08 20:06:11.908 22806 23990 W SimpleExoPlayer: Player is accessed on the wrong thread. See https://google.github.io/ExoPlayer/faqs.html#what-do-player-is-accessed-on-the-wrong-thread-warnings-mean
12-08 20:06:11.908 22806 23990 W Viro    : AVPlayer could not pause video in PREPARED state
12-08 20:06:11.909 22806 23990 W Viro    : AVPlayer could not pause video in PREPARED state
12-08 20:06:11.913 22806 23990 W GLConsumer: [SurfaceTexture--1-22806-49] bindTextureImage: clearing GL error: 0x501
12-08 20:06:11.914 22806 23990 W SimpleExoPlayer: Player is accessed on the wrong thread. See https://google.github.io/ExoPlayer/faqs.html#what-do-player-is-accessed-on-the-wrong-thread-warnings-mean
12-08 20:06:11.915 22806 23990 W SimpleExoPlayer: Player is accessed on the wrong thread. See https://google.github.io/ExoPlayer/faqs.html#what-do-player-is-accessed-on-the-wrong-thread-warnings-mean
12-08 20:06:11.921   723  1593 E CamX    : [ERROR][STATS_AEC] camxaecengine.cpp:630 AECStateMachineConvergedAndConverging() Process Preflash Triggers
12-08 20:06:11.923   723  1843 E CHIUSECASE: SelectFeatureToExecuteCaptureRequest Select Feature 0xd6e75300 type 1 for request:5544
12-08 20:06:11.924 22806 24845 I native  : arcore_feature_extractor_wrapper.cc:29 Extracting features using  ArcoreFeatureExtractorWrapper.
12-08 20:06:11.924 22806 24845 I native  : arcore_feature_extractor_wrapper.cc:32 Extracting FREAK descriptors.
12-08 20:06:11.926   723  1843 E CHIUSECASE: Snapshot in ZSL
12-08 20:06:11.956   723  1592 E CamX    : [ERROR][STATS_AEC] camxaecengine.cpp:630 AECStateMachineConvergedAndConverging() Process Preflash Triggers
12-08 20:06:11.959 22806 23990 I Viro    : Successfully configured AR session [lighting 1, planes 1, update 0, focus 1]
12-08 20:06:11.959 22806 23990 I native  : session.cc:612 Entering Session::Resume.
12-08 20:06:11.959 22806 23990 I native  : session.cc:618 Session::Resume returning OK.
12-08 20:06:11.962   723  1843 E CHIUSECASE: SelectFeatureToExecuteCaptureRequest Select Feature 0xd6e75300 type 1 for request:5545
12-08 20:06:11.962   723  1843 E CHIUSECASE: Snapshot in ZSL
12-08 20:06:11.964 22806 23990 W GLConsumer: [SurfaceTexture--1-22806-49] bindTextureImage: clearing GL error: 0x501
12-08 20:06:11.964 22806 23990 I Viro    : Image target [142636942] has lost tracking, removing
12-08 20:06:11.976   723  1843 E CHIUSECASE: SelectFeatureToExecuteCaptureRequest Select Feature 0xd6e75300 type 1 for request:5546
12-08 20:06:11.984 22806 25002 I OMXClient: Treble IOmx obtained
12-08 20:06:11.984   910  7020 I OMXMaster: makeComponentInstance(OMX.qcom.video.decoder.avc) in omx@1.0-service process
12-08 20:06:11.987   723  1593 E CamX    : [ERROR][STATS_AEC] camxaecengine.cpp:630 AECStateMachineConvergedAndConverging() Process Preflash Triggers
12-08 20:06:11.987   910  7020 E         : Service not available yet
12-08 20:06:11.989   910  7020 I OMX-VDEC-1080P: component_init: OMX.qcom.video.decoder.avc : fd=295
12-08 20:06:11.989   723  1843 E CHIUSECASE: Snapshot in ZSL
12-08 20:06:11.989   910  7020 E OMX-VDEC-1080P: Unsupported output color format for c2d (2141391876)
12-08 20:06:11.989   910  7020 E OMX-VDEC-1080P: Setting color format failed
12-08 20:06:11.989 22806 23990 W GLConsumer: [SurfaceTexture--1-22806-49] bindTextureImage: clearing GL error: 0x501
12-08 20:06:11.991   910  7020 I OMX-VDEC-1080P: omx_vdec::component_init() success : fd=295
12-08 20:06:11.994 22806 25001 D SurfaceUtils: connecting to surface 0xa2edf808, reason connectToSurface
12-08 20:06:11.994 22806 25001 I MediaCodec: [OMX.qcom.video.decoder.avc] setting surface generation to 23353401
12-08 20:06:11.994 22806 25001 D SurfaceUtils: disconnecting from surface 0xa2edf808, reason connectToSurface(reconnect)
12-08 20:06:11.994 22806 25001 D SurfaceUtils: connecting to surface 0xa2edf808, reason connectToSurface(reconnect)
12-08 20:06:11.995   910  6325 E OMX-VDEC-1080P: Enable/Disable allocate-native-handle allowed only on input port!
12-08 20:06:11.995   910  6325 E OMX-VDEC-1080P: set_parameter: Error: 0x80001019, setting param 0x7f00005d
12-08 20:06:11.995   910  6325 E OMXNodeInstance: setParameter(0xeb2d3f44:qcom.decoder.avc, OMX.google.android.index.allocateNativeHandle(0x7f00005d): Output:1 en=0) ERROR: UnsupportedSetting(0x80001019)
12-08 20:06:11.995   910  6325 E OMX-VDEC-1080P: Extension: OMX.google.android.index.storeANWBufferInMetadata not implemented
12-08 20:06:11.995 22806 25002 I ExtendedACodec: setupVideoDecoder()
12-08 20:06:11.996   910 12798 E OMX-VDEC-1080P: Extension: OMX.google.android.index.storeANWBufferInMetadata not implemented
12-08 20:06:11.997   910 12798 E OMX-VDEC-1080P: Extension: OMX.google.android.index.configureVideoTunnelMode not implemented
12-08 20:06:11.997   910 12798 E OMX-VDEC-1080P: Extension: OMX.google.android.index.useAndroidNativeBuffer is supported
12-08 20:06:11.997 22806 25002 I ExtendedACodec: Decoder will be in frame by frame mode
12-08 20:06:11.999   910  7020 E OMX-VDEC-1080P: Does not handle dataspace request
12-08 20:06:11.999   910  7020 E OMXNodeInstance: getConfig(0xeb2d3f44:qcom.decoder.avc, ??(0x7f000062)) ERROR: UnsupportedSetting(0x80001019)
12-08 20:06:12.001   715   715 W /system/bin/hw/android.hidl.allocator@1.0-service: ashmem_create_region(7077888) returning hidl_memory(0x7f8b02b4e0, 7077888)
12-08 20:06:12.005   715   715 I chatty  : uid=1000(system) allocator@1.0-s identical 2 lines
12-08 20:06:12.007   715   715 W /system/bin/hw/android.hidl.allocator@1.0-service: ashmem_create_region(7077888) returning hidl_memory(0x7f8b02b4e0, 7077888)
12-08 20:06:12.009   910  6325 E OMX-VDEC-1080P: Extension: OMX.google.android.index.AndroidNativeBufferConsumerUsage not implemented
12-08 20:06:12.009 22806 25002 D SurfaceUtils: set up nativeWindow 0xa2edf808 for 600x320, color 0x7fa30c06, rotation 0, usage 0x20002900
12-08 20:06:12.012 22806 25002 W GrallocMapperPassthrough: buffer descriptor with invalid usage bits 0x2000
12-08 20:06:12.014 22806 25002 W GrallocMapperPassthrough: buffer descriptor with invalid usage bits 0x2000
12-08 20:06:12.002   850   850 W AudioOut_1D: type=1400 audit(0.0:380106): avc: denied { write } for name="logd" dev="tmpfs" ino=14654 scontext=u:r:audioserver:s0 tcontext=u:object_r:logd_socket:s0 tclass=sock_file permissive=0
12-08 20:06:12.015 22806 25002 W GrallocMapperPassthrough: buffer descriptor with invalid usage bits 0x2000
12-08 20:06:12.016  2692  2884 I AppActiveChecker: uid:10165change to inactive
12-08 20:06:12.017   723  1843 E CHIUSECASE: SelectFeatureToExecuteCaptureRequest Select Feature 0xd6e75300 type 1 for request:5547
12-08 20:06:12.017 22806 25002 W GrallocMapperPassthrough: buffer descriptor with invalid usage bits 0x2000
12-08 20:06:12.022 22806 25006 I OMXClient: Treble IOmx obtained
12-08 20:06:12.022   910  6325 I OMXMaster: makeComponentInstance(OMX.google.aac.decoder) in omx@1.0-service process
12-08 20:06:12.024   723  1595 E CamX    : [ERROR][STATS_AEC] camxaecengine.cpp:630 AECStateMachineConvergedAndConverging() Process Preflash Triggers
12-08 20:06:12.026 22806 23990 W GLConsumer: [SurfaceTexture--1-22806-49] bindTextureImage: clearing GL error: 0x501
12-08 20:06:12.026   723  1843 E CHIUSECASE: Snapshot in ZSL
12-08 20:06:12.027   910  6325 E OMXNodeInstance: setConfig(0x9fa71600:google.aac.decoder, ConfigPriority(0x6f800002)) ERROR: Undefined(0x80001001)
12-08 20:06:12.028 22806 25006 I ACodec  : codec does not support config priority (err -2147483648)
12-08 20:06:12.029   910  6325 E OMXNodeInstance: setConfig(0x9fa71600:google.aac.decoder, ConfigPriority(0x6f800002)) ERROR: Undefined(0x80001001)
12-08 20:06:12.029 22806 25006 I ACodec  : codec does not support config priority (err -2147483648)
12-08 20:06:12.029   910  6325 E OMXNodeInstance: setConfig(0x9fa71600:google.aac.decoder, ConfigOperatingRate(0x6f800003)) ERROR: Undefined(0x80001001)
12-08 20:06:12.029 22806 25006 I ACodec  : codec does not support config operating rate (err -2147483648)
12-08 20:06:12.030   910  6325 E OMXNodeInstance: getConfig(0x9fa71600:google.aac.decoder, ConfigAndroidVendorExtension(0x6f100004)) ERROR: Undefined(0x80001001)
12-08 20:06:12.030 22806 25006 W ExtendedACodec: Failed to get extension for extradata parameter
12-08 20:06:12.032   715   715 W /system/bin/hw/android.hidl.allocator@1.0-service: ashmem_create_region(8192) returning hidl_memory(0x7f8b02b4e0, 8192)
12-08 20:06:12.033   715   715 I chatty  : uid=1000(system) allocator@1.0-s identical 2 lines
12-08 20:06:12.033   715   715 W /system/bin/hw/android.hidl.allocator@1.0-service: ashmem_create_region(8192) returning hidl_memory(0x7f8b02b4e0, 8192)
12-08 20:06:12.034   715   715 W /system/bin/hw/android.hidl.allocator@1.0-service: ashmem_create_region(32768) returning hidl_memory(0x7f8b02b4e0, 32768)
12-08 20:06:12.035   715   715 I chatty  : uid=1000(system) allocator@1.0-s identical 2 lines
12-08 20:06:12.036   715   715 W /system/bin/hw/android.hidl.allocator@1.0-service: ashmem_create_region(32768) returning hidl_memory(0x7f8b02b4e0, 32768)
12-08 20:06:12.037   721 21358 D msm8974_platform: platform_split_snd_device: snd_device(2) num devices(1) new_snd_devices(0)
12-08 20:06:12.037   721 21358 D ACDB-LOADER: ACDB -> send_audvoltable
12-08 20:06:12.037   721 21358 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_VOL_STEP_TABLE_SIZE
12-08 20:06:12.037   721 21358 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_GAIN_DEP_STEP_TABLE, vol index 5
12-08 20:06:12.037   721 21358 D         : Failed to fetch the lookup information of the device 0000271B 
12-08 20:06:12.037   721 21358 E ACDB-LOADER: Error: ACDB AudProc vol returned = -19
12-08 20:06:12.037   721 21358 D ACDB-LOADER: ACDB -> AUDIO_SET_VOL_CAL cal type = 40
12-08 20:06:12.037   721 21358 D msm8974_platform: platform_split_snd_device: snd_device(2) num devices(1) new_snd_devices(0)
12-08 20:06:12.037   721 21358 D ACDB-LOADER: ACDB -> send_audvoltable
12-08 20:06:12.037   721 21358 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_VOL_STEP_TABLE_SIZE
12-08 20:06:12.037   721 21358 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_GAIN_DEP_STEP_TABLE, vol index 5
12-08 20:06:12.037   721 21358 D         : Failed to fetch the lookup information of the device 0000271B 
12-08 20:06:12.037   721 21358 E ACDB-LOADER: Error: ACDB AudProc vol returned = -19
12-08 20:06:12.037   721 21358 D ACDB-LOADER: ACDB -> AUDIO_SET_VOL_CAL cal type = 40
12-08 20:06:12.038 22806 22806 I Viro    : AVPlayer audio decoder initialized OMX.google.aac.decoder
12-08 20:06:12.038 22806 22806 I Viro    : AVPlayer audio input format changed to Format(2, null, null, audio/mp4a-latm, null, -1, eng, [-1, -1, -1.0], [2, 48000])
12-08 20:06:12.038   850  1476 D APM_AudioPolicyManager: stopOutput() output 29, stream 3, session 7929
12-08 20:06:12.038   850  1476 D APM_AudioPolicyManager: getNewOutputDevice() selected device 0
12-08 20:06:12.038   850  1476 D APM_AudioPolicyManager: setOutputDevice() device 0000 delayMs 160 force 0
12-08 20:06:12.038   850  1476 D APM_AudioPolicyManager: setOutputDevice() prevDevice 0x0002
12-08 20:06:12.038   850  1476 D APM_AudioPolicyManager: setOutputDevice() setting same device 0x0000 or null device
12-08 20:06:12.038   850  1476 D APM_AudioPolicyManager: getNewOutputDevice() selected device 2
12-08 20:06:12.038   850  1476 D APM_AudioPolicyManager: setOutputDevice() device 0002 delayMs 0 force 0
12-08 20:06:12.038   850  1476 D APM_AudioPolicyManager: setOutputDevice() prevDevice 0x0002
12-08 20:06:12.038   850  1476 D APM_AudioPolicyManager: setOutputDevice() setting same device 0x0002 or null device
12-08 20:06:12.038   850  1476 V AudioPolicyManagerCustom: checkAndSetVolume() cannot set stream 6 volume with force use = 0 for comm
12-08 20:06:12.038 22806 25002 W GrallocMapperPassthrough: buffer descriptor with invalid usage bits 0x2000
12-08 20:06:12.039   850  1476 D APM_AudioPolicyManager: getDeviceForStrategy() from cache strategy 3, device 2
12-08 20:06:12.039   850  1476 V AudioPolicyManagerCustom: checkOutputForStrategy(): policy related outputs
12-08 20:06:12.039   721   721 V EffectDiracSound: DiracSound_command() start, cmdCode=4
12-08 20:06:12.039   721   721 I EffectDiracSound: DiracSound_updateState(), enable=0, hifi=0, device=0x2, headset=5, samplingRate=48000
12-08 20:06:12.039   721   721 I EffectDiracSound: DiracSound_updateState(), mode=0, music=0, movie=0, reset=1
12-08 20:06:12.039   721   721 I EffectDiracSound: DiracSound_updateState(), Speaker Movie/Stereo Mode is not supported. Stop update state.
12-08 20:06:12.039   721   721 V EffectDiracSound: EFFECT_CMD_DISABLE() OK
12-08 20:06:12.040 22806 25002 W GrallocMapperPassthrough: buffer descriptor with invalid usage bits 0x2000
12-08 20:06:12.040 22806 25002 W GrallocMapperPassthrough: buffer descriptor with invalid usage bits 0x2000
12-08 20:06:12.041   715   715 W /system/bin/hw/android.hidl.allocator@1.0-service: ashmem_create_region(3840) returning hidl_memory(0x7f8b02b4e0, 3840)
12-08 20:06:12.041 22806 25002 W GrallocMapperPassthrough: buffer descriptor with invalid usage bits 0x2000
12-08 20:06:12.042   721   721 V EffectDiracSound: DiracSound_command() start, cmdCode=20
12-08 20:06:12.042   721   721 V EffectDiracSound: DiracSound_Command EFFECT_CMD_OFFLOAD
12-08 20:06:12.042   721   721 V EffectDiracSound: DiracSound_command() start, cmdCode=1
12-08 20:06:12.042   721   721 V EffectDiracSound: DiracSound_setConfig start
12-08 20:06:12.042   721   721 I EffectDiracSound: DiracSound_updateState(), enable=0, hifi=0, device=0x2, headset=5, samplingRate=48000
12-08 20:06:12.042   721   721 I EffectDiracSound: DiracSound_updateState(), mode=0, music=0, movie=0, reset=0
12-08 20:06:12.042   721   721 I EffectDiracSound: DiracSound_updateState(), Speaker Movie/Stereo Mode is not supported. Stop update state.
12-08 20:06:12.042   721 21358 V EffectDiracSound: DiracSound_command() start, cmdCode=9
12-08 20:06:12.042   721 21358 V EffectDiracSound: DiracSound_Command EFFECT_CMD_SET_DEVICE: 0x00000002
12-08 20:06:12.042   721 21358 V EffectDiracSound: DiracSound_command() start, cmdCode=11
12-08 20:06:12.042   721 21358 V EffectDiracSound: DiracSound_Command EFFECT_CMD_SET_AUDIO_MODE: 0
12-08 20:06:12.043   721   721 V EffectDiracSound: DiracSound_command() start, cmdCode=3
12-08 20:06:12.043   721   721 I EffectDiracSound: DiracSound_updateState(), enable=1, hifi=0, device=0x2, headset=5, samplingRate=48000
12-08 20:06:12.043   721   721 I EffectDiracSound: DiracSound_updateState(), mode=0, music=0, movie=0, reset=1
12-08 20:06:12.043   721   721 I EffectDiracSound: DiracSound_updateState(), Speaker Movie/Stereo Mode is not supported. Stop update state.
12-08 20:06:12.043   721   721 V EffectDiracSound: EFFECT_CMD_ENABLE() OK
12-08 20:06:12.043   721   721 V EffectMiSound: MiSound_command() start, cmdCode=4
12-08 20:06:12.043   721   721 I EffectMiSound: MiSound_updateState(), enable=0, hifi=0, device=0x2, headset=5, samplingRate=48000
12-08 20:06:12.043   721   721 I EffectMiSound: MiSound_updateState(), mode=0, music=0, movie=0, reset=1
12-08 20:06:12.043   721   721 I EffectMiSound: MiSound_updateState(), Speaker Dual Mode is not supported. Stop update state.
12-08 20:06:12.043   721   721 V EffectMiSound: EFFECT_CMD_DISABLE() OK
12-08 20:06:12.043   721   721 V EffectMiSound: MiSound_command() start, cmdCode=20
12-08 20:06:12.043   721   721 V EffectMiSound: MiSound_Command EFFECT_CMD_OFFLOAD
12-08 20:06:12.043   721 21358 V EffectDiracSound: DiracSound_command() start, cmdCode=1
12-08 20:06:12.043   721 21358 V EffectDiracSound: DiracSound_setConfig start
12-08 20:06:12.043   721 21358 I EffectDiracSound: DiracSound_updateState(), enable=1, hifi=0, device=0x2, headset=5, samplingRate=48000
12-08 20:06:12.043   721 21358 I EffectDiracSound: DiracSound_updateState(), mode=0, music=0, movie=0, reset=0
12-08 20:06:12.043   721 21358 I EffectDiracSound: DiracSound_updateState(), Speaker Movie/Stereo Mode is not supported. Stop update state.
12-08 20:06:12.044   721   721 V EffectMiSound: MiSound_command() start, cmdCode=1
12-08 20:06:12.044   721   721 V EffectMiSound: MiSound_setConfig start
12-08 20:06:12.044   721   721 I EffectMiSound: MiSound_updateState(), enable=0, hifi=0, device=0x2, headset=5, samplingRate=48000
12-08 20:06:12.044   721   721 I EffectMiSound: MiSound_updateState(), mode=0, music=0, movie=0, reset=0
12-08 20:06:12.044   721   721 I EffectMiSound: MiSound_updateState(), Speaker Dual Mode is not supported. Stop update state.
12-08 20:06:12.044   721 21358 V EffectMiSound: MiSound_command() start, cmdCode=9
12-08 20:06:12.044   721 21358 V EffectMiSound: MiSound_Command EFFECT_CMD_SET_DEVICE: 0x00000002
12-08 20:06:12.044   721 21358 V EffectMiSound: MiSound_command() start, cmdCode=11
12-08 20:06:12.044   721 21358 V EffectMiSound: MiSound_Command EFFECT_CMD_SET_AUDIO_MODE: 0
@manbod

This comment has been minimized.

Copy link
Collaborator

commented Dec 14, 2018

Hi @kesha-antonov ,
Thanks for reporting this. I tested and can confirm I am seeing these logs from AVPlayer. We've logged this bug internally and should have a fix in an upcoming release.

Thanks.

@kesha-antonov

This comment has been minimized.

Copy link
Author

commented Dec 14, 2018

@manbod Thanks! Waiting

@krishanjangir

This comment has been minimized.

Copy link

commented Apr 27, 2019

@manbod @VikAdvani

After updating my Viro all videos are crashing, getting below error in Android Studio Logcat.

Development OS: Mac
Device OS & Version: Android OS 9.0
Version: ViroReact 2.14.0 and React Native 0.59.3
Device(s): Motorola G5 Plus

2019-04-28 02:31:34.282 16619-16619/com.app.myViro A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x4 in tid 16619 (.app.myViro), pid 16619 (.app.myViro)
2019-04-28 02:31:34.317 16619-16745/com.app.myViro I/ExoPlayerImpl: Init fafa588 [ExoPlayerLib/2.9.3] [sanders_n, Moto G (5S) Plus, motorola, 27]
2019-04-28 02:31:34.326 16619-16745/com.app.myViro W/SimpleExoPlayer: Player is accessed on the wrong thread. See https://google.github.io/ExoPlayer/faqs.html#what-do-player-is-accessed-on-the-wrong-thread-warnings-mean
java.lang.IllegalStateException
    at 
com.google.android.exoplayer2.SimpleExoPlayer.verifyApplicationThread(SimpleExoPlayer.java:1195)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.