fgl27 / SmartTwitchTV

A Twitch web client that works on Android TVs and web base systems
GNU General Public License v3.0
366 stars 28 forks source link

Stream keeps playing on background #86

Closed twiikker closed 1 year ago

twiikker commented 2 years ago

Sometimes when i leave stream with back button. (Set it up for single press). Stream keeps playing hidden in background. Sound stay alive and it doesnt matter if i re enter same stream. Then there will be 2 stream audio played simultanious. Bit out of sync of each other. It keeps playing even if i go to home screen. Only solution i have is to force stop this app. Happens like every 4th time exiting stream.

Sony android tv xe85 android 9.

fgl27 commented 2 years ago

Device issue...

Here https://github.com/fgl27/SmartTwitchTV/issues/26 Was reported a related issue.

None of my devices have ever done this...

Can you generate a bug report?

If yes share one generate it right after the problem happens.

twiikker commented 2 years ago

Okey. Couldnt find anywhere in app to generate it so could you help me to find how to do it.

fgl27 commented 2 years ago

https://developer.android.com/studio/debug/bug-report

Is a Android feature

fgl27 commented 2 years ago

I'll take s look at the logs when I have sometime. Thanks for sending it.

twiikker commented 2 years ago

I can also help to debug for simple adb stuff if something comes in mind what i can check with it.

fgl27 commented 2 years ago

If you can reproduce the issue easily, try to capture a "logcat", of the exactly moment that it happens (stop the log after 10 seconds of the issue), as that log will be much easier to see the problem, as a bug report has billions of lines of log, I'm only interested in the logcat of when the issue happens.

I didn't had time yet to see the logs when I do I let you know.

G0mez82 commented 2 years ago

Does same for me sometimes on shield tv. I use memory cleaner app to clean memory to make it stop

fgl27 commented 2 years ago

On my shield never ever this has happen or to any of my devices I use this on 5 different devices, maybe is something you do an app an settings.

twiikker commented 2 years ago

I'll see if i can catch it. So you just want me to run logcat without any extra parameters? Also i just cleaned all sony bloatware from my tv and if its low memory issue then i just have to see if it happens anymore. Tv feels 2x faster now so bloatware had huge impact on system.

fgl27 commented 2 years ago

Yes just an "logcat" is fine, let it run, cause the issue stop after a few seconds share the result in a txt file.

twiikker commented 2 years ago

Okey. Btw issue doesnt stop after few seconds. It will go on until i kill this app. Do you need any data before this error occurs? Like if i run logcat without time argument it will start from 24hours before i run command. Im making batch script so i can try to hunt some logs since i dont know how to reproduce this error manually. It is random and usually after watching stream for long time.

fgl27 commented 2 years ago

Yes I understand he behavior of when it keep playing, in relation to the logs is only needed the moment you exit the app and it keep playing, just a few seconds after that is fine, as is on that moment that it malfunctions.

fgl27 commented 2 years ago

I did have time to address this as the app demanded an update.

Now that I released a new APK it has a updated version of the player.

Does the problem continue? please test on APK version 3.0.330 and let me know.

twiikker commented 2 years ago

Awesome! Ill try out and will report in week or so if it does not happen anymore.

twiikker commented 2 years ago

Okey it still happened. Idk if it somekind of background task problem. Like i had stream running for 3 hours or so and then exited. It comes into black screen with that loading circle arrow image and after 2-3 seconds its back on that stream selection menu and after 2 more seconds it started playing in background again. And yes i verified that apk is on version 3.0.330.

fgl27 commented 2 years ago

OK i understand the process you did, I can't replicate but I may be able to address it on the app code

I let you know when I have news.

Thanks.

DooMMasteR commented 1 year ago

I have the same issue, only occurred once or twice on my Mi Box 3 but now I have a Homatics Box R 4K Plus and it happens all the time.
Only fix is to kill the app (exiting via close does nothing).
I guess it is some kind of race condition because the new box is a lot quicker than the old one was.

fgl27 commented 1 year ago

Device issue, 4 post has how to create a bug report, do that right after the issue has happen and share.

DooMMasteR commented 1 year ago
01-21 16:43:49.019 16390 16933 D SurfaceUtils: connecting to surface 0xf25960b8, reason connectToSurface
01-21 16:43:49.019 16390 16933 I MediaCodec: [OMX.amlogic.avc.decoder.awesome2] setting surface generation to 16783368
01-21 16:43:49.019 16390 16933 D SurfaceUtils: disconnecting from surface 0xf25960b8, reason connectToSurface(reconnect)
01-21 16:43:49.019 16390 16933 D SurfaceUtils: connecting to surface 0xf25960b8, reason connectToSurface(reconnect)
01-21 16:43:49.020 16390 16934 D SurfaceUtils: set up nativeWindow 0xf25960b8 for 1920x1080, color 0x11, rotation 0, usage 0xc02933
01-21 16:43:49.021 16390 16933 D SurfaceUtils: disconnecting from surface 0xf25979e8, reason disconnectFromSurface
01-21 16:43:49.032 16390 16390 I ExoPlayerImpl: Release d03ad92 [ExoPlayerLib/2.18.1] [YYJ, Box R 4K Plus, SEI Robotics, 30] [goog.exo.core, goog.exo.ui, goog.exo.hls, goog.exo.exoplayer, goog.exo.decoder, goog.exo.datasource, goog.exo.extractor]
01-21 16:43:49.080 16390 16940 D CCodecBuffers: [c2.android.aac.decoder#648:1D-Output.Impl[N]] Client returned a buffer it does not own according to our record: 0
01-21 16:43:49.080 16390 16940 D CCodecBuffers: [c2.android.aac.decoder#648:1D-Output.Impl[N]] Client returned a buffer it does not own according to our record: 1
01-21 16:43:49.080 16390 16940 D CCodecBuffers: [c2.android.aac.decoder#648:1D-Output.Impl[N]] Client returned a buffer it does not own according to our record: 2
01-21 16:43:49.081 16390 16940 I CCodecConfig: query failed after returning 19 values (BAD_INDEX)
01-21 16:43:49.082 16390 16940 D CCodecConfig: c2 config diff is   c2::i32 coding.drc.compression-mode.value = 3
01-21 16:43:49.083 16390 16940 W Codec2Client: query -- param skipped: index = 1342179345.
01-21 16:43:49.083 16390 16940 W Codec2Client: query -- param skipped: index = 2415921170.
01-21 16:43:49.083 16390 16940 W Codec2Client: query -- param skipped: index = 1610614798.
01-21 16:43:49.084 16390 16933 D SurfaceUtils: connecting to surface 0xf258fbf8, reason connectToSurface
01-21 16:43:49.084 16390 16933 I MediaCodec: [OMX.amlogic.avc.decoder.awesome2] setting surface generation to 16783369
01-21 16:43:49.084 16390 16933 D SurfaceUtils: disconnecting from surface 0xf258fbf8, reason connectToSurface(reconnect)
01-21 16:43:49.084 16390 16933 D SurfaceUtils: connecting to surface 0xf258fbf8, reason connectToSurface(reconnect)
01-21 16:43:49.086 16390 16934 D SurfaceUtils: set up nativeWindow 0xf258fbf8 for 1920x1080, color 0x11, rotation 0, usage 0xc02933
01-21 16:43:49.086 16390 16933 D SurfaceUtils: disconnecting from surface 0xf25960b8, reason disconnectFromSurface
01-21 16:43:49.092 16390 16940 D CCodecBufferChannel: [c2.android.aac.decoder#648] MediaCodec discarded an unknown buffer
01-21 16:43:49.093 16390 16940 I chatty  : uid=10087(com.fgl27.twitch) MediaCodec_loop identical 2 lines
01-21 16:43:49.093 16390 16940 D CCodecBufferChannel: [c2.android.aac.decoder#648] MediaCodec discarded an unknown buffer
01-21 16:43:49.096 16390 16940 I hw-BpHwBinder: onLastStrongRef automatically unlinking death recipients
01-21 16:43:49.128 16390 16933 D SurfaceUtils: disconnecting from surface 0xf258fbf8, reason disconnectFromSurface
01-21 16:43:49.897 16390 16390 I ExoPlayerImpl: Init adf1b8f [ExoPlayerLib/2.18.1] [YYJ, Box R 4K Plus, SEI Robotics, 30]
01-21 16:43:50.300 16390 17029 I OMXClient: IOmx service obtained
01-21 16:43:50.309 16390 17028 D SurfaceUtils: connecting to surface 0xf2587e08, reason connectToSurface
01-21 16:43:50.310 16390 17028 I MediaCodec: [OMX.amlogic.avc.decoder.awesome2] setting surface generation to 16783370
01-21 16:43:50.310 16390 17028 D SurfaceUtils: disconnecting from surface 0xf2587e08, reason connectToSurface(reconnect)
01-21 16:43:50.310 16390 17028 D SurfaceUtils: connecting to surface 0xf2587e08, reason connectToSurface(reconnect)
01-21 16:43:50.313 16390 17029 I AmAVUtils: AmAVUtils::getComponentRole isEncoder :0 mime:video/avc 
01-21 16:43:50.314 16390 17029 V MediaVendorExt: AVUtils::getComponentRole
01-21 16:43:50.314 16390 17029 I MediaVendorExt: AmAVUtils::getComponentRole isEncoder :0 mime:video/avc 
01-21 16:43:50.318 16390 17029 I AmAVUtils: AmAVUtils::isAudioExtendFormat input = video/avc
01-21 16:43:50.318 16390 17029 I AmAVUtils: AmAVUtils::isExtendFormat input = video/avc
01-21 16:43:50.318 16390 17029 I ACodec  : codec does not support config priority (err -1010)
01-21 16:43:50.318 16390 17029 I ACodec  : codec does not support config operating rate (err -1010)
01-21 16:43:50.342 16390 17029 D SurfaceUtils: set up nativeWindow 0xf2587e08 for 1920x1080, color 0x11, rotation 0, usage 0xc02933
01-21 16:43:50.358 16390 17036 D CCodec  : allocate(c2.android.aac.decoder)
01-21 16:43:50.365 16390 17036 I CCodec  : Created component [c2.android.aac.decoder]
01-21 16:43:50.365 16390 17036 D CCodecConfig: read media type: audio/mp4a-latm
01-21 16:43:50.370 16390 17036 D ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.max-count.values
01-21 16:43:50.370 16390 17036 D ReflectedParamUpdater: extent() != 1 for single value type: output.subscribed-indices.values
01-21 16:43:50.371 16390 17036 D ReflectedParamUpdater: extent() != 1 for single value type: input.buffers.allocator-ids.values
01-21 16:43:50.371 16390 17036 D ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.allocator-ids.values
01-21 16:43:50.371 16390 17036 D ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.allocator-ids.values
01-21 16:43:50.371 16390 17036 D ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.pool-ids.values
01-21 16:43:50.373 16390 17036 D ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.pool-ids.values
01-21 16:43:50.378 16390 17036 I CCodecConfig: query failed after returning 19 values (BAD_INDEX)
01-21 16:43:50.379 16390 17036 D CCodecConfig: c2 config diff is Dict {
01-21 16:43:50.379 16390 17036 D CCodecConfig:   c2::u32 coded.aac-packaging.value = 0
01-21 16:43:50.379 16390 17036 D CCodecConfig:   c2::u32 coded.bitrate.value = 64000
01-21 16:43:50.379 16390 17036 D CCodecConfig:   c2::u32 coded.pl.level = 0
01-21 16:43:50.379 16390 17036 D CCodecConfig:   c2::u32 coded.pl.profile = 8192
01-21 16:43:50.379 16390 17036 D CCodecConfig:   c2::i32 coding.drc.album-mode.value = 0
01-21 16:43:50.379 16390 17036 D CCodecConfig:   c2::float coding.drc.attenuation-factor.value = 1
01-21 16:43:50.379 16390 17036 D CCodecConfig:   c2::float coding.drc.boost-factor.value = 1
01-21 16:43:50.379 16390 17036 D CCodecConfig:   c2::i32 coding.drc.compression-mode.value = 3
01-21 16:43:50.379 16390 17036 D CCodecConfig:   c2::i32 coding.drc.effect-type.value = 3
01-21 16:43:50.379 16390 17036 D CCodecConfig:   c2::float coding.drc.encoded-level.value = 0.25
01-21 16:43:50.379 16390 17036 D CCodecConfig:   c2::float coding.drc.reference-level.value = -16
01-21 16:43:50.379 16390 17036 D CCodecConfig:   c2::u32 input.buffers.max-size.value = 8192
01-21 16:43:50.379 16390 17036 D CCodecConfig:   c2::u32 input.delay.value = 0
01-21 16:43:50.379 16390 17036 D CCodecConfig:   string input.media-type.value = "audio/mp4a-latm"
01-21 16:43:50.379 16390 17036 D CCodecConfig:   c2::u32 output.delay.value = 2
01-21 16:43:50.379 16390 17036 D CCodecConfig:   c2::float output.drc.output-loudness.value = 0.25
01-21 16:43:50.379 16390 17036 D CCodecConfig:   string output.media-type.value = "audio/raw"
01-21 16:43:50.379 16390 17036 D CCodecConfig:   c2::u32 raw.channel-count.value = 1
01-21 16:43:50.379 16390 17036 D CCodecConfig:   c2::u32 raw.max-channel-count.value = 8
01-21 16:43:50.379 16390 17036 D CCodecConfig:   c2::u32 raw.sample-rate.value = 44100
01-21 16:43:50.379 16390 17036 D CCodecConfig: }
01-21 16:43:50.381 16390 17036 D CCodec  : [c2.android.aac.decoder] buffers are bound to CCodec for this session
01-21 16:43:50.381 16390 17036 D CCodecConfig: no c2 equivalents for flags
01-21 16:43:50.383 16390 17036 D CCodecConfig: c2 config diff is   c2::u32 raw.channel-count.value = 2
01-21 16:43:50.383 16390 17036 D CCodecConfig:   c2::u32 raw.sample-rate.value = 48000
01-21 16:43:50.391 16390 17036 W Codec2Client: query -- param skipped: index = 1107298332.
01-21 16:43:50.391 16390 17036 D CCodec  : setup formats input: AMessage(what = 0x00000000) = {
01-21 16:43:50.391 16390 17036 D CCodec  :   int32_t aac-drc-album-mode = 0
01-21 16:43:50.391 16390 17036 D CCodec  :   int32_t aac-drc-boost-level = 127
01-21 16:43:50.391 16390 17036 D CCodec  :   int32_t aac-drc-cut-level = 127
01-21 16:43:50.391 16390 17036 D CCodec  :   int32_t aac-drc-effect-type = 3
01-21 16:43:50.391 16390 17036 D CCodec  :   int32_t aac-drc-heavy-compression = 3
01-21 16:43:50.391 16390 17036 D CCodec  :   int32_t aac-encoded-target-level = -1
01-21 16:43:50.391 16390 17036 D CCodec  :   int32_t aac-max-output-channel_count = 8
01-21 16:43:50.391 16390 17036 D CCodec  :   int32_t aac-target-ref-level = 64
01-21 16:43:50.391 16390 17036 D CCodec  :   int32_t channel-count = 2
01-21 16:43:50.391 16390 17036 D CCodec  :   int32_t level = 0
01-21 16:43:50.391 16390 17036 D CCodec  :   int32_t max-input-size = 8192
01-21 16:43:50.391 16390 17036 D CCodec  :   string mime = "audio/mp4a-latm"
01-21 16:43:50.391 16390 17036 D CCodec  :   int32_t profile = 2
01-21 16:43:50.391 16390 17036 D CCodec  :   int32_t sample-rate = 48000
01-21 16:43:50.391 16390 17036 D CCodec  : } and output: AMessage(what = 0x00000000) = {
01-21 16:43:50.391 16390 17036 D CCodec  :   int32_t aac-drc-album-mode = 0
01-21 16:43:50.391 16390 17036 D CCodec  :   int32_t aac-drc-boost-level = 127
01-21 16:43:50.391 16390 17036 D CCodec  :   int32_t aac-drc-cut-level = 127
01-21 16:43:50.391 16390 17036 D CCodec  :   int32_t aac-drc-effect-type = 3
01-21 16:43:50.391 16390 17036 D CCodec  :   int32_t aac-drc-heavy-compression = 3
01-21 16:43:50.391 16390 17036 D CCodec  :   int32_t aac-drc-output-loudness = -1
01-21 16:43:50.391 16390 17036 D CCodec  :   int32_t aac-encoded-target-level = -1
01-21 16:43:50.391 16390 17036 D CCodec  :   int32_t aac-max-output-channel_count = 8
01-21 16:43:50.391 16390 17036 D CCodec  :   int32_t aac-target-ref-level = 64
01-21 16:43:50.391 16390 17036 D CCodec  :   int32_t channel-count = 2
01-21 16:43:50.391 16390 17036 D CCodec  :   string mime = "audio/raw"
01-21 16:43:50.391 16390 17036 D CCodec  :   int32_t sample-rate = 48000
01-21 16:43:50.391 16390 17036 D CCodec  : }
01-21 16:43:50.394 16390 17029 W gralloc4: Buffer descriptor with invalid usage bits 0x2000
01-21 16:43:50.396 16390 17036 W Codec2Client: query -- param skipped: index = 1342179345.
01-21 16:43:50.396 16390 17036 W Codec2Client: query -- param skipped: index = 2415921170.
01-21 16:43:50.396 16390 17036 W Codec2Client: query -- param skipped: index = 1610614798.
01-21 16:43:50.398 16390 17036 E FMQ     : grantorIdx must be less than 3
01-21 16:43:50.398 16390 17036 E FMQ     : grantorIdx must be less than 3
01-21 16:43:50.401 16390 17036 D CCodecBufferChannel: [c2.android.aac.decoder#917] Created input block pool with allocatorID 16 => poolID 20 - OK (0)
01-21 16:43:50.401 16390 17029 W gralloc4: Buffer descriptor with invalid usage bits 0x2000
01-21 16:43:50.403 16390 16593 D BufferPoolAccessor2.0: bufferpool2 0xf24bb7e8 : 0(0 size) total buffers - 0(0 size) used buffers - 1/7 (recycle/alloc) - 10/6811 (fetch/transfer)
01-21 16:43:50.404 16390 16593 D BufferPoolAccessor2.0: Destruction - bufferpool2 0xf24bb7e8 cached: 0/0M, 0/0% in use; allocs: 7, 14% recycled; transfers: 6811, 100% unfetched
01-21 16:43:50.404 16390 17036 I CCodecBufferChannel: [c2.android.aac.decoder#917] Created output block pool with allocatorID 16 => poolID 105 - OK
01-21 16:43:50.406 16390 17036 D CCodecBufferChannel: [c2.android.aac.decoder#917] Configured output block pool ids 105 => OK
01-21 16:43:50.411 16390 17036 E FMQ     : grantorIdx must be less than 3
01-21 16:43:50.426 16390 16593 E FMQ     : grantorIdx must be less than 3
01-21 16:43:50.432 16390 17036 D CCodecConfig: c2 config diff is   c2::i32 coding.drc.compression-mode.value = 1
01-21 16:43:50.433 16390 17036 D CCodecBuffers: [c2.android.aac.decoder#917:Output[N]] popFromStashAndRegister: output format changed to AMessage(what = 0x00000000) = {
01-21 16:43:50.433 16390 17036 D CCodecBuffers:   int32_t aac-drc-album-mode = 0
01-21 16:43:50.433 16390 17036 D CCodecBuffers:   int32_t aac-drc-boost-level = 127
01-21 16:43:50.433 16390 17036 D CCodecBuffers:   int32_t aac-drc-cut-level = 127
01-21 16:43:50.433 16390 17036 D CCodecBuffers:   int32_t aac-drc-effect-type = 3
01-21 16:43:50.433 16390 17036 D CCodecBuffers:   int32_t aac-drc-heavy-compression = 1
01-21 16:43:50.433 16390 17036 D CCodecBuffers:   int32_t aac-drc-output-loudness = -1
01-21 16:43:50.433 16390 17036 D CCodecBuffers:   int32_t aac-encoded-target-level = -1
01-21 16:43:50.433 16390 17036 D CCodecBuffers:   int32_t aac-max-output-channel_count = 8
01-21 16:43:50.433 16390 17036 D CCodecBuffers:   int32_t aac-target-ref-level = 64
01-21 16:43:50.433 16390 17036 D CCodecBuffers:   int32_t channel-count = 2
01-21 16:43:50.433 16390 17036 D CCodecBuffers:   string mime = "audio/raw"
01-21 16:43:50.433 16390 17036 D CCodecBuffers:   int32_t sample-rate = 48000
01-21 16:43:50.433 16390 17036 D CCodecBuffers: }
01-21 16:43:50.434 16390 17029 W gralloc4: Buffer descriptor with invalid usage bits 0x2000
01-21 16:43:50.440 16390 17029 W gralloc4: Buffer descriptor with invalid usage bits 0x2000
01-21 16:43:50.448 16390 17029 W gralloc4: Buffer descriptor with invalid usage bits 0x2000
01-21 16:43:50.457 16390 17029 W gralloc4: Buffer descriptor with invalid usage bits 0x2000
01-21 16:43:50.464 16390 17029 W gralloc4: Buffer descriptor with invalid usage bits 0x2000
01-21 16:43:50.473 16390 17029 W gralloc4: Buffer descriptor with invalid usage bits 0x2000
01-21 16:43:50.490 16390 17029 W gralloc4: Buffer descriptor with invalid usage bits 0x2000
01-21 16:43:50.495 16390 17029 W gralloc4: Buffer descriptor with invalid usage bits 0x2000
01-21 16:43:50.499 16390 16593 D CCodecBuffers: [c2.android.aac.decoder#917:1D-Input.Impl[N]] codec released a buffer owned by client (index 1)
01-21 16:43:51.480 16390 17029 W gralloc4: Buffer descriptor with invalid usage bits 0x2000
01-21 16:43:51.501 16390 17023 D AudioTrack: getTimestamp_l(262): device stall time corrected using current time 151040284506645
01-21 16:43:51.519 16390 17029 W gralloc4: Buffer descriptor with invalid usage bits 0x2000
01-21 16:43:51.539 16390 17029 W gralloc4: Buffer descriptor with invalid usage bits 0x2000
01-21 16:43:51.619 16390 17029 W gralloc4: Buffer descriptor with invalid usage bits 0x2000
01-21 16:43:51.767 16390 16593 D CCodecBuffers: [c2.android.aac.decoder#917:1D-Input.Impl[N]] codec released a buffer owned by client (index 1)
01-21 16:43:52.102 16390 17028 D SurfaceUtils: connecting to surface 0xf25960b8, reason connectToSurface
01-21 16:43:52.102 16390 17028 I MediaCodec: [OMX.amlogic.avc.decoder.awesome2] setting surface generation to 16783371
01-21 16:43:52.102 16390 17028 D SurfaceUtils: disconnecting from surface 0xf25960b8, reason connectToSurface(reconnect)
01-21 16:43:52.102 16390 17028 D SurfaceUtils: connecting to surface 0xf25960b8, reason connectToSurface(reconnect)
01-21 16:43:52.103 16390 17029 D SurfaceUtils: set up nativeWindow 0xf25960b8 for 1920x1080, color 0x11, rotation 0, usage 0xc02933
01-21 16:43:52.104 16390 17028 D SurfaceUtils: disconnecting from surface 0xf2587e08, reason disconnectFromSurface
01-21 16:43:52.112 16390 16390 I ExoPlayerImpl: Release adf1b8f [ExoPlayerLib/2.18.1] [YYJ, Box R 4K Plus, SEI Robotics, 30] [goog.exo.core, goog.exo.ui, goog.exo.hls, goog.exo.exoplayer, goog.exo.decoder, goog.exo.datasource, goog.exo.extractor]
01-21 16:43:52.155 16390 17036 I CCodecConfig: query failed after returning 19 values (BAD_INDEX)
01-21 16:43:52.155 16390 17036 D CCodecConfig: c2 config diff is   c2::i32 coding.drc.compression-mode.value = 3
01-21 16:43:52.158 16390 17036 W Codec2Client: query -- param skipped: index = 1342179345.
01-21 16:43:52.158 16390 17036 W Codec2Client: query -- param skipped: index = 2415921170.
01-21 16:43:52.158 16390 17036 W Codec2Client: query -- param skipped: index = 1610614798.
01-21 16:43:52.159 16390 17028 D SurfaceUtils: connecting to surface 0xf2592e58, reason connectToSurface
01-21 16:43:52.159 16390 17028 I MediaCodec: [OMX.amlogic.avc.decoder.awesome2] setting surface generation to 16783372
01-21 16:43:52.159 16390 17028 D SurfaceUtils: disconnecting from surface 0xf2592e58, reason connectToSurface(reconnect)
01-21 16:43:52.159 16390 17028 D SurfaceUtils: connecting to surface 0xf2592e58, reason connectToSurface(reconnect)
01-21 16:43:52.162 16390 17029 D SurfaceUtils: set up nativeWindow 0xf2592e58 for 1920x1080, color 0x11, rotation 0, usage 0xc02933
01-21 16:43:52.163 16390 17028 D SurfaceUtils: disconnecting from surface 0xf25960b8, reason disconnectFromSurface
01-21 16:43:52.166 16390 17036 D CCodecBufferChannel: [c2.android.aac.decoder#917] MediaCodec discarded an unknown buffer
01-21 16:43:52.166 16390 17036 I chatty  : uid=10087(com.fgl27.twitch) identical 2 lines
01-21 16:43:52.166 16390 17036 D CCodecBufferChannel: [c2.android.aac.decoder#917] MediaCodec discarded an unknown buffer
01-21 16:43:52.171 16390 17050 I hw-BpHwBinder: onLastStrongRef automatically unlinking death recipients
01-21 16:43:52.211 16390 17028 D SurfaceUtils: disconnecting from surface 0xf2592e58, reason disconnectFromSurface
01-21 16:43:52.830 16390 16390 I ExoPlayerImpl: Init 99c5598 [ExoPlayerLib/2.18.1] [YYJ, Box R 4K Plus, SEI Robotics, 30]
01-21 16:43:53.303 16390 17060 I OMXClient: IOmx service obtained
01-21 16:43:53.310 16390 17059 D SurfaceUtils: connecting to surface 0xf2594788, reason connectToSurface
01-21 16:43:53.310 16390 17059 I MediaCodec: [OMX.amlogic.avc.decoder.awesome2] setting surface generation to 16783373
01-21 16:43:53.311 16390 17059 D SurfaceUtils: disconnecting from surface 0xf2594788, reason connectToSurface(reconnect)
01-21 16:43:53.311 16390 17059 D SurfaceUtils: connecting to surface 0xf2594788, reason connectToSurface(reconnect)
01-21 16:43:53.312 16390 17060 I AmAVUtils: AmAVUtils::getComponentRole isEncoder :0 mime:video/avc 
01-21 16:43:53.312 16390 17060 V MediaVendorExt: AVUtils::getComponentRole
01-21 16:43:53.312 16390 17060 I MediaVendorExt: AmAVUtils::getComponentRole isEncoder :0 mime:video/avc 
01-21 16:43:53.316 16390 17060 I AmAVUtils: AmAVUtils::isAudioExtendFormat input = video/avc
01-21 16:43:53.316 16390 17060 I AmAVUtils: AmAVUtils::isExtendFormat input = video/avc
01-21 16:43:53.316 16390 17060 I ACodec  : codec does not support config priority (err -1010)
01-21 16:43:53.317 16390 17060 I ACodec  : codec does not support config operating rate (err -1010)
01-21 16:43:53.345 16390 17060 D SurfaceUtils: set up nativeWindow 0xf2594788 for 1920x1080, color 0x11, rotation 0, usage 0xc02933
01-21 16:43:53.379 16390 17066 D CCodec  : allocate(c2.android.aac.decoder)
01-21 16:43:53.386 16390 17060 W gralloc4: Buffer descriptor with invalid usage bits 0x2000
01-21 16:43:53.390 16390 17066 I CCodec  : Created component [c2.android.aac.decoder]
01-21 16:43:53.396 16390 17060 W gralloc4: Buffer descriptor with invalid usage bits 0x2000
01-21 16:43:53.397 16390 17066 D CCodecConfig: read media type: audio/mp4a-latm
01-21 16:43:53.416 16390 17066 D ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.max-count.values
01-21 16:43:53.417 16390 17066 D ReflectedParamUpdater: extent() != 1 for single value type: output.subscribed-indices.values
01-21 16:43:53.417 16390 17066 D ReflectedParamUpdater: extent() != 1 for single value type: input.buffers.allocator-ids.values
01-21 16:43:53.417 16390 17066 D ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.allocator-ids.values
01-21 16:43:53.417 16390 17066 D ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.allocator-ids.values
01-21 16:43:53.417 16390 17066 D ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.pool-ids.values
01-21 16:43:53.417 16390 17066 D ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.pool-ids.values
01-21 16:43:53.424 16390 17066 I CCodecConfig: query failed after returning 19 values (BAD_INDEX)
01-21 16:43:53.425 16390 17066 D CCodecConfig: c2 config diff is Dict {
01-21 16:43:53.425 16390 17066 D CCodecConfig:   c2::u32 coded.aac-packaging.value = 0
01-21 16:43:53.425 16390 17066 D CCodecConfig:   c2::u32 coded.bitrate.value = 64000
01-21 16:43:53.425 16390 17066 D CCodecConfig:   c2::u32 coded.pl.level = 0
01-21 16:43:53.425 16390 17066 D CCodecConfig:   c2::u32 coded.pl.profile = 8192
01-21 16:43:53.425 16390 17066 D CCodecConfig:   c2::i32 coding.drc.album-mode.value = 0
01-21 16:43:53.425 16390 17066 D CCodecConfig:   c2::float coding.drc.attenuation-factor.value = 1
01-21 16:43:53.425 16390 17066 D CCodecConfig:   c2::float coding.drc.boost-factor.value = 1
01-21 16:43:53.425 16390 17066 D CCodecConfig:   c2::i32 coding.drc.compression-mode.value = 3
01-21 16:43:53.425 16390 17066 D CCodecConfig:   c2::i32 coding.drc.effect-type.value = 3
01-21 16:43:53.425 16390 17066 D CCodecConfig:   c2::float coding.drc.encoded-level.value = 0.25
01-21 16:43:53.425 16390 17066 D CCodecConfig:   c2::float coding.drc.reference-level.value = -16
01-21 16:43:53.425 16390 17066 D CCodecConfig:   c2::u32 input.buffers.max-size.value = 8192
01-21 16:43:53.425 16390 17066 D CCodecConfig:   c2::u32 input.delay.value = 0
01-21 16:43:53.425 16390 17066 D CCodecConfig:   string input.media-type.value = "audio/mp4a-latm"
01-21 16:43:53.425 16390 17066 D CCodecConfig:   c2::u32 output.delay.value = 2
01-21 16:43:53.425 16390 17066 D CCodecConfig:   c2::float output.drc.output-loudness.value = 0.25
01-21 16:43:53.425 16390 17066 D CCodecConfig:   string output.media-type.value = "audio/raw"
01-21 16:43:53.425 16390 17066 D CCodecConfig:   c2::u32 raw.channel-count.value = 1
01-21 16:43:53.425 16390 17066 D CCodecConfig:   c2::u32 raw.max-channel-count.value = 8
01-21 16:43:53.425 16390 17066 D CCodecConfig:   c2::u32 raw.sample-rate.value = 44100
01-21 16:43:53.425 16390 17066 D CCodecConfig: }
01-21 16:43:53.427 16390 17066 D CCodec  : [c2.android.aac.decoder] buffers are bound to CCodec for this session
01-21 16:43:53.427 16390 17066 D CCodecConfig: no c2 equivalents for flags
01-21 16:43:53.428 16390 17066 D CCodecConfig: c2 config diff is   c2::u32 raw.channel-count.value = 2
01-21 16:43:53.428 16390 17066 D CCodecConfig:   c2::u32 raw.sample-rate.value = 48000
01-21 16:43:53.431 16390 17066 W Codec2Client: query -- param skipped: index = 1107298332.
01-21 16:43:53.432 16390 17066 D CCodec  : setup formats input: AMessage(what = 0x00000000) = {
01-21 16:43:53.432 16390 17066 D CCodec  :   int32_t aac-drc-album-mode = 0
01-21 16:43:53.432 16390 17066 D CCodec  :   int32_t aac-drc-boost-level = 127
01-21 16:43:53.432 16390 17066 D CCodec  :   int32_t aac-drc-cut-level = 127
01-21 16:43:53.432 16390 17066 D CCodec  :   int32_t aac-drc-effect-type = 3
01-21 16:43:53.432 16390 17066 D CCodec  :   int32_t aac-drc-heavy-compression = 3
01-21 16:43:53.432 16390 17066 D CCodec  :   int32_t aac-encoded-target-level = -1
01-21 16:43:53.432 16390 17066 D CCodec  :   int32_t aac-max-output-channel_count = 8
01-21 16:43:53.432 16390 17066 D CCodec  :   int32_t aac-target-ref-level = 64
01-21 16:43:53.432 16390 17066 D CCodec  :   int32_t channel-count = 2
01-21 16:43:53.432 16390 17066 D CCodec  :   int32_t level = 0
01-21 16:43:53.432 16390 17066 D CCodec  :   int32_t max-input-size = 8192
01-21 16:43:53.432 16390 17066 D CCodec  :   string mime = "audio/mp4a-latm"
01-21 16:43:53.432 16390 17066 D CCodec  :   int32_t profile = 2
01-21 16:43:53.432 16390 17066 D CCodec  :   int32_t sample-rate = 48000
01-21 16:43:53.432 16390 17066 D CCodec  : } and output: AMessage(what = 0x00000000) = {
01-21 16:43:53.432 16390 17066 D CCodec  :   int32_t aac-drc-album-mode = 0
01-21 16:43:53.432 16390 17066 D CCodec  :   int32_t aac-drc-boost-level = 127
01-21 16:43:53.432 16390 17066 D CCodec  :   int32_t aac-drc-cut-level = 127
01-21 16:43:53.432 16390 17066 D CCodec  :   int32_t aac-drc-effect-type = 3
01-21 16:43:53.432 16390 17066 D CCodec  :   int32_t aac-drc-heavy-compression = 3
01-21 16:43:53.432 16390 17066 D CCodec  :   int32_t aac-drc-output-loudness = -1
01-21 16:43:53.432 16390 17066 D CCodec  :   int32_t aac-encoded-target-level = -1
01-21 16:43:53.432 16390 17066 D CCodec  :   int32_t aac-max-output-channel_count = 8
01-21 16:43:53.432 16390 17066 D CCodec  :   int32_t aac-target-ref-level = 64
01-21 16:43:53.432 16390 17066 D CCodec  :   int32_t channel-count = 2
01-21 16:43:53.432 16390 17066 D CCodec  :   string mime = "audio/raw"
01-21 16:43:53.432 16390 17066 D CCodec  :   int32_t sample-rate = 48000
01-21 16:43:53.432 16390 17066 D CCodec  : }
01-21 16:43:53.434 16390 17066 W Codec2Client: query -- param skipped: index = 1342179345.
01-21 16:43:53.434 16390 17066 W Codec2Client: query -- param skipped: index = 2415921170.
01-21 16:43:53.434 16390 17066 W Codec2Client: query -- param skipped: index = 1610614798.
01-21 16:43:53.436 16390 17066 E FMQ     : grantorIdx must be less than 3
01-21 16:43:53.437 16390 17066 E FMQ     : grantorIdx must be less than 3
01-21 16:43:53.437 16390 17066 D CCodecBufferChannel: [c2.android.aac.decoder#796] Created input block pool with allocatorID 16 => poolID 21 - OK (0)
01-21 16:43:53.441 16390 17066 I CCodecBufferChannel: [c2.android.aac.decoder#796] Created output block pool with allocatorID 16 => poolID 106 - OK
01-21 16:43:53.441 16390 17066 D CCodecBufferChannel: [c2.android.aac.decoder#796] Configured output block pool ids 106 => OK
01-21 16:43:53.446 16390 17066 E FMQ     : grantorIdx must be less than 3
01-21 16:43:53.455 16390 16593 E FMQ     : grantorIdx must be less than 3
01-21 16:43:53.459 16390 17066 D CCodecConfig: c2 config diff is   c2::i32 coding.drc.compression-mode.value = 1
01-21 16:43:53.463 16390 17060 W gralloc4: Buffer descriptor with invalid usage bits 0x2000
01-21 16:43:53.465 16390 17066 D CCodecBuffers: [c2.android.aac.decoder#796:Output[N]] popFromStashAndRegister: output format changed to AMessage(what = 0x00000000) = {
01-21 16:43:53.465 16390 17066 D CCodecBuffers:   int32_t aac-drc-album-mode = 0
01-21 16:43:53.465 16390 17066 D CCodecBuffers:   int32_t aac-drc-boost-level = 127
01-21 16:43:53.465 16390 17066 D CCodecBuffers:   int32_t aac-drc-cut-level = 127
01-21 16:43:53.465 16390 17066 D CCodecBuffers:   int32_t aac-drc-effect-type = 3
01-21 16:43:53.465 16390 17066 D CCodecBuffers:   int32_t aac-drc-heavy-compression = 1
01-21 16:43:53.465 16390 17066 D CCodecBuffers:   int32_t aac-drc-output-loudness = -1
01-21 16:43:53.465 16390 17066 D CCodecBuffers:   int32_t aac-encoded-target-level = -1
01-21 16:43:53.465 16390 17066 D CCodecBuffers:   int32_t aac-max-output-channel_count = 8
01-21 16:43:53.465 16390 17066 D CCodecBuffers:   int32_t aac-target-ref-level = 64
01-21 16:43:53.465 16390 17066 D CCodecBuffers:   int32_t channel-count = 2
01-21 16:43:53.465 16390 17066 D CCodecBuffers:   string mime = "audio/raw"
01-21 16:43:53.465 16390 17066 D CCodecBuffers:   int32_t sample-rate = 48000
01-21 16:43:53.465 16390 17066 D CCodecBuffers: }
01-21 16:43:53.468 16390 17060 W gralloc4: Buffer descriptor with invalid usage bits 0x2000
01-21 16:43:53.476 16390 17060 W gralloc4: Buffer descriptor with invalid usage bits 0x2000
01-21 16:43:53.483 16390 17060 W gralloc4: Buffer descriptor with invalid usage bits 0x2000
01-21 16:43:53.492 16390 17060 W gralloc4: Buffer descriptor with invalid usage bits 0x2000
01-21 16:43:53.519 16390 17060 W gralloc4: Buffer descriptor with invalid usage bits 0x2000
01-21 16:43:53.527 16390 17060 W gralloc4: Buffer descriptor with invalid usage bits 0x2000
01-21 16:43:53.532 16390 17060 W gralloc4: Buffer descriptor with invalid usage bits 0x2000
01-21 16:43:54.101 16390 16604 D BufferPoolAccessor2.0: bufferpool2 0xf24bfda8 : 0(0 size) total buffers - 0(0 size) used buffers - 1/7 (recycle/alloc) - 10/2613 (fetch/transfer)
01-21 16:43:54.101 16390 16604 D BufferPoolAccessor2.0: evictor expired: 1, evicted: 1
01-21 16:43:54.101 16390 17059 D SurfaceUtils: connecting to surface 0xf2592e58, reason connectToSurface
01-21 16:43:54.101 16390 17059 I MediaCodec: [OMX.amlogic.avc.decoder.awesome2] setting surface generation to 16783374
01-21 16:43:54.101 16390 17059 D SurfaceUtils: disconnecting from surface 0xf2592e58, reason connectToSurface(reconnect)
01-21 16:43:54.101 16390 17059 D SurfaceUtils: connecting to surface 0xf2592e58, reason connectToSurface(reconnect)
01-21 16:43:54.102 16390 17060 D SurfaceUtils: set up nativeWindow 0xf2592e58 for 1920x1080, color 0x11, rotation 0, usage 0xc02933
01-21 16:43:54.103 16390 17059 D SurfaceUtils: disconnecting from surface 0xf2594788, reason disconnectFromSurface
01-21 16:43:54.106 16390 16390 I ExoPlayerImpl: Release 99c5598 [ExoPlayerLib/2.18.1] [YYJ, Box R 4K Plus, SEI Robotics, 30] [goog.exo.core, goog.exo.ui, goog.exo.hls, goog.exo.exoplayer, goog.exo.decoder, goog.exo.datasource, goog.exo.extractor]
01-21 16:43:54.511 16390 17066 D CCodecBuffers: [c2.android.aac.decoder#796:1D-Output.Impl[N]] Client returned a buffer it does not own according to our record: 0
01-21 16:43:54.511 16390 17066 D CCodecBuffers: [c2.android.aac.decoder#796:1D-Output.Impl[N]] Client returned a buffer it does not own according to our record: 1
01-21 16:43:54.511 16390 17066 D CCodecBuffers: [c2.android.aac.decoder#796:1D-Output.Impl[N]] Client returned a buffer it does not own according to our record: 2
01-21 16:43:54.511 16390 17066 D CCodecBuffers: [c2.android.aac.decoder#796:1D-Output.Impl[N]] Client returned a buffer it does not own according to our record: 3
01-21 16:43:54.512 16390 17066 I CCodecConfig: query failed after returning 19 values (BAD_INDEX)
01-21 16:43:54.513 16390 17066 D CCodecConfig: c2 config diff is   c2::i32 coding.drc.compression-mode.value = 3
01-21 16:43:54.514 16390 17066 W Codec2Client: query -- param skipped: index = 1342179345.
01-21 16:43:54.514 16390 17066 W Codec2Client: query -- param skipped: index = 2415921170.
01-21 16:43:54.514 16390 17066 W Codec2Client: query -- param skipped: index = 1610614798.
01-21 16:43:54.515 16390 17059 D SurfaceUtils: connecting to surface 0xf25979e8, reason connectToSurface
01-21 16:43:54.515 16390 17059 I MediaCodec: [OMX.amlogic.avc.decoder.awesome2] setting surface generation to 16783375
01-21 16:43:54.515 16390 17059 D SurfaceUtils: disconnecting from surface 0xf25979e8, reason connectToSurface(reconnect)
01-21 16:43:54.515 16390 17059 D SurfaceUtils: connecting to surface 0xf25979e8, reason connectToSurface(reconnect)
01-21 16:43:54.516 16390 17060 D SurfaceUtils: set up nativeWindow 0xf25979e8 for 1920x1080, color 0x11, rotation 0, usage 0xc02933
01-21 16:43:54.519 16390 17059 D SurfaceUtils: disconnecting from surface 0xf2592e58, reason disconnectFromSurface
01-21 16:43:54.521 16390 17066 D CCodecBufferChannel: [c2.android.aac.decoder#796] MediaCodec discarded an unknown buffer
01-21 16:43:54.521 16390 17066 I chatty  : uid=10087(com.fgl27.twitch) MediaCodec_loop identical 2 lines
01-21 16:43:54.521 16390 17066 D CCodecBufferChannel: [c2.android.aac.decoder#796] MediaCodec discarded an unknown buffer
01-21 16:43:54.524 16390 17079 I hw-BpHwBinder: onLastStrongRef automatically unlinking death recipients
01-21 16:43:54.575 16390 17059 D SurfaceUtils: disconnecting from surface 0xf25979e8, reason disconnectFromSurface
01-21 16:43:55.077 16390 16390 I ExoPlayerImpl: Init 74fe422 [ExoPlayerLib/2.18.1] [YYJ, Box R 4K Plus, SEI Robotics, 30]
01-21 16:43:55.476 16390 17093 I OMXClient: IOmx service obtained
01-21 16:43:55.486 16390 17092 D SurfaceUtils: connecting to surface 0xf2592e58, reason connectToSurface
01-21 16:43:55.487 16390 17092 I MediaCodec: [OMX.amlogic.avc.decoder.awesome2] setting surface generation to 16783376
01-21 16:43:55.487 16390 17092 D SurfaceUtils: disconnecting from surface 0xf2592e58, reason connectToSurface(reconnect)
01-21 16:43:55.487 16390 17092 D SurfaceUtils: connecting to surface 0xf2592e58, reason connectToSurface(reconnect)
01-21 16:43:55.488 16390 17093 I AmAVUtils: AmAVUtils::getComponentRole isEncoder :0 mime:video/avc 
01-21 16:43:55.488 16390 17093 V MediaVendorExt: AVUtils::getComponentRole
01-21 16:43:55.488 16390 17093 I MediaVendorExt: AmAVUtils::getComponentRole isEncoder :0 mime:video/avc 
01-21 16:43:55.495 16390 17093 I AmAVUtils: AmAVUtils::isAudioExtendFormat input = video/avc
01-21 16:43:55.495 16390 17093 I AmAVUtils: AmAVUtils::isExtendFormat input = video/avc
01-21 16:43:55.495 16390 17093 I ACodec  : codec does not support config priority (err -1010)
01-21 16:43:55.496 16390 17093 I ACodec  : codec does not support config operating rate (err -1010)
01-21 16:43:55.522 16390 17093 D SurfaceUtils: set up nativeWindow 0xf2592e58 for 1920x1080, color 0x11, rotation 0, usage 0xc02933
01-21 16:43:55.550 16390 17099 D CCodec  : allocate(c2.android.aac.decoder)
01-21 16:43:55.564 16390 17099 I CCodec  : Created component [c2.android.aac.decoder]
01-21 16:43:55.564 16390 17093 W gralloc4: Buffer descriptor with invalid usage bits 0x2000
01-21 16:43:55.565 16390 17099 D CCodecConfig: read media type: audio/mp4a-latm
01-21 16:43:55.570 16390 17093 W gralloc4: Buffer descriptor with invalid usage bits 0x2000
01-21 16:43:55.576 16390 17099 D ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.max-count.values
01-21 16:43:55.581 16390 17099 D ReflectedParamUpdater: extent() != 1 for single value type: output.subscribed-indices.values
01-21 16:43:55.581 16390 17099 D ReflectedParamUpdater: extent() != 1 for single value type: input.buffers.allocator-ids.values
01-21 16:43:55.581 16390 17099 D ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.allocator-ids.values
01-21 16:43:55.582 16390 17099 D ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.allocator-ids.values
01-21 16:43:55.582 16390 17099 D ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.pool-ids.values
01-21 16:43:55.582 16390 17099 D ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.pool-ids.values
01-21 16:43:55.591 16390 17099 I CCodecConfig: query failed after returning 19 values (BAD_INDEX)
01-21 16:43:55.591 16390 17099 D CCodecConfig: c2 config diff is Dict {
01-21 16:43:55.591 16390 17099 D CCodecConfig:   c2::u32 coded.aac-packaging.value = 0
01-21 16:43:55.591 16390 17099 D CCodecConfig:   c2::u32 coded.bitrate.value = 64000
01-21 16:43:55.591 16390 17099 D CCodecConfig:   c2::u32 coded.pl.level = 0
01-21 16:43:55.591 16390 17099 D CCodecConfig:   c2::u32 coded.pl.profile = 8192
01-21 16:43:55.591 16390 17099 D CCodecConfig:   c2::i32 coding.drc.album-mode.value = 0
01-21 16:43:55.591 16390 17099 D CCodecConfig:   c2::float coding.drc.attenuation-factor.value = 1
01-21 16:43:55.591 16390 17099 D CCodecConfig:   c2::float coding.drc.boost-factor.value = 1
01-21 16:43:55.591 16390 17099 D CCodecConfig:   c2::i32 coding.drc.compression-mode.value = 3
01-21 16:43:55.591 16390 17099 D CCodecConfig:   c2::i32 coding.drc.effect-type.value = 3
01-21 16:43:55.591 16390 17099 D CCodecConfig:   c2::float coding.drc.encoded-level.value = 0.25
01-21 16:43:55.591 16390 17099 D CCodecConfig:   c2::float coding.drc.reference-level.value = -16
01-21 16:43:55.591 16390 17099 D CCodecConfig:   c2::u32 input.buffers.max-size.value = 8192
01-21 16:43:55.591 16390 17099 D CCodecConfig:   c2::u32 input.delay.value = 0
01-21 16:43:55.591 16390 17099 D CCodecConfig:   string input.media-type.value = "audio/mp4a-latm"
01-21 16:43:55.591 16390 17099 D CCodecConfig:   c2::u32 output.delay.value = 2
01-21 16:43:55.591 16390 17099 D CCodecConfig:   c2::float output.drc.output-loudness.value = 0.25
01-21 16:43:55.591 16390 17099 D CCodecConfig:   string output.media-type.value = "audio/raw"
01-21 16:43:55.591 16390 17099 D CCodecConfig:   c2::u32 raw.channel-count.value = 1
01-21 16:43:55.591 16390 17099 D CCodecConfig:   c2::u32 raw.max-channel-count.value = 8
01-21 16:43:55.591 16390 17099 D CCodecConfig:   c2::u32 raw.sample-rate.value = 44100
01-21 16:43:55.591 16390 17099 D CCodecConfig: }
01-21 16:43:55.595 16390 17099 D CCodec  : [c2.android.aac.decoder] buffers are bound to CCodec for this session
01-21 16:43:55.595 16390 17099 D CCodecConfig: no c2 equivalents for flags
01-21 16:43:55.596 16390 17099 D CCodecConfig: c2 config diff is   c2::u32 raw.channel-count.value = 2
01-21 16:43:55.596 16390 17099 D CCodecConfig:   c2::u32 raw.sample-rate.value = 48000
01-21 16:43:55.599 16390 17099 W Codec2Client: query -- param skipped: index = 1107298332.
01-21 16:43:55.599 16390 17099 D CCodec  : setup formats input: AMessage(what = 0x00000000) = {
01-21 16:43:55.599 16390 17099 D CCodec  :   int32_t aac-drc-album-mode = 0
01-21 16:43:55.599 16390 17099 D CCodec  :   int32_t aac-drc-boost-level = 127
01-21 16:43:55.599 16390 17099 D CCodec  :   int32_t aac-drc-cut-level = 127
01-21 16:43:55.599 16390 17099 D CCodec  :   int32_t aac-drc-effect-type = 3
01-21 16:43:55.599 16390 17099 D CCodec  :   int32_t aac-drc-heavy-compression = 3
01-21 16:43:55.599 16390 17099 D CCodec  :   int32_t aac-encoded-target-level = -1
01-21 16:43:55.599 16390 17099 D CCodec  :   int32_t aac-max-output-channel_count = 8
01-21 16:43:55.599 16390 17099 D CCodec  :   int32_t aac-target-ref-level = 64
01-21 16:43:55.599 16390 17099 D CCodec  :   int32_t channel-count = 2
01-21 16:43:55.599 16390 17099 D CCodec  :   int32_t level = 0
01-21 16:43:55.599 16390 17099 D CCodec  :   int32_t max-input-size = 8192
01-21 16:43:55.599 16390 17099 D CCodec  :   string mime = "audio/mp4a-latm"
01-21 16:43:55.599 16390 17099 D CCodec  :   int32_t profile = 2
01-21 16:43:55.599 16390 17099 D CCodec  :   int32_t sample-rate = 48000
01-21 16:43:55.599 16390 17099 D CCodec  : } and output: AMessage(what = 0x00000000) = {
01-21 16:43:55.599 16390 17099 D CCodec  :   int32_t aac-drc-album-mode = 0
01-21 16:43:55.599 16390 17099 D CCodec  :   int32_t aac-drc-boost-level = 127
01-21 16:43:55.599 16390 17099 D CCodec  :   int32_t aac-drc-cut-level = 127
01-21 16:43:55.599 16390 17099 D CCodec  :   int32_t aac-drc-effect-type = 3
01-21 16:43:55.599 16390 17099 D CCodec  :   int32_t aac-drc-heavy-compression = 3
01-21 16:43:55.599 16390 17099 D CCodec  :   int32_t aac-drc-output-loudness = -1
01-21 16:43:55.599 16390 17099 D CCodec  :   int32_t aac-encoded-target-level = -1
01-21 16:43:55.599 16390 17099 D CCodec  :   int32_t aac-max-output-channel_count = 8
01-21 16:43:55.599 16390 17099 D CCodec  :   int32_t aac-target-ref-level = 64
01-21 16:43:55.599 16390 17099 D CCodec  :   int32_t channel-count = 2
01-21 16:43:55.599 16390 17099 D CCodec  :   string mime = "audio/raw"
01-21 16:43:55.599 16390 17099 D CCodec  :   int32_t sample-rate = 48000
01-21 16:43:55.599 16390 17099 D CCodec  : }
01-21 16:43:55.601 16390 17099 W Codec2Client: query -- param skipped: index = 1342179345.
01-21 16:43:55.601 16390 17099 W Codec2Client: query -- param skipped: index = 2415921170.
01-21 16:43:55.601 16390 17099 W Codec2Client: query -- param skipped: index = 1610614798.
01-21 16:43:55.602 16390 17099 E FMQ     : grantorIdx must be less than 3
01-21 16:43:55.602 16390 17099 E FMQ     : grantorIdx must be less than 3
01-21 16:43:55.603 16390 17099 D CCodecBufferChannel: [c2.android.aac.decoder#783] Created input block pool with allocatorID 16 => poolID 22 - OK (0)
01-21 16:43:55.604 16390 16593 D BufferPoolAccessor2.0: Destruction - bufferpool2 0xf24bfda8 cached: 0/0M, 0/0% in use; allocs: 7, 14% recycled; transfers: 2613, 100% unfetched
01-21 16:43:55.605 16390 17099 I CCodecBufferChannel: [c2.android.aac.decoder#783] Created output block pool with allocatorID 16 => poolID 107 - OK
01-21 16:43:55.605 16390 17099 D CCodecBufferChannel: [c2.android.aac.decoder#783] Configured output block pool ids 107 => OK
01-21 16:43:55.610 16390 17099 E FMQ     : grantorIdx must be less than 3
01-21 16:43:55.623 16390 16593 E FMQ     : grantorIdx must be less than 3
01-21 16:43:55.624 16390 17099 D CCodecConfig: c2 config diff is   c2::i32 coding.drc.compression-mode.value = 1
01-21 16:43:55.625 16390 17099 D CCodecBuffers: [c2.android.aac.decoder#783:Output[N]] popFromStashAndRegister: output format changed to AMessage(what = 0x00000000) = {
01-21 16:43:55.625 16390 17099 D CCodecBuffers:   int32_t aac-drc-album-mode = 0
01-21 16:43:55.625 16390 17099 D CCodecBuffers:   int32_t aac-drc-boost-level = 127
01-21 16:43:55.625 16390 17099 D CCodecBuffers:   int32_t aac-drc-cut-level = 127
01-21 16:43:55.625 16390 17099 D CCodecBuffers:   int32_t aac-drc-effect-type = 3
01-21 16:43:55.625 16390 17099 D CCodecBuffers:   int32_t aac-drc-heavy-compression = 1
01-21 16:43:55.625 16390 17099 D CCodecBuffers:   int32_t aac-drc-output-loudness = -1
01-21 16:43:55.625 16390 17099 D CCodecBuffers:   int32_t aac-encoded-target-level = -1
01-21 16:43:55.625 16390 17099 D CCodecBuffers:   int32_t aac-max-output-channel_count = 8
01-21 16:43:55.625 16390 17099 D CCodecBuffers:   int32_t aac-target-ref-level = 64
01-21 16:43:55.625 16390 17099 D CCodecBuffers:   int32_t channel-count = 2
01-21 16:43:55.625 16390 17099 D CCodecBuffers:   string mime = "audio/raw"
01-21 16:43:55.625 16390 17099 D CCodecBuffers:   int32_t sample-rate = 48000
01-21 16:43:55.625 16390 17099 D CCodecBuffers: }
01-21 16:43:55.631 16390 17093 W gralloc4: Buffer descriptor with invalid usage bits 0x2000
01-21 16:43:55.642 16390 17093 W gralloc4: Buffer descriptor with invalid usage bits 0x2000
01-21 16:43:55.647 16390 17093 W gralloc4: Buffer descriptor with invalid usage bits 0x2000
01-21 16:43:55.664 16390 17093 W gralloc4: Buffer descriptor with invalid usage bits 0x2000
01-21 16:43:55.674 16390 17093 W gralloc4: Buffer descriptor with invalid usage bits 0x2000
01-21 16:43:55.682 16390 17093 W gralloc4: Buffer descriptor with invalid usage bits 0x2000
01-21 16:43:55.696 16390 17093 W gralloc4: Buffer descriptor with invalid usage bits 0x2000
01-21 16:43:55.699 16390 16593 D CCodecBuffers: [c2.android.aac.decoder#783:1D-Input.Impl[N]] codec released a buffer owned by client (index 2)
01-21 16:43:55.707 16390 17093 W gralloc4: Buffer descriptor with invalid usage bits 0x2000
01-21 16:43:56.077 16390 17092 D SurfaceUtils: connecting to surface 0xf25960b8, reason connectToSurface
01-21 16:43:56.077 16390 17092 I MediaCodec: [OMX.amlogic.avc.decoder.awesome2] setting surface generation to 16783377
01-21 16:43:56.077 16390 17092 D SurfaceUtils: disconnecting from surface 0xf25960b8, reason connectToSurface(reconnect)
01-21 16:43:56.077 16390 17092 D SurfaceUtils: connecting to surface 0xf25960b8, reason connectToSurface(reconnect)
01-21 16:43:56.080 16390 17093 D SurfaceUtils: set up nativeWindow 0xf25960b8 for 1920x1080, color 0x11, rotation 0, usage 0xc02933
01-21 16:43:56.081 16390 17092 D SurfaceUtils: disconnecting from surface 0xf2592e58, reason disconnectFromSurface
01-21 16:43:56.083 16390 16390 I ExoPlayerImpl: Release 74fe422 [ExoPlayerLib/2.18.1] [YYJ, Box R 4K Plus, SEI Robotics, 30] [goog.exo.core, goog.exo.ui, goog.exo.hls, goog.exo.exoplayer, goog.exo.decoder, goog.exo.datasource, goog.exo.extractor]
01-21 16:43:56.101 16390 16604 D BufferPoolAccessor2.0: evictor expired: 1, evicted: 0
01-21 16:43:56.591 16390 16390 W STTV_PlayerActivity: onPlayerError pos 0 e.errorCode 1003 e 
01-21 16:43:56.591 16390 16390 W STTV_PlayerActivity: com.google.android.exoplayer2.ExoPlaybackException: Unexpected runtime error
01-21 16:43:56.591 16390 16390 W STTV_PlayerActivity:   at com.google.android.exoplayer2.j0.R1(ExoPlayerImpl.java:2)
01-21 16:43:56.591 16390 16390 W STTV_PlayerActivity:   at com.google.android.exoplayer2.j0.N0(Unknown Source:0)
01-21 16:43:56.591 16390 16390 W STTV_PlayerActivity:   at com.google.android.exoplayer2.x.a(Unknown Source:2)
01-21 16:43:56.591 16390 16390 W STTV_PlayerActivity:   at b2.p$c.a(ListenerSet.java:4)
01-21 16:43:56.591 16390 16390 W STTV_PlayerActivity:   at b2.p.h(ListenerSet.java:2)
01-21 16:43:56.591 16390 16390 W STTV_PlayerActivity:   at b2.p.a(Unknown Source:0)
01-21 16:43:56.591 16390 16390 W STTV_PlayerActivity:   at b2.o.run(Unknown Source:6)
01-21 16:43:56.591 16390 16390 W STTV_PlayerActivity:   at b2.p.f(ListenerSet.java:8)
01-21 16:43:56.591 16390 16390 W STTV_PlayerActivity:   at b2.p.l(ListenerSet.java:2)
01-21 16:43:56.591 16390 16390 W STTV_PlayerActivity:   at com.google.android.exoplayer2.j0.a(ExoPlayerImpl.java:15)
01-21 16:43:56.591 16390 16390 W STTV_PlayerActivity:   at com.fgl27.twitch.PlayerActivity.releasePlayer(PlayerActivity.java:5)
01-21 16:43:56.591 16390 16390 W STTV_PlayerActivity:   at com.fgl27.twitch.PlayerActivity.ClearPlayer(PlayerActivity.java:1)
01-21 16:43:56.591 16390 16390 W STTV_PlayerActivity:   at com.fgl27.twitch.PlayerActivity.access$7500(Unknown Source:0)
01-21 16:43:56.591 16390 16390 W STTV_PlayerActivity:   at com.fgl27.twitch.PlayerActivity$WebAppInterface.lambda$ClearSidePanelPlayer$40(PlayerActivity.java:2)
01-21 16:43:56.591 16390 16390 W STTV_PlayerActivity:   at com.fgl27.twitch.PlayerActivity$WebAppInterface.R(Unknown Source:0)
01-21 16:43:56.591 16390 16390 W STTV_PlayerActivity:   at com.fgl27.twitch.f2.run(Unknown Source:2)
01-21 16:43:56.591 16390 16390 W STTV_PlayerActivity:   at android.os.Handler.handleCallback(Handler.java:938)
01-21 16:43:56.591 16390 16390 W STTV_PlayerActivity:   at android.os.Handler.dispatchMessage(Handler.java:99)
01-21 16:43:56.591 16390 16390 W STTV_PlayerActivity:   at android.os.Looper.loop(Looper.java:223)
01-21 16:43:56.591 16390 16390 W STTV_PlayerActivity:   at android.app.ActivityThread.main(ActivityThread.java:7656)
01-21 16:43:56.591 16390 16390 W STTV_PlayerActivity:   at java.lang.reflect.Method.invoke(Native Method)
01-21 16:43:56.591 16390 16390 W STTV_PlayerActivity:   at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
01-21 16:43:56.591 16390 16390 W STTV_PlayerActivity:   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
01-21 16:43:56.591 16390 16390 W STTV_PlayerActivity: Caused by: com.google.android.exoplayer2.ExoTimeoutException: Player release timed out.
01-21 16:43:56.591 16390 16390 W STTV_PlayerActivity:   at com.google.android.exoplayer2.j0.R1(ExoPlayerImpl.java:1)
01-21 16:43:56.591 16390 16390 W STTV_PlayerActivity:   ... 22 more
01-21 16:43:56.591 16390 16390 I ExoPlayerImpl: Release 74fe422 [ExoPlayerLib/2.18.1] [YYJ, Box R 4K Plus, SEI Robotics, 30] [goog.exo.core, goog.exo.ui, goog.exo.hls, goog.exo.exoplayer, goog.exo.decoder, goog.exo.datasource, goog.exo.extractor]
01-21 16:43:56.672 16390 17099 D CCodecBuffers: [c2.android.aac.decoder#783:1D-Output.Impl[N]] Client returned a buffer it does not own according to our record: 0
01-21 16:43:56.672 16390 17099 D CCodecBuffers: [c2.android.aac.decoder#783:1D-Output.Impl[N]] Client returned a buffer it does not own according to our record: 1
01-21 16:43:56.672 16390 17099 D CCodecBuffers: [c2.android.aac.decoder#783:1D-Output.Impl[N]] Client returned a buffer it does not own according to our record: 2
01-21 16:43:56.672 16390 17099 D CCodecBuffers: [c2.android.aac.decoder#783:1D-Output.Impl[N]] Client returned a buffer it does not own according to our record: 3
01-21 16:43:56.672 16390 17099 I CCodecConfig: query failed after returning 19 values (BAD_INDEX)
01-21 16:43:56.673 16390 17099 D CCodecConfig: c2 config diff is   c2::i32 coding.drc.compression-mode.value = 3
01-21 16:43:56.674 16390 17099 W Codec2Client: query -- param skipped: index = 1342179345.
01-21 16:43:56.674 16390 17099 W Codec2Client: query -- param skipped: index = 2415921170.
01-21 16:43:56.674 16390 17099 W Codec2Client: query -- param skipped: index = 1610614798.
01-21 16:43:56.676 16390 17092 D SurfaceUtils: connecting to surface 0xf258fbf8, reason connectToSurface
01-21 16:43:56.677 16390 17092 I MediaCodec: [OMX.amlogic.avc.decoder.awesome2] setting surface generation to 16783378
01-21 16:43:56.677 16390 17092 D SurfaceUtils: disconnecting from surface 0xf258fbf8, reason connectToSurface(reconnect)
01-21 16:43:56.677 16390 17092 D SurfaceUtils: connecting to surface 0xf258fbf8, reason connectToSurface(reconnect)
01-21 16:43:56.678 16390 17093 D SurfaceUtils: set up nativeWindow 0xf258fbf8 for 1920x1080, color 0x11, rotation 0, usage 0xc02933
01-21 16:43:56.679 16390 17092 D SurfaceUtils: disconnecting from surface 0xf25960b8, reason disconnectFromSurface
01-21 16:43:56.681 16390 17099 D CCodecBufferChannel: [c2.android.aac.decoder#783] MediaCodec discarded an unknown buffer
01-21 16:43:56.681 16390 17099 I chatty  : uid=10087(com.fgl27.twitch) identical 2 lines
01-21 16:43:56.681 16390 17099 D CCodecBufferChannel: [c2.android.aac.decoder#783] MediaCodec discarded an unknown buffer
01-21 16:43:56.684 16390 17099 I hw-BpHwBinder: onLastStrongRef automatically unlinking death recipients
01-21 16:43:56.699 16390 16390 I ExoPlayerImpl: Init 80dec8a [ExoPlayerLib/2.18.1] [YYJ, Box R 4K Plus, SEI Robotics, 30]
01-21 16:43:56.719 16390 17092 D SurfaceUtils: disconnecting from surface 0xf258fbf8, reason disconnectFromSurface
01-21 16:43:56.731 16390 16390 I Choreographer: Skipped 39 frames!  The application may be doing too much work on its main thread.
01-21 16:43:56.873 16390 17123 I OMXClient: IOmx service obtained
01-21 16:43:56.883 16390 17122 D SurfaceUtils: connecting to surface 0xf25960b8, reason connectToSurface
01-21 16:43:56.884 16390 17122 I MediaCodec: [OMX.amlogic.avc.decoder.awesome2] setting surface generation to 16783379
01-21 16:43:56.884 16390 17122 D SurfaceUtils: disconnecting from surface 0xf25960b8, reason connectToSurface(reconnect)
01-21 16:43:56.888 16390 17122 D SurfaceUtils: connecting to surface 0xf25960b8, reason connectToSurface(reconnect)
01-21 16:43:56.891 16390 17123 I AmAVUtils: AmAVUtils::getComponentRole isEncoder :0 mime:video/avc 
01-21 16:43:56.891 16390 17123 V MediaVendorExt: AVUtils::getComponentRole
01-21 16:43:56.891 16390 17123 I MediaVendorExt: AmAVUtils::getComponentRole isEncoder :0 mime:video/avc 
01-21 16:43:56.902 16390 17123 I AmAVUtils: AmAVUtils::isAudioExtendFormat input = video/avc
01-21 16:43:56.902 16390 17123 I AmAVUtils: AmAVUtils::isExtendFormat input = video/avc
01-21 16:43:56.903 16390 17123 I ACodec  : codec does not support config priority (err -1010)
01-21 16:43:56.903 16390 17123 I ACodec  : codec does not support config operating rate (err -1010)
01-21 16:43:56.927 16390 17123 D SurfaceUtils: set up nativeWindow 0xf25960b8 for 1920x1080, color 0x11, rotation 0, usage 0xc02933
01-21 16:43:56.942 16390 17129 D CCodec  : allocate(c2.android.aac.decoder)
01-21 16:43:56.956 16390 17129 I CCodec  : Created component [c2.android.aac.decoder]
01-21 16:43:56.956 16390 17129 D CCodecConfig: read media type: audio/mp4a-latm
01-21 16:43:56.959 16390 17129 D ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.max-count.values
01-21 16:43:56.962 16390 17129 D ReflectedParamUpdater: extent() != 1 for single value type: output.subscribed-indices.values
01-21 16:43:56.964 16390 17129 D ReflectedParamUpdater: extent() != 1 for single value type: input.buffers.allocator-ids.values
01-21 16:43:56.966 16390 17129 D ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.allocator-ids.values
01-21 16:43:56.966 16390 17129 D ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.allocator-ids.values
01-21 16:43:56.966 16390 17129 D ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.pool-ids.values
01-21 16:43:56.966 16390 17129 D ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.pool-ids.values
01-21 16:43:56.974 16390 17129 I CCodecConfig: query failed after returning 19 values (BAD_INDEX)
01-21 16:43:56.977 16390 17123 W gralloc4: Buffer descriptor with invalid usage bits 0x2000
01-21 16:43:56.977 16390 17129 D CCodecConfig: c2 config diff is Dict {
01-21 16:43:56.977 16390 17129 D CCodecConfig:   c2::u32 coded.aac-packaging.value = 0
01-21 16:43:56.977 16390 17129 D CCodecConfig:   c2::u32 coded.bitrate.value = 64000
01-21 16:43:56.977 16390 17129 D CCodecConfig:   c2::u32 coded.pl.level = 0
01-21 16:43:56.977 16390 17129 D CCodecConfig:   c2::u32 coded.pl.profile = 8192
01-21 16:43:56.977 16390 17129 D CCodecConfig:   c2::i32 coding.drc.album-mode.value = 0
01-21 16:43:56.977 16390 17129 D CCodecConfig:   c2::float coding.drc.attenuation-factor.value = 1
01-21 16:43:56.977 16390 17129 D CCodecConfig:   c2::float coding.drc.boost-factor.value = 1
01-21 16:43:56.977 16390 17129 D CCodecConfig:   c2::i32 coding.drc.compression-mode.value = 3
01-21 16:43:56.977 16390 17129 D CCodecConfig:   c2::i32 coding.drc.effect-type.value = 3
01-21 16:43:56.977 16390 17129 D CCodecConfig:   c2::float coding.drc.encoded-level.value = 0.25
01-21 16:43:56.977 16390 17129 D CCodecConfig:   c2::float coding.drc.reference-level.value = -16
01-21 16:43:56.977 16390 17129 D CCodecConfig:   c2::u32 input.buffers.max-size.value = 8192
01-21 16:43:56.977 16390 17129 D CCodecConfig:   c2::u32 input.delay.value = 0
01-21 16:43:56.977 16390 17129 D CCodecConfig:   string input.media-type.value = "audio/mp4a-latm"
01-21 16:43:56.977 16390 17129 D CCodecConfig:   c2::u32 output.delay.value = 2
01-21 16:43:56.977 16390 17129 D CCodecConfig:   c2::float output.drc.output-loudness.value = 0.25
01-21 16:43:56.977 16390 17129 D CCodecConfig:   string output.media-type.value = "audio/raw"
01-21 16:43:56.977 16390 17129 D CCodecConfig:   c2::u32 raw.channel-count.value = 1
01-21 16:43:56.977 16390 17129 D CCodecConfig:   c2::u32 raw.max-channel-count.value = 8
01-21 16:43:56.977 16390 17129 D CCodecConfig:   c2::u32 raw.sample-rate.value = 44100
01-21 16:43:56.977 16390 17129 D CCodecConfig: }
01-21 16:43:56.984 16390 17129 D CCodec  : [c2.android.aac.decoder] buffers are bound to CCodec for this session
01-21 16:43:56.984 16390 17129 D CCodecConfig: no c2 equivalents for flags
01-21 16:43:56.986 16390 17129 D CCodecConfig: c2 config diff is   c2::u32 raw.channel-count.value = 2
01-21 16:43:56.986 16390 17129 D CCodecConfig:   c2::u32 raw.sample-rate.value = 48000
01-21 16:43:56.987 16390 17123 W gralloc4: Buffer descriptor with invalid usage bits 0x2000
01-21 16:43:56.987 16390 17129 W Codec2Client: query -- param skipped: index = 1107298332.
01-21 16:43:56.988 16390 17129 D CCodec  : setup formats input: AMessage(what = 0x00000000) = {
01-21 16:43:56.988 16390 17129 D CCodec  :   int32_t aac-drc-album-mode = 0
01-21 16:43:56.988 16390 17129 D CCodec  :   int32_t aac-drc-boost-level = 127
01-21 16:43:56.988 16390 17129 D CCodec  :   int32_t aac-drc-cut-level = 127
01-21 16:43:56.988 16390 17129 D CCodec  :   int32_t aac-drc-effect-type = 3
01-21 16:43:56.988 16390 17129 D CCodec  :   int32_t aac-drc-heavy-compression = 3
01-21 16:43:56.988 16390 17129 D CCodec  :   int32_t aac-encoded-target-level = -1
01-21 16:43:56.988 16390 17129 D CCodec  :   int32_t aac-max-output-channel_count = 8
01-21 16:43:56.988 16390 17129 D CCodec  :   int32_t aac-target-ref-level = 64
01-21 16:43:56.988 16390 17129 D CCodec  :   int32_t channel-count = 2
01-21 16:43:56.988 16390 17129 D CCodec  :   int32_t level = 0
01-21 16:43:56.988 16390 17129 D CCodec  :   int32_t max-input-size = 8192
01-21 16:43:56.988 16390 17129 D CCodec  :   string mime = "audio/mp4a-latm"
01-21 16:43:56.988 16390 17129 D CCodec  :   int32_t profile = 2
01-21 16:43:56.988 16390 17129 D CCodec  :   int32_t sample-rate = 48000
01-21 16:43:56.988 16390 17129 D CCodec  : } and output: AMessage(what = 0x00000000) = {
01-21 16:43:56.988 16390 17129 D CCodec  :   int32_t aac-drc-album-mode = 0
01-21 16:43:56.988 16390 17129 D CCodec  :   int32_t aac-drc-boost-level = 127
01-21 16:43:56.988 16390 17129 D CCodec  :   int32_t aac-drc-cut-level = 127
01-21 16:43:56.988 16390 17129 D CCodec  :   int32_t aac-drc-effect-type = 3
01-21 16:43:56.988 16390 17129 D CCodec  :   int32_t aac-drc-heavy-compression = 3
01-21 16:43:56.988 16390 17129 D CCodec  :   int32_t aac-drc-output-loudness = -1
01-21 16:43:56.988 16390 17129 D CCodec  :   int32_t aac-encoded-target-level = -1
01-21 16:43:56.988 16390 17129 D CCodec  :   int32_t aac-max-output-channel_count = 8
01-21 16:43:56.988 16390 17129 D CCodec  :   int32_t aac-target-ref-level = 64
01-21 16:43:56.988 16390 17129 D CCodec  :   int32_t channel-count = 2
01-21 16:43:56.988 16390 17129 D CCodec  :   string mime = "audio/raw"
01-21 16:43:56.988 16390 17129 D CCodec  :   int32_t sample-rate = 48000
01-21 16:43:56.988 16390 17129 D CCodec  : }
01-21 16:43:56.989 16390 17129 W Codec2Client: query -- param skipped: index = 1342179345.
01-21 16:43:56.989 16390 17129 W Codec2Client: query -- param skipped: index = 2415921170.
01-21 16:43:56.989 16390 17129 W Codec2Client: query -- param skipped: index = 1610614798.
01-21 16:43:56.990 16390 17129 E FMQ     : grantorIdx must be less than 3
01-21 16:43:56.991 16390 17129 E FMQ     : grantorIdx must be less than 3
01-21 16:43:56.991 16390 17129 D CCodecBufferChannel: [c2.android.aac.decoder#676] Created input block pool with allocatorID 16 => poolID 23 - OK (0)
01-21 16:43:56.994 16390 17129 I CCodecBufferChannel: [c2.android.aac.decoder#676] Created output block pool with allocatorID 16 => poolID 108 - OK
01-21 16:43:56.994 16390 17129 D CCodecBufferChannel: [c2.android.aac.decoder#676] Configured output block pool ids 108 => OK
01-21 16:43:57.000 16390 17129 E FMQ     : grantorIdx must be less than 3
01-21 16:43:57.011 16390 16593 E FMQ     : grantorIdx must be less than 3
01-21 16:43:57.013 16390 17129 D CCodecConfig: c2 config diff is   c2::i32 coding.drc.compression-mode.value = 1
01-21 16:43:57.014 16390 17129 D CCodecBuffers: [c2.android.aac.decoder#676:Output[N]] popFromStashAndRegister: output format changed to AMessage(what = 0x00000000) = {
01-21 16:43:57.014 16390 17129 D CCodecBuffers:   int32_t aac-drc-album-mode = 0
01-21 16:43:57.014 16390 17129 D CCodecBuffers:   int32_t aac-drc-boost-level = 127
01-21 16:43:57.014 16390 17129 D CCodecBuffers:   int32_t aac-drc-cut-level = 127
01-21 16:43:57.014 16390 17129 D CCodecBuffers:   int32_t aac-drc-effect-type = 3
01-21 16:43:57.014 16390 17129 D CCodecBuffers:   int32_t aac-drc-heavy-compression = 1
01-21 16:43:57.014 16390 17129 D CCodecBuffers:   int32_t aac-drc-output-loudness = -1
01-21 16:43:57.014 16390 17129 D CCodecBuffers:   int32_t aac-encoded-target-level = -1
01-21 16:43:57.014 16390 17129 D CCodecBuffers:   int32_t aac-max-output-channel_count = 8
01-21 16:43:57.014 16390 17129 D CCodecBuffers:   int32_t aac-target-ref-level = 64
01-21 16:43:57.014 16390 17129 D CCodecBuffers:   int32_t channel-count = 2
01-21 16:43:57.014 16390 17129 D CCodecBuffers:   string mime = "audio/raw"
01-21 16:43:57.014 16390 17129 D CCodecBuffers:   int32_t sample-rate = 48000
01-21 16:43:57.014 16390 17129 D CCodecBuffers: }
01-21 16:43:57.014 16390 16390 I ExoPlayerImpl: Init abd3206 [ExoPlayerLib/2.18.1] [YYJ, Box R 4K Plus, SEI Robotics, 30]
01-21 16:43:57.029 16390 17123 W gralloc4: Buffer descriptor with invalid usage bits 0x2000
01-21 16:43:57.034 16390 17123 W gralloc4: Buffer descriptor with invalid usage bits 0x2000
01-21 16:43:57.041 16390 17123 W gralloc4: Buffer descriptor with invalid usage bits 0x2000
01-21 16:43:57.054 16390 17123 W gralloc4: Buffer descriptor with invalid usage bits 0x2000
01-21 16:43:57.059 16390 17123 W gralloc4: Buffer descriptor with invalid usage bits 0x2000
01-21 16:43:57.066 16390 17122 D SurfaceUtils: connecting to surface 0xf258fbf8, reason connectToSurface
01-21 16:43:57.067 16390 17122 I MediaCodec: [OMX.amlogic.avc.decoder.awesome2] setting surface generation to 16783380
01-21 16:43:57.067 16390 17122 D SurfaceUtils: disconnecting from surface 0xf258fbf8, reason connectToSurface(reconnect)
01-21 16:43:57.067 16390 17122 D SurfaceUtils: connecting to surface 0xf258fbf8, reason connectToSurface(reconnect)
01-21 16:43:57.067 16390 17123 W gralloc4: Buffer descriptor with invalid usage bits 0x2000
01-21 16:43:57.072 16390 17123 D SurfaceUtils: set up nativeWindow 0xf258fbf8 for 1920x1080, color 0x11, rotation 0, usage 0xc02933
01-21 16:43:57.072 16390 17122 D SurfaceUtils: disconnecting from surface 0xf25960b8, reason disconnectFromSurface
01-21 16:43:57.133 16390 17118 D AudioTrack: getTimestamp_l(265): device stall time corrected using current time 151045916158523
01-21 16:43:57.255 16390 16402 I om.fgl27.twitc: NativeAlloc concurrent copying GC freed 37552(2894KB) AllocSpace objects, 83(4372KB) LOS objects, 49% free, 8324KB/16MB, paused 373us total 170.434ms
01-21 16:43:57.261 16390 16404 W System  : A resource failed to call release. 
01-21 16:43:57.313 16390 16593 D CCodecBuffers: [c2.android.aac.decoder#676:1D-Input.Impl[N]] codec released a buffer owned by client (index 0)
01-21 16:43:57.660 16390 17145 I OMXClient: IOmx service obtained
01-21 16:43:57.670 16390 17144 D SurfaceUtils: connecting to surface 0xf2587e08, reason connectToSurface
01-21 16:43:57.671 16390 17144 I MediaCodec: [OMX.amlogic.avc.decoder.awesome2] setting surface generation to 16783381
01-21 16:43:57.671 16390 17144 D SurfaceUtils: disconnecting from surface 0xf2587e08, reason connectToSurface(reconnect)
01-21 16:43:57.671 16390 17144 D SurfaceUtils: connecting to surface 0xf2587e08, reason connectToSurface(reconnect)
01-21 16:43:57.672 16390 17145 I AmAVUtils: AmAVUtils::getComponentRole isEncoder :0 mime:video/avc 
01-21 16:43:57.672 16390 17145 V MediaVendorExt: AVUtils::getComponentRole
01-21 16:43:57.672 16390 17145 I MediaVendorExt: AmAVUtils::getComponentRole isEncoder :0 mime:video/avc 
01-21 16:43:57.678 16390 17145 I AmAVUtils: AmAVUtils::isAudioExtendFormat input = video/avc
01-21 16:43:57.678 16390 17145 I AmAVUtils: AmAVUtils::isExtendFormat input = video/avc
01-21 16:43:57.678 16390 17145 I ACodec  : codec does not support config priority (err -1010)
01-21 16:43:57.680 16390 17145 I ACodec  : codec does not support config operating rate (err -1010)
01-21 16:43:57.706 16390 17145 D SurfaceUtils: set up nativeWindow 0xf2587e08 for 1920x1080, color 0x11, rotation 0, usage 0xc02933
01-21 16:43:57.734 16390 17150 D CCodec  : allocate(c2.android.aac.decoder)
01-21 16:43:57.737 16390 17150 I CCodec  : Created component [c2.android.aac.decoder]
01-21 16:43:57.738 16390 17150 D CCodecConfig: read media type: audio/mp4a-latm
01-21 16:43:57.743 16390 17150 D ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.max-count.values
01-21 16:43:57.743 16390 17150 D ReflectedParamUpdater: extent() != 1 for single value type: output.subscribed-indices.values
01-21 16:43:57.744 16390 17150 D ReflectedParamUpdater: extent() != 1 for single value type: input.buffers.allocator-ids.values
01-21 16:43:57.746 16390 17150 D ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.allocator-ids.values
01-21 16:43:57.746 16390 17150 D ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.allocator-ids.values
01-21 16:43:57.746 16390 17150 D ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.pool-ids.values
01-21 16:43:57.746 16390 17150 D ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.pool-ids.values
01-21 16:43:57.757 16390 17150 I CCodecConfig: query failed after returning 19 values (BAD_INDEX)
01-21 16:43:57.758 16390 17150 D CCodecConfig: c2 config diff is Dict {
01-21 16:43:57.758 16390 17150 D CCodecConfig:   c2::u32 coded.aac-packaging.value = 0
01-21 16:43:57.758 16390 17150 D CCodecConfig:   c2::u32 coded.bitrate.value = 64000
01-21 16:43:57.758 16390 17150 D CCodecConfig:   c2::u32 coded.pl.level = 0
01-21 16:43:57.758 16390 17150 D CCodecConfig:   c2::u32 coded.pl.profile = 8192
01-21 16:43:57.758 16390 17150 D CCodecConfig:   c2::i32 coding.drc.album-mode.value = 0
01-21 16:43:57.758 16390 17150 D CCodecConfig:   c2::float coding.drc.attenuation-factor.value = 1
01-21 16:43:57.758 16390 17150 D CCodecConfig:   c2::float coding.drc.boost-factor.value = 1
01-21 16:43:57.758 16390 17150 D CCodecConfig:   c2::i32 coding.drc.compression-mode.value = 3
01-21 16:43:57.758 16390 17150 D CCodecConfig:   c2::i32 coding.drc.effect-type.value = 3
01-21 16:43:57.758 16390 17150 D CCodecConfig:   c2::float coding.drc.encoded-level.value = 0.25
01-21 16:43:57.758 16390 17150 D CCodecConfig:   c2::float coding.drc.reference-level.value = -16
01-21 16:43:57.758 16390 17150 D CCodecConfig:   c2::u32 input.buffers.max-size.value = 8192
01-21 16:43:57.758 16390 17150 D CCodecConfig:   c2::u32 input.delay.value = 0
01-21 16:43:57.758 16390 17150 D CCodecConfig:   string input.media-type.value = "audio/mp4a-latm"
01-21 16:43:57.758 16390 17150 D CCodecConfig:   c2::u32 output.delay.value = 2
01-21 16:43:57.758 16390 17150 D CCodecConfig:   c2::float output.drc.output-loudness.value = 0.25
01-21 16:43:57.758 16390 17150 D CCodecConfig:   string output.media-type.value = "audio/raw"
01-21 16:43:57.758 16390 17150 D CCodecConfig:   c2::u32 raw.channel-count.value = 1
01-21 16:43:57.758 16390 17150 D CCodecConfig:   c2::u32 raw.max-channel-count.value = 8
01-21 16:43:57.758 16390 17150 D CCodecConfig:   c2::u32 raw.sample-rate.value = 44100
01-21 16:43:57.758 16390 17150 D CCodecConfig: }
01-21 16:43:57.761 16390 17150 D CCodec  : [c2.android.aac.decoder] buffers are bound to CCodec for this session
01-21 16:43:57.762 16390 17150 D CCodecConfig: no c2 equivalents for flags
01-21 16:43:57.764 16390 17150 D CCodecConfig: c2 config diff is   c2::u32 raw.channel-count.value = 2
01-21 16:43:57.764 16390 17150 D CCodecConfig:   c2::u32 raw.sample-rate.value = 48000
01-21 16:43:57.767 16390 17150 W Codec2Client: query -- param skipped: index = 1107298332.
01-21 16:43:57.767 16390 17150 D CCodec  : setup formats input: AMessage(what = 0x00000000) = {
01-21 16:43:57.767 16390 17150 D CCodec  :   int32_t aac-drc-album-mode = 0
01-21 16:43:57.767 16390 17150 D CCodec  :   int32_t aac-drc-boost-level = 127
01-21 16:43:57.767 16390 17150 D CCodec  :   int32_t aac-drc-cut-level = 127
01-21 16:43:57.767 16390 17150 D CCodec  :   int32_t aac-drc-effect-type = 3
01-21 16:43:57.767 16390 17150 D CCodec  :   int32_t aac-drc-heavy-compression = 3
01-21 16:43:57.767 16390 17150 D CCodec  :   int32_t aac-encoded-target-level = -1
01-21 16:43:57.767 16390 17150 D CCodec  :   int32_t aac-max-output-channel_count = 8
01-21 16:43:57.767 16390 17150 D CCodec  :   int32_t aac-target-ref-level = 64
01-21 16:43:57.767 16390 17150 D CCodec  :   int32_t channel-count = 2
01-21 16:43:57.767 16390 17150 D CCodec  :   int32_t level = 0
01-21 16:43:57.767 16390 17150 D CCodec  :   int32_t max-input-size = 8192
01-21 16:43:57.767 16390 17150 D CCodec  :   string mime = "audio/mp4a-latm"
01-21 16:43:57.767 16390 17150 D CCodec  :   int32_t profile = 2
01-21 16:43:57.767 16390 17150 D CCodec  :   int32_t sample-rate = 48000
01-21 16:43:57.767 16390 17150 D CCodec  : } and output: AMessage(what = 0x00000000) = {
01-21 16:43:57.767 16390 17150 D CCodec  :   int32_t aac-drc-album-mode = 0
01-21 16:43:57.767 16390 17150 D CCodec  :   int32_t aac-drc-boost-level = 127
01-21 16:43:57.767 16390 17150 D CCodec  :   int32_t aac-drc-cut-level = 127
01-21 16:43:57.767 16390 17150 D CCodec  :   int32_t aac-drc-effect-type = 3
01-21 16:43:57.767 16390 17150 D CCodec  :   int32_t aac-drc-heavy-compression = 3
01-21 16:43:57.767 16390 17150 D CCodec  :   int32_t aac-drc-output-loudness = -1
01-21 16:43:57.767 16390 17150 D CCodec  :   int32_t aac-encoded-target-level = -1
01-21 16:43:57.767 16390 17150 D CCodec  :   int32_t aac-max-output-channel_count = 8
01-21 16:43:57.767 16390 17150 D CCodec  :   int32_t aac-target-ref-level = 64
01-21 16:43:57.767 16390 17150 D CCodec  :   int32_t channel-count = 2
01-21 16:43:57.767 16390 17150 D CCodec  :   string mime = "audio/raw"
01-21 16:43:57.767 16390 17150 D CCodec  :   int32_t sample-rate = 48000
01-21 16:43:57.767 16390 17150 D CCodec  : }
01-21 16:43:57.769 16390 17150 W Codec2Client: query -- param skipped: index = 1342179345.
01-21 16:43:57.769 16390 17150 W Codec2Client: query -- param skipped: index = 2415921170.
01-21 16:43:57.769 16390 17150 W Codec2Client: query -- param skipped: index = 1610614798.
01-21 16:43:57.771 16390 17150 E FMQ     : grantorIdx must be less than 3
01-21 16:43:57.771 16390 17150 E FMQ     : grantorIdx must be less than 3
01-21 16:43:57.772 16390 17150 D CCodecBufferChannel: [c2.android.aac.decoder#549] Created input block pool with allocatorID 16 => poolID 24 - OK (0)
01-21 16:43:57.779 16390 16593 D BufferPoolAccessor2.0: bufferpool2 0xc2815088 : 0(0 size) total buffers - 0(0 size) used buffers - 1/7 (recycle/alloc) - 10/56 (fetch/transfer)
01-21 16:43:57.782 16390 16593 D BufferPoolAccessor2.0: Destruction - bufferpool2 0xc2815088 cached: 0/0M, 0/0% in use; allocs: 7, 14% recycled; transfers: 56, 82% unfetched
01-21 16:43:57.782 16390 17150 I CCodecBufferChannel: [c2.android.aac.decoder#549] Created output block pool with allocatorID 16 => poolID 109 - OK
01-21 16:43:57.783 16390 17150 D CCodecBufferChannel: [c2.android.aac.decoder#549] Configured output block pool ids 109 => OK
01-21 16:43:57.789 16390 17150 E FMQ     : grantorIdx must be less than 3
01-21 16:43:57.807 16390 16593 E FMQ     : grantorIdx must be less than 3
01-21 16:43:57.810 16390 17150 D CCodecConfig: c2 config diff is   c2::i32 coding.drc.compression-mode.value = 1
01-21 16:43:57.811 16390 17150 D CCodecBuffers: [c2.android.aac.decoder#549:Output[N]] popFromStashAndRegister: output format changed to AMessage(what = 0x00000000) = {
01-21 16:43:57.811 16390 17150 D CCodecBuffers:   int32_t aac-drc-album-mode = 0
01-21 16:43:57.811 16390 17150 D CCodecBuffers:   int32_t aac-drc-boost-level = 127
01-21 16:43:57.811 16390 17150 D CCodecBuffers:   int32_t aac-drc-cut-level = 127
01-21 16:43:57.811 16390 17150 D CCodecBuffers:   int32_t aac-drc-effect-type = 3
01-21 16:43:57.811 16390 17150 D CCodecBuffers:   int32_t aac-drc-heavy-compression = 1
01-21 16:43:57.811 16390 17150 D CCodecBuffers:   int32_t aac-drc-output-loudness = -1
01-21 16:43:57.811 16390 17150 D CCodecBuffers:   int32_t aac-encoded-target-level = -1
01-21 16:43:57.811 16390 17150 D CCodecBuffers:   int32_t aac-max-output-channel_count = 8
01-21 16:43:57.811 16390 17150 D CCodecBuffers:   int32_t aac-target-ref-level = 64
01-21 16:43:57.811 16390 17150 D CCodecBuffers:   int32_t channel-count = 2
01-21 16:43:57.811 16390 17150 D CCodecBuffers:   string mime = "audio/raw"
01-21 16:43:57.811 16390 17150 D CCodecBuffers:   int32_t sample-rate = 48000
01-21 16:43:57.811 16390 17150 D CCodecBuffers: }
01-21 16:43:57.965 16390 16402 I om.fgl27.twitc: NativeAlloc concurrent copying GC freed 24829(1459KB) AllocSpace objects, 11(268KB) LOS objects, 49% free, 10MB/21MB, paused 2.065ms total 141.692ms
01-21 16:43:58.092 16390 17145 W gralloc4: Buffer descriptor with invalid usage bits 0x2000
01-21 16:43:58.123 16390 17145 W gralloc4: Buffer descriptor with invalid usage bits 0x2000
01-21 16:43:58.137 16390 17145 W gralloc4: Buffer descriptor with invalid usage bits 0x2000
01-21 16:43:58.154 16390 17145 W gralloc4: Buffer descriptor with invalid usage bits 0x2000
01-21 16:43:58.172 16390 17145 W gralloc4: Buffer descriptor with invalid usage bits 0x2000
01-21 16:43:58.183 16390 17145 W gralloc4: Buffer descriptor with invalid usage bits 0x2000
01-21 16:43:58.194 16390 17145 W gralloc4: Buffer descriptor with invalid usage bits 0x2000
01-21 16:43:58.207 16390 17145 W gralloc4: Buffer descriptor with invalid usage bits 0x2000
01-21 16:43:58.219 16390 17145 W gralloc4: Buffer descriptor with invalid usage bits 0x2000
01-21 16:43:58.232 16390 17145 W gralloc4: Buffer descriptor with invalid usage bits 0x2000
01-21 16:43:59.225 16390 17136 D AudioTrack: getTimestamp_l(266): device stall time corrected using current time 151048008617941
01-21 16:43:59.238 16390 17145 W gralloc4: Buffer descriptor with invalid usage bits 0x2000
01-21 16:43:59.258 16390 17145 W gralloc4: Buffer descriptor with invalid usage bits 0x2000
01-21 16:43:59.276 16390 17145 W gralloc4: Buffer descriptor with invalid usage bits 0x2000
01-21 16:43:59.451 16390 17145 W gralloc4: Buffer descriptor with invalid usage bits 0x2000
01-21 16:44:00.102 16390 16604 D BufferPoolAccessor2.0: bufferpool2 0xc280a588 : 0(0 size) total buffers - 0(0 size) used buffers - 1/7 (recycle/alloc) - 6/30 (fetch/transfer)
01-21 16:44:00.102 16390 16604 D BufferPoolAccessor2.0: evictor expired: 1, evicted: 1
01-21 16:44:00.222 16390 16593 D CCodecBuffers: [c2.android.aac.decoder#549:1D-Input.Impl[N]] codec released a buffer owned by client (index 2)
01-21 16:44:00.975 16390 16593 D CCodecBuffers: [c2.android.aac.decoder#549:1D-Input.Impl[N]] codec released a buffer owned by client (index 0)
01-21 16:44:01.102 16390 16604 D BufferPoolAccessor2.0: evictor expired: 1, evicted: 0
01-21 16:44:01.880 16390 16593 D CCodecBuffers: [c2.android.aac.decoder#549:1D-Input.Impl[N]] codec released a buffer owned by client (index 4)
01-21 16:44:02.005 16390 16593 D CCodecBuffers: [c2.android.aac.decoder#676:1D-Input.Impl[N]] codec released a buffer owned by client (index 0)
01-21 16:44:02.103 16390 16604 D BufferPoolAccessor2.0: bufferpool2 0xc2816168 : 5(40960 size) total buffers - 5(40960 size) used buffers - 1/7 (recycle/alloc) - 11/261 (fetch/transfer)
01-21 16:44:02.103 16390 16604 D BufferPoolAccessor2.0: bufferpool2 0xc2820008 : 0(0 size) total buffers - 0(0 size) used buffers - 1/7 (recycle/alloc) - 6/30 (fetch/transfer)
01-21 16:44:02.103 16390 16604 D BufferPoolAccessor2.0: evictor expired: 2, evicted: 2
01-21 16:44:02.225 16390 16593 D CCodecBuffers: [c2.android.aac.decoder#549:1D-Input.Impl[N]] codec released a buffer owned by client (index 0)
01-21 16:44:02.611 16390 16593 D CCodecBuffers: [c2.android.aac.decoder#549:1D-Input.Impl[N]] codec released a buffer owned by client (index 1)
01-21 16:44:03.103 16390 16604 D BufferPoolAccessor2.0: bufferpool2 0xc2821e68 : 6(49152 size) total buffers - 5(40960 size) used buffers - 1/7 (recycle/alloc) - 8/209 (fetch/transfer)
01-21 16:44:03.104 16390 16604 D BufferPoolAccessor2.0: evictor expired: 2, evicted: 1
DooMMasteR commented 1 year ago

Github is crashing my browser, but to reproduce:

  1. go to live feed list
  2. switch quickly forward and backward between 2 channels

Bug: the audio of the background channel that was previously selected will stay playing and not quit, even if the app is closed (via exit on the main menu). Only killing it via OS stops the playback.

Devices: Homatics Box R 4K Plus << on this device it only takes ~2-3 tries to trigger the issue Xiaomi Mi Box 3 << on this device it takes quite many tries to trigger the issue, sometimes 20 and more.

Workaround: disable live previews

fgl27 commented 1 year ago

I can see the crash here

01-21 16:43:56.083 16390 16390 I ExoPlayerImpl: Release 74fe422 [ExoPlayerLib/2.18.1] [YYJ, Box R 4K Plus, SEI Robotics, 30] [goog.exo.core, goog.exo.ui, goog.exo.hls, goog.exo.exoplayer, goog.exo.decoder, goog.exo.datasource, goog.exo.extractor]
01-21 16:43:56.101 16390 16604 D BufferPoolAccessor2.0: evictor expired: 1, evicted: 0
01-21 16:43:56.591 16390 16390 W STTV_PlayerActivity: onPlayerError pos 0 e.errorCode 1003 e 
01-21 16:43:56.591 16390 16390 W STTV_PlayerActivity: com.google.android.exoplayer2.ExoPlaybackException: Unexpected runtime error
01-21 16:43:56.591 16390 16390 W STTV_PlayerActivity:   at com.google.android.exoplayer2.j0.R1(ExoPlayerImpl.java:2)
01-21 16:43:56.591 16390 16390 W STTV_PlayerActivity:   at com.google.android.exoplayer2.j0.N0(Unknown Source:0)
01-21 16:43:56.591 16390 16390 W STTV_PlayerActivity:   at com.google.android.exoplayer2.x.a(Unknown Source:2)
01-21 16:43:56.591 16390 16390 W STTV_PlayerActivity:   at b2.p$c.a(ListenerSet.java:4)
01-21 16:43:56.591 16390 16390 W STTV_PlayerActivity:   at b2.p.h(ListenerSet.java:2)
01-21 16:43:56.591 16390 16390 W STTV_PlayerActivity:   at b2.p.a(Unknown Source:0)
01-21 16:43:56.591 16390 16390 W STTV_PlayerActivity:   at b2.o.run(Unknown Source:6)
01-21 16:43:56.591 16390 16390 W STTV_PlayerActivity:   at b2.p.f(ListenerSet.java:8)
01-21 16:43:56.591 16390 16390 W STTV_PlayerActivity:   at b2.p.l(ListenerSet.java:2)
01-21 16:43:56.591 16390 16390 W STTV_PlayerActivity:   at com.google.android.exoplayer2.j0.a(ExoPlayerImpl.java:15)
01-21 16:43:56.591 16390 16390 W STTV_PlayerActivity:   at com.fgl27.twitch.PlayerActivity.releasePlayer(PlayerActivity.java:5)
01-21 16:43:56.591 16390 16390 W STTV_PlayerActivity:   at com.fgl27.twitch.PlayerActivity.ClearPlayer(PlayerActivity.java:1)
01-21 16:43:56.591 16390 16390 W STTV_PlayerActivity:   at com.fgl27.twitch.PlayerActivity.access$7500(Unknown Source:0)
01-21 16:43:56.591 16390 16390 W STTV_PlayerActivity:   at com.fgl27.twitch.PlayerActivity$WebAppInterface.lambda$ClearSidePanelPlayer$40(PlayerActivity.java:2)
01-21 16:43:56.591 16390 16390 W STTV_PlayerActivity:   at com.fgl27.twitch.PlayerActivity$WebAppInterface.R(Unknown Source:0)
01-21 16:43:56.591 16390 16390 W STTV_PlayerActivity:   at com.fgl27.twitch.f2.run(Unknown Source:2)
01-21 16:43:56.591 16390 16390 W STTV_PlayerActivity:   at android.os.Handler.handleCallback(Handler.java:938)
01-21 16:43:56.591 16390 16390 W STTV_PlayerActivity:   at android.os.Handler.dispatchMessage(Handler.java:99)
01-21 16:43:56.591 16390 16390 W STTV_PlayerActivity:   at android.os.Looper.loop(Looper.java:223)
01-21 16:43:56.591 16390 16390 W STTV_PlayerActivity:   at android.app.ActivityThread.main(ActivityThread.java:7656)
01-21 16:43:56.591 16390 16390 W STTV_PlayerActivity:   at java.lang.reflect.Method.invoke(Native Method)
01-21 16:43:56.591 16390 16390 W STTV_PlayerActivity:   at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
01-21 16:43:56.591 16390 16390 W STTV_PlayerActivity:   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
01-21 16:43:56.591 16390 16390 W STTV_PlayerActivity: Caused by: com.google.android.exoplayer2.ExoTimeoutException: Player release timed out.
01-21 16:43:56.591 16390 16390 W STTV_PlayerActivity:   at com.google.android.exoplayer2.j0.R1(ExoPlayerImpl.java:1)
01-21 16:43:56.591 16390 16390 W STTV_PlayerActivity:   ... 22 more
01-21 16:43:56.591 16390 16390 I ExoPlayerImpl: Release 74fe422 [ExoPlayerLib/2.18.1] [YYJ, Box R 4K Plus, SEI Robotics, 30] [goog.exo.core, goog.exo.ui, goog.exo.hls, goog.exo.exoplayer, goog.exo.decoder, goog.exo.datasource, goog.exo.extractor]
01-21 16:43:56.672 16390 17099 D CCodecBuffers: [c2.android.aac.decoder#783:1D-Output.Impl[N
fgl27 commented 1 year ago

The app is unable to release the player and lost control of it.

Fixing a random problem on an device I don't have access is difficult.

probable a os updated will fixes it, but may never got one for this, as manufacturer don't really test much they devices.

If I find something i inform.

fgl27 commented 1 year ago

app-debug.zip

@DooMMasteR

Try the above app to let me know the behavior... that is a zip so extract before installing, use FX file explorer or similar to extract and install.

That app is a debug app, it has a different yellow color icon... it has a update version of the player, plus minor adjustments that may or may not help.

It also can output more logs so if it keeps crashing share another log please.

DooMMasteR commented 1 year ago

Will try (installing via ADB over network should work too I guess)

/tmp [1]> adb install app-debug.apk
Performing Streamed Install
Success

yeah it works, but I am not at home yet, will take a look later :-) thx for the effort so far :+1:

fgl27 commented 1 year ago

thank you for the help!

twiikker commented 1 year ago

I'm gonna try this also later this week. Hopefully we can catch what causes it!

DooMMasteR commented 1 year ago

For me this debug version seems to fix the issue :clap:

fgl27 commented 1 year ago

Nice that is great, thanks you both.

Let see if @twiikker has good results and keep testing for a few days to make sure no new bug was introduced.

twiikker commented 1 year ago

Ye im gonna test it and report how it work on end of week. Today it worked without issues for small test.

twiikker commented 1 year ago

Still happened. Here is logcat from session. logcat-25012023-191704.txt

fgl27 commented 1 year ago

Still happened. Here is logcat from session. logcat-25012023-191704.txt

what you did to cause this? you open a stream and just pressed the home key?

twiikker commented 1 year ago

Still happened. Here is logcat from session. logcat-25012023-191704.txt

what you did to cause this? you open a stream and just pressed the home key?

I watch stream normally and then press return key. I have set it up as single press. I have tested with double press also but same effect sometime previously. Its more prone to happen when watching 15+minutes or something. Usually it doesnt happen if i watch like minute or two. So basically exiting stream with return key. It takes like 2-4 seconds to load list of live streams open and after 1-2 more seconds that old stream starts again playing on background somewhere hidden.

fgl27 commented 1 year ago

OK I can understand that.

Will make some changes and share another apk.

thanks!

fgl27 commented 1 year ago

this apk was crashing removed

Please test this let me know the behavior.

fgl27 commented 1 year ago

the apk is crashing will make another

fgl27 commented 1 year ago

app-debug.zip

OK, this must work now, please test.

twiikker commented 1 year ago

Okey ill test this out and see how it works out.

twiikker commented 1 year ago

Atleast it hasnt happened now for 2 days while i have watched multiple streams. Before it was like 80% chance of happening. Havent watched super long time straight but 30min+ multiple times.

fgl27 commented 1 year ago

Good thank you for testing.

If it happens again share a log.

I expect this fix to prevent the issue from returning or at least prevent most of the cases it can happen.

On the weekend I push a new app to play store.

fgl27 commented 1 year ago

A app with the changes we tested was released, if that has any issue let me know.