apivideo / api.video-flutter-live-stream

Flutter RTMP live stream client. Made with ♥ by api.video
MIT License
70 stars 41 forks source link

[Bug]: java.net.ConnectException #65

Closed roongzee closed 1 month ago

roongzee commented 2 months ago

Version

v1.2.0

Which operating systems have you used?

Environment that reproduces the issue

Galaxy s23+

Is it reproducible in the example application?

No

RTMP Server

rtmp://broadcast.api.video/s/

Reproduction steps

run main.dart set stream key 'test' click start button

Expected result

start successfully

Actual result

Error Failed to start stream: java.net.ConnectException: Failed to connectStream

Additional context

Everything else works. I only get an error when I start Streaming

Relevant logs output

W/estream.example( 2187): Long monitor contention with owner main (2187) at void android.hardware.camera2.impl.CameraDeviceImpl.close()(CameraDeviceImpl.java:1492) waiters=0 in void android.hardware.camera2.impl.CameraDeviceImpl$CameraDeviceCallbacks.onResultReceived(android.hardware.camera2.impl.CameraMetadataNative, android.hardware.camera2.impl.CaptureResultExtras, android.hardware.camera2.impl.PhysicalCaptureResultInfo[]) for 393ms
I/SurfaceView@4cf8a53( 2187): onWindowVisibilityChanged(8) false io.flutter.embedding.android.FlutterSurfaceView{4cf8a53 V.E...... ........ 0,0-1080,2214} of ViewRootImpl@c94ddf9[MainActivity]
I/SurfaceView( 2187): 80710227 Changes: creating=false format=false size=false visible=true alpha=false hint=false visible=true left=false top=false z=false attached=true lifecycleStrategy=false
I/SurfaceView@4cf8a53( 2187): 80710227 Cur surface: Surface(name=null)/@0xe0d594c
I/SurfaceView( 2187): 80710227 surfaceDestroyed
I/SurfaceView@4cf8a53( 2187): surfaceDestroyed callback.size 1 #2 io.flutter.embedding.android.FlutterSurfaceView{4cf8a53 V.E...... ........ 0,0-1080,2214}
I/SurfaceView@4cf8a53( 2187): updateSurface: mVisible = false mSurface.isValid() = true
I/SurfaceView@4cf8a53( 2187): releaseSurfaces: viewRoot = ViewRootImpl@c94ddf9[MainActivity]
V/SurfaceView@4cf8a53( 2187): Layout: x=0 y=0 w=1080 h=2214, frame=Rect(0, 0 - 1080, 2214)
I/ViewRootImpl@c94ddf9[MainActivity]( 2187): destroyHardwareResources: Callers=android.view.ViewRootImpl.performTraversals:3932 android.view.ViewRootImpl.doTraversal:3288 android.view.ViewRootImpl$TraversalRunnable.run:11344 android.view.Choreographer$CallbackRecord.run:1689 android.view.Choreographer$CallbackRecord.run:1698 android.view.Choreographer.doCallbacks:1153 android.view.Choreographer.doFrame:1079 android.view.Choreographer$FrameDisplayEventReceiver.run:1646 android.os.Handler.handleCallback:958 android.os.Handler.dispatchMessage:99 
D/SurfaceView( 2187): 35812127 windowPositionLost, frameNr = 0
D/OpenGLRenderer( 2187): CacheManager::trimMemory(20)
I/ViewRootImpl@c94ddf9[MainActivity]( 2187): Relayout returned: old=(0,0,1080,2340) new=(0,0,1080,2340) relayoutAsync=false req=(1080,2340)8 dur=14 res=0x402 s={false 0x0} ch=true seqId=0
I/SurfaceView@4cf8a53( 2187): windowStopped(true) false io.flutter.embedding.android.FlutterSurfaceView{4cf8a53 V.E...... ........ 0,0-1080,2214} of ViewRootImpl@c94ddf9[MainActivity]
D/SurfaceView@4cf8a53( 2187): updateSurface: surface is not valid
I/SurfaceView@4cf8a53( 2187): releaseSurfaces: viewRoot = ViewRootImpl@c94ddf9[MainActivity]
D/SurfaceView@4cf8a53( 2187): updateSurface: surface is not valid
I/SurfaceView@4cf8a53( 2187): releaseSurfaces: viewRoot = ViewRootImpl@c94ddf9[MainActivity]
D/OpenGLRenderer( 2187): CacheManager::trimMemory(20)
I/ViewRootImpl@c94ddf9[MainActivity]( 2187): stopped(true) old = false
D/ViewRootImpl@c94ddf9[MainActivity]( 2187): WindowStopped on video.api.flutter.livestream.example/video.api.flutter.livestream.example.MainActivity set to true
D/OpenGLRenderer( 2187): CacheManager::trimMemory(20)
D/SurfaceView@4cf8a53( 2187): updateSurface: surface is not valid
I/SurfaceView@4cf8a53( 2187): releaseSurfaces: viewRoot = ViewRootImpl@c94ddf9[MainActivity]
I/ViewRootImpl@c94ddf9[MainActivity]( 2187): onDisplayChanged oldDisplayState=2 newDisplayState=1
I/ViewRootImpl( 2187): updatePointerIcon pointerType = 1, calling pid = 2187
D/InputManagerGlobal( 2187): setPointerIconType iconId = 1, callingPid = 2187
I/ViewRootImpl@c94ddf9[MainActivity]( 2187): onDisplayChanged oldDisplayState=1 newDisplayState=1
I/ViewRootImpl@c94ddf9[MainActivity]( 2187): handleWindowFocusChanged: 0 0 call from android.view.ViewRootImpl.-$$Nest$mhandleWindowFocusChanged:0
I/ImeFocusController( 2187): onPreWindowFocus: skipped, hasWindowFocus=false mHasImeFocus=true
I/ImeFocusController( 2187): onPostWindowFocus: skipped, hasWindowFocus=false mHasImeFocus=true
D/SurfaceView@4cf8a53( 2187): updateSurface: surface is not valid
I/SurfaceView@4cf8a53( 2187): releaseSurfaces: viewRoot = ViewRootImpl@c94ddf9[MainActivity]
Lost connection to device.
ThibaultBee commented 2 months ago

Hi,

If your stream key is test, the api.video server will reject you. You can find (or create) an api.video RTMP stream key on the dashboard or throught the API (see https://docs.api.video/reference/api/Live-Streams#create-live-stream).

roongzee commented 2 months ago

Thanks for comment!

I have set the stream key and url correctly as you said in the comment. But it also has another problem :(

url : rtmp://broadcast.api.video/s stream key : xxxx

I can start with the correct settings, but after a few seconds it stops working with a 'disconnected' message.

Below is my error what i got D/BufferPoolAccessor2.0(19904): evictor expired: 1, evicted: 1 I/ViewRootImpl@d4b37d4MainActivity: ViewPostIme pointer 0 I/ViewRootImpl@d4b37d4MainActivity: ViewPostIme pointer 1 D/MediaCodec(19904): keep callback message for reclaim I/CCodec (19904): [c2.android.aac.encoder] state->set(STARTING) W/Codec2Client(19904): query -- param skipped: index = 1342179345. W/Codec2Client(19904): query -- param skipped: index = 2415921170. W/Codec2Client(19904): query -- param skipped: index = 3254792206. W/Codec2Client(19904): query -- param skipped: index = 3254792194. D/CCodecBufferChannel(19904): [c2.android.aac.encoder#595] Created input block pool with allocatorID 16 => poolID 18 - OK (0) D/BufferPoolAccessor2.0(19904): bufferpool2 0xb4000071e973a228 : 0(0 size) total buffers - 0(0 size) used buffers - 33/38 (recycle/alloc) - 5/68 (fetch/transfer) D/BufferPoolAccessor2.0(19904): Destruction - bufferpool2 0xb4000071e973a228 cached: 0/0M, 0/0% in use; allocs: 38, 87% recycled; transfers: 68, 93% unfetched I/CCodecBufferChannel(19904): [c2.android.aac.encoder#595] Created output block pool with allocatorID 16 => poolID 145 - OK D/CCodecBufferChannel(19904): [c2.android.aac.encoder#595] Configured output block pool ids 145 => OK I/CCodec (19904): [c2.android.aac.encoder] state->set(RUNNING) I/CCodecBufferChannel(19904): [c2.android.aac.encoder#595] 4 initial input buffers available D/MediaCodec(19904): keep callback message for reclaim I/CCodec (19904): [c2.qti.avc.encoder] state->set(STARTING) W/Codec2Client(19904): query -- param skipped: index = 1610614798. D/C2OMXNode(19904): actual buffer count(16), input delay(1), pipeline delay(0) D/GraphicBufferSource(19904): update max acquired buffer count to 16 W/Codec2Client(19904): query -- param skipped: index = 1342179345. W/Codec2Client(19904): query -- param skipped: index = 2415921170. W/Codec2Client(19904): query -- param skipped: index = 1610614798. D/CCodecBufferChannel(19904): [c2.qti.avc.encoder#197] Query input allocators returned 0 params => BAD_INDEX (6) D/CCodecBufferChannel(19904): [c2.qti.avc.encoder#197] Using basic input block pool with poolID 1 => got 1 - OK (0) D/CCodecBufferChannel(19904): [c2.qti.avc.encoder#197] Query output allocators returned 0 params => BAD_INDEX (6) I/CCodecBufferChannel(19904): [c2.qti.avc.encoder#197] Created output block pool with allocatorID 16 => poolID 363 - OK D/CCodecBufferChannel(19904): [c2.qti.avc.encoder#197] Configured output block pool ids 363 => OK I/CCodec (19904): [c2.qti.avc.encoder] state->set(RUNNING) I/MediaCodec(19904): setCodecState state(0), called in 6 I/MediaCodec(19904): setCodecState state(0), called in 6 I/Choreographer(19904): Skipped 100 frames! The application may be doing too much work on its main thread. I/flutter (19904): Connection succedded I/NDOP (19904): listening using window listener I/ (19904): Format changed : {max-bitrate=128000, sample-rate=44100, level=0, mime=audio/mp4a-latm, profile=2, channel-count=2, bitrate=128000, csd-0=java.nio.HeapByteBuffer[pos=0 lim=2 cap=2]} I/estream.example(19904): EglImage dataspace changed, need recreate W/qdgralloc(19904): getInterlacedFlag: getMetaData returned 3, defaulting to interlaced_flag = 0 D/GraphicBufferSource(19904): got buffer with new dataSpace #10c50000 D/C2OMXNode(19904): dataspace changed to 0x10c50000 pixel format: 0x1 I/ViewRootImpl@d4b37d4MainActivity: ViewPostIme pointer 0 I/ViewRootImpl@d4b37d4MainActivity: ViewPostIme pointer 1 D/CCodecConfig(19904): c2 config diff is Buffer coded.init-data.value = { D/CCodecConfig(19904): 00000000: 00 00 00 01 67 64 00 0d ac b4 1e 16 d3 50 50 60 ....gd.......PP` D/CCodecConfig(19904): 00000010: 50 6d 0a 13 50 00 00 00 01 68 ee 06 f2 c0 Pm..P....h.... D/CCodecConfig(19904): c2::u32 raw.color.matrix = 3 D/CCodecConfig(19904): c2::u32 raw.color.primaries = 3 D/CCodecConfig(19904): c2::u32 raw.color.range = 2 D/CCodecConfig(19904): c2::u32 raw.color.transfer = 3 I/ (19904): Format changed : {max-bitrate=512000, crop-right=239, level=524288, mime=video/avc, profile=8, bitrate=512000, priority=1, intra-refresh-period=0, color-standard=5, feature-secure-playback=0, csd-1=java.nio.HeapByteBuffer[pos=0 lim=9 cap=9], color-transfer=3, crop-bottom=351, vendor.qti-ext-enc-content-adaptive-mode.value=0, prepend-sps-pps-to-idr-frames=0, crop-left=0, width=240, bitrate-mode=1, color-range=2, crop-top=0, frame-rate=24, height=352, csd-0=java.nio.HeapByteBuffer[pos=0 lim=21 cap=21]} I/MediaCodec(19904): setCodecState state(1), called in 6 E/rtmpdroid(19904): WriteN, RTMP send error 104 (136 bytes) E/rtmpdroid(19904): WriteN, RTMP send error 32 (71 bytes) E/rtmpdroid(19904): WriteN, RTMP send error 9 (42 bytes) E/RtmpProducer(19904): Error while writing packet to socket E/RtmpProducer(19904): java.net.SocketException: Connection error E/RtmpProducer(19904): at video.api.rtmpdroid.Rtmp.write(Rtmp.kt:125) E/RtmpProducer(19904): at io.github.thibaultbee.streampack.ext.rtmp.internal.endpoints.RtmpProducer.write(RtmpProducer.kt:64) E/RtmpProducer(19904): at io.github.thibaultbee.streampack.streamers.bases.BaseStreamer$muxListener$1.onOutputFrame(BaseStreamer.kt:134) E/RtmpProducer(19904): at io.github.thibaultbee.streampack.internal.muxers.flv.FlvMuxer.encode(FlvMuxer.kt:55) E/RtmpProducer(19904): at io.github.thibaultbee.streampack.streamers.bases.BaseStreamer$videoEncoderListener$1.onOutputFrame(BaseStreamer.kt:122) E/RtmpProducer(19904): at io.github.thibaultbee.streampack.internal.encoders.MediaCodecEncoder$encoderCallback$1.onOutputBufferAvailable(MediaCodecEncoder.kt:105) E/RtmpProducer(19904): at android.media.MediaCodec$EventHandler.handleCallback(MediaCodec.java:1943) E/RtmpProducer(19904): at android.media.MediaCodec$EventHandler.handleMessage(MediaCodec.java:1841) E/RtmpProducer(19904): at android.os.Handler.dispatchMessage(Handler.java:106) E/RtmpProducer(19904): at android.os.Looper.loopOnce(Looper.java:230) E/RtmpProducer(19904): at android.os.Looper.loop(Looper.java:319) E/RtmpProducer(19904): at android.os.HandlerThread.run(HandlerThread.java:67) W/GraphicBufferSource(19904): released unpopulated slots: [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63] E/MediaCodec(19904): Invalid to call at Running state; only valid at Initialized state D/VideoMediaCodecEncoder(19904): Not running I/NDOP (19904): listening using window listener E/MediaCodec(19904): Invalid to call at Running state; only valid at Initialized state D/AudioMediaCodecEncoder(19904): Not running E/rtmpdroid(19904): WriteN, RTMP send error 9 (42 bytes) I/CCodec (19904): [c2.android.aac.encoder] state->set(RELEASING) D/CCodecBufferChannel(19904): [c2.android.aac.encoder#595] MediaCodec discarded an unknown buffer D/CCodecBufferChannel(19904): [c2.android.aac.encoder#595] MediaCodec discarded an unknown buffer D/CCodecBufferChannel(19904): [c2.android.aac.encoder#595] MediaCodec discarded an unknown buffer D/CCodecBufferChannel(19904): [c2.android.aac.encoder#595] MediaCodec discarded an unknown buffer D/CCodecBufferChannel(19904): [c2.android.aac.encoder#595] MediaCodec discarded an unknown buffer D/CCodecBufferChannel(19904): [c2.android.aac.encoder#595] MediaCodec discarded an unknown buffer D/CCodecBufferChannel(19904): [c2.android.aac.encoder#595] MediaCodec discarded an unknown buffer I/CCodec (19904): [c2.android.aac.encoder] state->set(RELEASED) I/hw-BpHwBinder(19904): onLastStrongRef automatically unlinking death recipients I/MediaCodec(19904): Codec shutdown complete D/MediaCodec(19904): flushMediametrics D/MediaCodec(19904): flushMediametrics W/MediaCodec(19904): no metrics handle found D/AudioMediaCodecEncoder(19904): createCodec: {sample-rate=44100, mime=audio/mp4a-latm, channel-count=2} I/CCodec (19904): state->set(ALLOCATING) I/CCodec (19904): allocate(c2.android.aac.encoder) I/CCodec (19904): setting up 'default' as default (vendor) store I/CCodec (19904): Created component [c2.android.aac.encoder] I/CCodec (19904): [c2.android.aac.encoder] state->set(ALLOCATED) D/CCodecConfig(19904): read media type: audio/mp4a-latm D/ReflectedParamUpdater(19904): extent() != 1 for single value type: algo.buffers.max-count.values D/ReflectedParamUpdater(19904): extent() != 1 for single value type: output.subscribed-indices.values D/ReflectedParamUpdater(19904): extent() != 1 for single value type: input.buffers.allocator-ids.values D/ReflectedParamUpdater(19904): extent() != 1 for single value type: output.buffers.allocator-ids.values D/ReflectedParamUpdater(19904): extent() != 1 for single value type: algo.buffers.allocator-ids.values D/ReflectedParamUpdater(19904): extent() != 1 for single value type: output.buffers.pool-ids.values D/ReflectedParamUpdater(19904): extent() != 1 for single value type: algo.buffers.pool-ids.values I/CCodecConfig(19904): query failed after returning 9 values (BAD_INDEX) D/CCodecConfig(19904): c2 config diff is Dict { D/CCodecConfig(19904): c2::u32 coded.bitrate.value = 64000 D/CCodecConfig(19904): c2::u32 coded.pl.level = 0 D/CCodecConfig(19904): c2::u32 coded.pl.profile = 8192 D/CCodecConfig(19904): c2::u32 coding.aac-sbr-mode.value = 3 D/CCodecConfig(19904): c2::u32 input.buffers.max-size.value = 2048 D/CCodecConfig(19904): c2::u32 input.delay.value = 0 D/CCodecConfig(19904): string input.media-type.value = "audio/raw" D/CCodecConfig(19904): string output.media-type.value = "audio/mp4a-latm" D/CCodecConfig(19904): c2::u32 raw.channel-count.value = 1 D/CCodecConfig(19904): c2::u32 raw.sample-rate.value = 44100 D/CCodecConfig(19904): } I/MediaCodec(19904): MediaCodec will operate in async mode D/MediaCodec(19904): shapeMediaFormat: deltas(0): AMessage(what = 0x00000000) = { D/MediaCodec(19904): } D/MediaCodec(19904): flushMediametrics D/CCodec (19904): [c2.android.aac.encoder] buffers are bound to CCodec for this session I/CCodec (19904): appPid(19904) width(0) height(0) D/CCodecConfig(19904): no c2 equivalents for flags D/CCodecConfig(19904): no c2 equivalents for encoder D/CCodecConfig(19904): c2 config diff is c2::u32 coded.bitrate.value = 128000 D/CCodecConfig(19904): c2::u32 input.buffers.max-size.value = 4096 D/CCodecConfig(19904): c2::u32 raw.channel-count.value = 2 W/Codec2Client(19904): query -- param skipped: index = 1107298332. D/CCodec (19904): Setting encoder options for disabling wrapping D/CCodec (19904): encoding statistics level = 0 D/CCodec (19904): setup formats input: AMessage(what = 0x00000000) = { D/CCodec (19904): int32_t sample-rate = 44100 D/CCodec (19904): int32_t channel-count = 2 D/CCodec (19904): int32_t max-input-size = 4096 D/CCodec (19904): string mime = "audio/raw" D/CCodec (19904): int32_t android._config-pcm-encoding = 2 D/CCodec (19904): int32_t bytebuffer-wrapping-disable = 1 D/CCodec (19904): } D/CCodec (19904): setup formats output: AMessage(what = 0x00000000) = { D/CCodec (19904): int32_t sample-rate = 44100 D/CCodec (19904): int32_t bitrate = 128000 D/CCodec (19904): int32_t channel-count = 2 D/CCodec (19904): int32_t level = 0 D/CCodec (19904): int32_t max-bitrate = 128000 D/CCodec (19904): string mime = "audio/mp4a-latm" D/CCodec (19904): int32_t profile = 2 D/CCodec (19904): } I/CCodecConfig(19904): query failed after returning 9 values (BAD_INDEX) I/CCodec (19904): [c2.qti.avc.encoder] state->set(RELEASING) D/CCodecBufferChannel(19904): [c2.qti.avc.encoder#197] MediaCodec discarded an unknown buffer D/VideoMediaCodecEncoder(19904): createCodec: {mime=video/avc, width=240, height=352} D/MediaCodec(19904): MediaCodec::reclaim(0xb4000071e9c7c800) c2.qti.avc.encoder I/CCodec (19904): [c2.qti.avc.encoder] state->set(RELEASED) I/hw-BpHwBinder(19904): onLastStrongRef automatically unlinking death recipients I/MediaCodec(19904): Codec shutdown complete D/MediaCodec(19904): flushMediametrics D/MediaCodec(19904): MediaCodec looper is gone, skip reclaim D/MediaCodec(19904): flushMediametrics W/MediaCodec(19904): no metrics handle found I/CCodec (19904): state->set(ALLOCATING) I/CCodec (19904): allocate(c2.qti.avc.encoder) I/CCodec (19904): setting up 'default' as default (vendor) store I/CCodec (19904): Created component [c2.qti.avc.encoder] I/CCodec (19904): [c2.qti.avc.encoder] state->set(ALLOCATED) D/CCodecConfig(19904): read media type: video/avc D/ReflectedParamUpdater(19904): ignored struct field vendor.input.configs.portConfigs D/ReflectedParamUpdater(19904): extent() != 1 for single value type: output.buffers.pool-ids.values D/ReflectedParamUpdater(19904): ignored struct field coding.gop.values D/ReflectedParamUpdater(19904): ignored struct field coding.qp.values D/ReflectedParamUpdater(19904): extent() != 1 for single value type: vendor.qti-ext-transcode-info-stats.stats_info D/ReflectedParamUpdater(19904): ignored struct field vendor.output.configs.portConfigs D/ReflectedParamUpdater(19904): extent() != 1 for single value type: vendor.qti-ext-enc-info-metadata-cvp.reserved D/ReflectedParamUpdater(19904): extent() != 1 for single value type: output.subscribed-indices.values D/ReflectedParamUpdater(19904): extent() != 1 for single value type: vendor.qti-ext-enc-temporal-layer-bitrate.layerBitrates D/CCodecConfig(19904): ignoring local param raw.color (0xc2001809) as it is already supported D/CCodecConfig(19904): ignoring local param coded.average-qp (0xd200401b) as it is already supported D/CCodecConfig(19904): ignoring local param coded.picture-type (0xd2001810) as it is already supported I/CCodecConfig(19904): query failed after returning 23 values (BAD_INDEX) D/CCodecConfig(19904): c2 config diff is Dict { D/CCodecConfig(19904): c2::u32 algo.bitrate-mode.value = 3 D/CCodecConfig(19904): c2::u32 algo.complexity.value = 50 D/CCodecConfig(19904): c2::i32 algo.priority.value = -1 D/CCodecConfig(19904): c2::float algo.rate.value = 30 D/CCodecConfig(19904): c2::u32 algo.secure-mode.value = 0 D/CCodecConfig(19904): c2::u32 coded.bitrate.value = 20000000 D/CCodecConfig(19904): c2::float coded.frame-rate.value = 30 D/CCodecConfig(19904): c2::u32 coded.pl.level = 0 D/CCodecConfig(19904): c2::u32 coded.pl.profile = 20484 D/CCodecConfig(19904): c2::u32 coded.vui.color.matrix = 255 D/CCodecConfig(19904): c2::u32 coded.vui.color.primaries = 0 D/CCodecConfig(19904): c2::u32 coded.vui.color.range = 0 D/CCodecConfig(19904): c2::u32 coded.vui.color.transfer = 255 D/CCodecConfig(19904): c2::u32 coding.intra-refresh.mode = 0 D/CCodecConfig(19904): c2::float coding.intra-refresh.period = 0 D/CCodecConfig(19904): c2::u32 coding.request-sync-frame.value = 0 D/CCodecConfig(19904): c2::i64 coding.sync-frame-interval.value = 1000000 D/CCodecConfig(19904): Buffer coding.temporal-layering = { D/CCodecConfig(19904): 00000000: 10 00 00 00 07 20 01 52 00 00 00 00 00 00 00 00 ..... .R........ D/CCodecConfig(19904): } D/CCodecConfig(19904): c2::u32 default.color.matrix = 0 D/CCodecConfig(19904): c2::u32 default.color.primaries = 0 D/CCodecConfig(19904): c2::u32 default.color.range = 0 D/CCodecConfig(19904): c2::u32 default.color.transfer = 0 D/CCodecConfig(19904): c2::u32 input.delay.value = 1 D/CCodecConfig(19904): string input.media-type.value = W/ColorUtils(19904): expected specified color aspects (0:0:255:255) I/MediaCodec(19904): MediaCodec will operate in async mode D/VQApply (19904): minquality: codec claims to implement minquality=1 D/MediaCodec(19904): shapeMediaFormat: deltas(1): AMessage(what = 0x00000000) = { D/MediaCodec(19904): int32_t android._encoding-quality-level = 1 D/MediaCodec(19904): } D/MediaCodec(19904): flushMediametrics D/CCodec (19904): [c2.qti.avc.encoder] buffers are bound to CCodec for this session I/CCodec (19904): appPid(19904) width(240) height(352) I/CCodec (19904): Set content adaptive mode (0) D/CCodecConfig(19904): no c2 equivalents for color-format D/CCodecConfig(19904): no c2 equivalents for flags D/CCodecConfig(19904): no c2 equivalents for encoder D/CCodecConfig(19904): c2 config diff is c2::u32 coded.bitrate.value = 512000 D/CCodecConfig(19904): c2::float coded.frame-rate.value = 24 D/CCodecConfig(19904): c2::u32 coded.pl.level = 20499 D/CCodecConfig(19904): c2::u32 raw.pixel-format.value = 34 D/CCodecConfig(19904): c2::u32 raw.size.height = 352 D/CCodecConfig(19904): c2::u32 raw.size.width = 240 D/CCodecConfig(19904): c2::i32 vendor.qti-ext-enc-content-adaptive-mode.value = 0 W/ColorUtils(19904): expected specified color aspects (0:0:255:255) W/Codec2Client(19904): query -- param skipped: index = 3254781982. D/CCodec (19904): Setting encoder options for disabling wrapping D/CCodec (19904): encoding statistics level = 0 D/CCodec (19904): setup formats input: AMessage(what = 0x00000000) = { D/CCodec (19904): int32_t android._color-format = 2130708361 D/CCodec (19904): Rect crop(0, 0, 239, 351) D/CCodec (19904): int32_t color-standard = 130816 D/CCodec (19904): int32_t color-range = 0 D/CCodec (19904): int32_t color-transfer = 65791 D/CCodec (19904): int32_t width = 240 D/CCodec (19904): int32_t android._dataspace = 12648448 D/CCodec (19904): int32_t feature-secure-playback = 0 D/CCodec (19904): int32_t frame-rate = 24 D/CCodec (19904): int32_t height = 352 D/CCodec (19904): int32_t intra-refresh-period = 0 D/CCodec (19904): string mime = "video/raw" D/CCodec (19904): int32_t prepend-sps-pps-to-idr-frames = 0 D/CCodec (19904): int32_t priority = 1 D/CCodec (19904): Buffer hdr-static-info = { D/CCodec (19904): 00000000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ D/CCodec (19904): 00000010: 00 00 00 00 00 00 00 00 00 ......... D/CCodec (19904): } D/CCodec (19904): int64_t android._C2MemoryUsage = 4503599631631104 D/CCodec (19904): int32_t color-format = 2130708361 D/CCodec (19904): int32_t bytebuffer-wrapping-disable = 1 D/CCodec (19904): } D/CCodec (19904): setup formats output: AMessage(what = 0x00000000) = { D/CCodec (19904): int32_t bitrate = 512000 D/CCodec (19904): int32_t bitrate-mode = 1 D/CCodec (19904): Rect crop(0, 0, 239, 351) D/CCodec (19904): int32_t width = 240 D/CCodec (19904): int32_t color-standard = 130816 D/CCodec (19904): int32_t color-range = 0 D/CCodec (19904): int32_t color-transfer = 65791 D/CCodec (19904): int32_t feature-secure-playback = 0 D/CCodec (19904): int32_t frame-rate = 24 D/CCodec (19904): int32_t height = 352 D/CCodec (19904): int32_t intra-refresh-period = 0 D/CCodec (19904): int32_t max-bitrate = 512000 D/CCodec (19904): string mime = "video/avc" D/CCodec (19904): int32_t prepend-sps-pps-to-idr-frames = 0 D/CCodec (19904): int32_t priority = 1 D/CCodec (19904): int32_t profile = 8 D/CCodec (19904): int32_t vendor.qti-ext-enc-content-adaptive-mode.value = 0 D/CCodec (19904): int32_t level = 524288 D/CCodec (19904): } I/CCodecConfig(19904): query failed after returning 25 values (BAD_INDEX) D/CCodec (19904): [CreateInputSurface] surface in app process D/CCodec (19904): input format changed to AMessage(what = 0x00000000) = { D/CCodec (19904): int32_t android._color-format = 2130708361 D/CCodec (19904): Rect crop(0, 0, 239, 351) D/CCodec (19904): int32_t color-standard = 5 D/CCodec (19904): int32_t color-range = 2 D/CCodec (19904): int32_t color-transfer = 3 D/CCodec (19904): int32_t width = 240 D/CCodec (19904): int32_t android._dataspace = 281346048 D/CCodec (19904): int32_t feature-secure-playback = 0 D/CCodec (19904): int32_t frame-rate = 24 D/CCodec (19904): int32_t height = 352 D/CCodec (19904): int32_t intra-refresh-period = 0 D/CCodec (19904): string mime = "video/raw" D/CCodec (19904): int32_t prepend-sps-pps-to-idr-frames = 0 D/CCodec (19904): int32_t priority = 1 D/CCodec (19904): Buffer hdr-static-info = { D/CCodec (19904): 00000000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ D/CCodec (19904): 00000010: 00 00 00 00 00 00 00 00 00 ......... D/CCodec (19904): } D/CCodec (19904): int64_t android._C2MemoryUsage = 4503599631631104 D/CCodec (19904): int32_t color-format = 2130708361 D/CCodec (19904): int32_t bytebuffer-wrapping-disable = 1 D/CCodec (19904): } W/Codec2Client(19904): query -- param skipped: index = 1610614798. D/C2OMXNode(19904): actual buffer count(16), input delay(1), pipeline delay(0) D/GraphicBufferSource(19904): setting dataspace: 0x10c50000, acquired=0 D/CCodec (19904): ISConfig not changed I/InsetsSourceConsumer(19904): applyRequestedVisibilityToControl: visible=true, type=statusBars, host=video.api.flutter.livestream.example/video.api.flutter.livestream.example.MainActivity D/BufferPoolAccessor2.0(19904): bufferpool2 0xb4000071e973a628 : 0(0 size) total buffers - 0(0 size) used buffers - 30/35 (recycle/alloc) - 5/62 (fetch/transfer) D/BufferPoolAccessor2.0(19904): evictor expired: 1, evicted: 1 D/BufferPoolAccessor2.0(19904): evictor expired: 1, evicted: 0

ThibaultBee commented 2 months ago

Can you trust your connection? Are you connected to bad Wi-Fi/Cellular?

roongzee commented 2 months ago

First of all, thank you for your replying

Yes, my connection always had no problem with other things. I think it has MediaCodec problem :( But i don't know how to solve this problem.

I'm using Galaxy S23+. Is that related to the problem?

Below is my error message. `Abort message: 'frameworks/av/media/libstagefright/MediaCodec.cpp:3599 CHECK(response->findMessage("format", format)) failed.' x0 0000000000000000 x1 00000000000079d6 x2 0000000000000006 x3 000000727a0ac1e0 x4 000000727a0abf2c x5 000000727a0abf2c x6 000000727a0abf2c x7 b40000728a120916 x8 00000000000000f0 x9 000000731024cf28 x10 0000000000000001 x11 00000073102c9344 x12 0000000000349ff7 x13 0000000000000001 x14 0000000000171b44 x15 00000000685c699d x16 0000007310334a00 x17 000000731030ce60 x18 0000007139134000 x19 000000000000783f x20 00000000000079d6 x21 00000000ffffffff x22 b4000071e02c7e80 x23 00000072888a38e0 x24 0000000000000000 x25 0000000000000001 x26 0000000000000000 x27 0000007289416000 x28 b40000728a034d20 x29 000000727a0ac260 lr 00000073102ba084 sp 000000727a0ac1c0 pc 00000073102ba0b0 pst 0000000000001000 49 total frames backtrace:

00 pc 00000000000950b0 /apex/com.android.runtime/lib64/bionic/libc.so (abort+168) (BuildId: 02a91a85343debb2911714273ff2b670)

  #01 pc 0000000000771c60  /apex/com.android.art/lib64/libart.so (art::Runtime::Abort(char const*)+904) (BuildId: 02bec5940be704b863f6514fc7d81c41)
  #02 pc 00000000000357d0  /apex/com.android.art/lib64/libbase.so (android::base::SetAborter(std::__1::function<void (char const*)>&&)::$_0::__invoke(char const*)+80) (BuildId: 6f67f69ff36b970d0b831cfdab3b578d)
  #03 pc 000000000000701c  /system/lib64/liblog.so (__android_log_assert+312) (BuildId: 71c7620fe4bcb61284e1958dcf6401c6)
  #04 pc 000000000018d8ec  /system/lib64/libstagefright.so (android::MediaCodec::getOutputFormat(android::sp<android::AMessage>*) const+656) (BuildId: f1ae0181cd88921d3f86ade70657bf7c)
  #05 pc 0000000000057268  /system/lib64/libmedia_jni.so (android_media_MediaCodec_getFormatNative(_JNIEnv*, _jobject*, unsigned char)+316) (BuildId: 1565a2348a3e3f910e777a731267d1af)
  #06 pc 0000000000355630  /apex/com.android.art/lib64/libart.so (art_quick_generic_jni_trampoline+144) (BuildId: 02bec5940be704b863f6514fc7d81c41)
  #07 pc 000000000033eba4  /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+612) (BuildId: 02bec5940be704b863f6514fc7d81c41)
  #08 pc 0000000000512a24  /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, bool, art::JValue*)+1976) (BuildId: 02bec5940be704b863f6514fc7d81c41)
  #09 pc 00000000004962a4  /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+2092) (BuildId: 02bec5940be704b863f6514fc7d81c41)
  #10 pc 0000000000357dd8  /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 02bec5940be704b863f6514fc7d81c41)
  #11 pc 000000000042c750  /system/framework/framework.jar (android.media.MediaCodec.getOutputFormat+0)
  #12 pc 0000000000371b14  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.8722505846101882172)+232) (BuildId: 02bec5940be704b863f6514fc7d81c41)
  #13 pc 000000000037140c  /apex/com.android.art/lib64/libart.so (artQuickToInterpreterBridge+964) (BuildId: 02bec5940be704b863f6514fc7d81c41)
  #14 pc 0000000000355768  /apex/com.android.art/lib64/libart.so (art_quick_to_interpreter_bridge+88) (BuildId: 02bec5940be704b863f6514fc7d81c41)
  #15 pc 0000000002009f20  /memfd:jit-cache (deleted) (offset 0x2000000) (io.github.thibaultbee.streampack.internal.encoders.MediaCodecEncoder$encoderCallback$1.onOutputBufferAvailable+608)
  #16 pc 00000000005bb730  /apex/com.android.art/lib64/libart.so (nterp_helper+4016) (BuildId: 02bec5940be704b863f6514fc7d81c41)
  #17 pc 00000000004227b4  /system/framework/framework.jar (android.media.MediaCodec$EventHandler.handleCallback+352)
  #18 pc 00000000005bb6d4  /apex/com.android.art/lib64/libart.so (nterp_helper+3924) (BuildId: 02bec5940be704b863f6514fc7d81c41)
  #19 pc 0000000000422aa8  /system/framework/framework.jar (android.media.MediaCodec$EventHandler.handleMessage+288)
  #20 pc 000000000033eba4  /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+612) (BuildId: 02bec5940be704b863f6514fc7d81c41)
  #21 pc 0000000000512a24  /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, bool, art::JValue*)+1976) (BuildId: 02bec5940be704b863f6514fc7d81c41)
  #22 pc 0000000000495e6c  /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+1012) (BuildId: 02bec5940be704b863f6514fc7d81c41)
  #23 pc 0000000000357dd8  /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 02bec5940be704b863f6514fc7d81c41)
  #24 pc 00000000002048ec  /system/framework/framework.jar (android.os.Handler.dispatchMessage+0)
  #25 pc 0000000000371b14  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.8722505846101882172)+232) (BuildId: 02bec5940be704b863f6514fc7d81c41)
  #26 pc 00000000005136f0  /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, bool, art::JValue*)+5252) (BuildId: 02bec5940be704b863f6514fc7d81c41)
  #27 pc 0000000000495e6c  /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+1012) (BuildId: 02bec5940be704b863f6514fc7d81c41)
  #28 pc 0000000000357dd8  /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 02bec5940be704b863f6514fc7d81c41)
  #29 pc 0000000000238c4c  /system/framework/framework.jar (android.os.Looper.loopOnce+0)
  #30 pc 0000000000371b14  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.8722505846101882172)+232) (BuildId: 02bec5940be704b863f6514fc7d81c41)
  #31 pc 00000000005136f0  /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, bool, art::JValue*)+5252) (BuildId: 02bec5940be704b863f6514fc7d81c41)
  #32 pc 00000000004961dc  /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+1892) (BuildId: 02bec5940be704b863f6514fc7d81c41)
  #33 pc 0000000000357dd8  /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 02bec5940be704b863f6514fc7d81c41)
  #34 pc 0000000000239488  /system/framework/framework.jar (android.os.Looper.loop+0)
  #35 pc 0000000000371b14  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.8722505846101882172)+232) (BuildId: 02bec5940be704b863f6514fc7d81c41)
  #36 pc 00000000005136f0  /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, bool, art::JValue*)+5252) (BuildId: 02bec5940be704b863f6514fc7d81c41)
  #37 pc 00000000004961dc  /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+1892) (BuildId: 02bec5940be704b863f6514fc7d81c41)
  #38 pc 0000000000357dd8  /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 02bec5940be704b863f6514fc7d81c41)
  #39 pc 0000000000203f2c  /system/framework/framework.jar (android.os.HandlerThread.run+0)
  #40 pc 0000000000371b14  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.8722505846101882172)+232) (BuildId: 02bec5940be704b863f6514fc7d81c41)
  #41 pc 000000000037140c  /apex/com.android.art/lib64/libart.so (artQuickToInterpreterBridge+964) (BuildId: 02bec5940be704b863f6514fc7d81c41)
  #42 pc 0000000000355768  /apex/com.android.art/lib64/libart.so (art_quick_to_interpreter_bridge+88) (BuildId: 02bec5940be704b863f6514fc7d81c41)
  #43 pc 000000000033eba4  /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+612) (BuildId: 02bec5940be704b863f6514fc7d81c41)
  #44 pc 000000000023a9ac  /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+144) (BuildId: 02bec5940be704b863f6514fc7d81c41)
  #45 pc 000000000053b96c  /apex/com.android.art/lib64/libart.so (art::Thread::CreateCallback(void*)+1600) (BuildId: 02bec5940be704b863f6514fc7d81c41)
  #46 pc 000000000053b31c  /apex/com.android.art/lib64/libart.so (art::Thread::CreateCallbackWithUffdGc(void*)+8) (BuildId: 02bec5940be704b863f6514fc7d81c41)
  #47 pc 00000000000fd0f4  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+208) (BuildId: 02a91a85343debb2911714273ff2b670)
  #48 pc 0000000000096a04  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+68) (BuildId: 02a91a85343debb2911714273ff2b670)

Lost connection to device.`

ThibaultBee commented 2 months ago

Hi, You provide 3 different logs, could you explain where they comes from (action to get them) otherwise it is going difficult to help you?

I tested with a Samsung S22+ and a S23 but i could not reproduce the issue.

Are you sure that you are using the correct stream key?

ThibaultBee commented 2 months ago

Does it happen at the start of the stream or after a while?

Could you test with an emulator and tcpdump? The command line is something like tcpdump -i any S0 -w trace.cap. It might depend of your system. And send us the resulted trace.cap?

roongzee commented 1 month ago

It happened after a while like just 1 second. I'm so sorry i don't know how to test with an emulator and tcpdump. I'm trying to find a way!

roongzee commented 1 month ago

I/NDOP (16559): listening using window listener D/ViewRootImpl@2bd837b[MainActivity](16559): ViewPostImeInputStage processPointer 0 D/ViewRootImpl@2bd837b[MainActivity](16559): ViewPostImeInputStage processPointer 1 V/InputMethodManager(16559): Starting input: tba=android.view.inputmethod.EditorInfo@2814d35 nm : video.api.flutter.livestream.example ic=null I/InputMethodManager(16559): [IMM] startInputInner - mService.startInputOrWindowGainedFocus D/InputTransport(16559): Input channel constructed: fd=164 D/InputTransport(16559): Input channel destroyed: fd=118 D/VideoMediaCodecEncoder(16559): Not running D/AudioMediaCodecEncoder(16559): Not running D/AudioCapture(16559): Not running E/rtmpdroid(16559): WriteN, RTMP send error 9 (42 bytes) I/ACodec (16559): [OMX.google.aac.encoder] Now uninitialized I/ACodec (16559): [] Now kWhatShutdownCompleted event : 8554 I/MediaCodec(16559): Codec shutdown complete D/AudioMediaCodecEncoder(16559): createCodec: {channel-count=2, mime=audio/mp4a-latm, sample-rate=44100} I/ACodec (16559): [] Now uninitialized I/ACodec (16559): [] onAllocateComponent I/OMXClient(16559): MuxOMX ctor I/ACodec (16559): [OMX.google.aac.encoder] Now Loaded I/MediaCodec(16559): MediaCodec will operate in async mode I/ACodec (16559): [OMX.Exynos.AVC.Encoder] Now uninitialized I/ACodec (16559): [] Now kWhatShutdownCompleted event : 8554 I/MediaCodec(16559): Codec shutdown complete D/VideoMediaCodecEncoder(16559): createCodec: {height=858, width=480, mime=video/avc} W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc I/ACodec (16559): [] Now uninitialized I/ACodec (16559): [] onAllocateComponent I/OMXClient(16559): MuxOMX ctor I/ACodec (16559): [OMX.Exynos.AVC.Encoder] Now Loaded I/MediaCodec(16559): MediaCodec will operate in async mode W/ACodec (16559): do not know color format 0x7f000011 = 2130706449 W/ACodec (16559): do not know color format 0x10 = 16 W/ACodec (16559): do not know color format 0x7f00a000 = 2130747392 W/ACodec (16559): do not know color format 0x7f000789 = 2130708361 I/ACodec (16559): setupAVCEncoderParameters with [profile: High] [level: Level52] I/ACodec (16559): Enable perceptual video coding I/ACodec (16559): Success set VideoMinQP(5/5/5) VideoMaxQP(50/50/50) I/ACodec (16559): [OMX.Exynos.AVC.Encoder] cannot encode HDR static metadata. Ignoring. I/ACodec (16559): setupVideoEncoder succeeded W/ACodec (16559): do not know color format 0x7f000789 = 2130708361 D/mali_winsys(16559): EGLint new_window_surface(egl_winsys_display*, void*, EGLSurface, EGLConfig, egl_winsys_surface**, egl_color_buffer_format*, EGLBoolean) returns 0x3000, [480x858]-format:1 D/VideoMediaCodecEncoder(16559): Not running D/AudioMediaCodecEncoder(16559): Not running D/AudioCapture(16559): Not running E/rtmpdroid(16559): WriteN, RTMP send error 9 (42 bytes) I/ACodec (16559): [OMX.google.aac.encoder] Now uninitialized I/ACodec (16559): [] Now kWhatShutdownCompleted event : 8554 I/MediaCodec(16559): Codec shutdown complete D/AudioMediaCodecEncoder(16559): createCodec: {channel-count=2, mime=audio/mp4a-latm, sample-rate=44100} I/ACodec (16559): [] Now uninitialized I/ACodec (16559): [] onAllocateComponent I/OMXClient(16559): MuxOMX ctor I/ACodec (16559): [OMX.google.aac.encoder] Now Loaded I/MediaCodec(16559): MediaCodec will operate in async mode I/ACodec (16559): [OMX.Exynos.AVC.Encoder] Now uninitialized I/ACodec (16559): [] Now kWhatShutdownCompleted event : 8554 I/MediaCodec(16559): Codec shutdown complete D/VideoMediaCodecEncoder(16559): createCodec: {height=858, width=480, mime=video/avc} W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc I/ACodec (16559): [] Now uninitialized I/ACodec (16559): [] onAllocateComponent I/OMXClient(16559): MuxOMX ctor I/ACodec (16559): [OMX.Exynos.AVC.Encoder] Now Loaded I/MediaCodec(16559): MediaCodec will operate in async mode W/ACodec (16559): do not know color format 0x7f000011 = 2130706449 W/ACodec (16559): do not know color format 0x10 = 16 W/ACodec (16559): do not know color format 0x7f00a000 = 2130747392 W/ACodec (16559): do not know color format 0x7f000789 = 2130708361 I/ACodec (16559): setupAVCEncoderParameters with [profile: High] [level: Level52] I/ACodec (16559): Enable perceptual video coding I/ACodec (16559): Success set VideoMinQP(5/5/5) VideoMaxQP(50/50/50) I/ACodec (16559): [OMX.Exynos.AVC.Encoder] cannot encode HDR static metadata. Ignoring. I/ACodec (16559): setupVideoEncoder succeeded W/ACodec (16559): do not know color format 0x7f000789 = 2130708361 D/mali_winsys(16559): EGLint new_window_surface(egl_winsys_display*, void*, EGLSurface, EGLConfig, egl_winsys_surface**, egl_color_buffer_format*, EGLBoolean) returns 0x3000, [480x858]-format:1 I/RequestQueue(16559): Repeating capture request cancelled. E/BufferQueueProducer(16559): [SurfaceTexture-1-16559-3] queueBuffer: BufferQueue has been abandoned E/BufferQueueProducer(16559): [SurfaceTexture-1-16559-3] dequeueBuffer: BufferQueue has been abandoned E/BufferQueueProducer(16559): [SurfaceTexture-1-16559-3] cancelBuffer: BufferQueue has been abandoned E/BufferQueueProducer(16559): [SurfaceTexture-1-16559-3] cancelBuffer: BufferQueue has been abandoned E/BufferQueueProducer(16559): [SurfaceTexture-1-16559-3] cancelBuffer: BufferQueue has been abandoned E/BufferQueueProducer(16559): [SurfaceTexture-1-16559-3] cancelBuffer: BufferQueue has been abandoned E/BufferQueueProducer(16559): [SurfaceTexture-1-16559-3] cancelBuffer: BufferQueue has been abandoned E/BufferQueueProducer(16559): [SurfaceTexture-1-16559-3] cancelBuffer: BufferQueue has been abandoned E/BufferQueueProducer(16559): [SurfaceTexture-1-16559-3] cancelBuffer: BufferQueue has been abandoned E/BufferQueueProducer(16559): [SurfaceTexture-1-16559-3] cancelBuffer: BufferQueue has been abandoned E/BufferQueueProducer(16559): [SurfaceTexture-1-16559-3] cancelBuffer: BufferQueue has been abandoned E/BufferQueueProducer(16559): [SurfaceTexture-1-16559-3] connect: BufferQueue has been abandoned E/BufferQueueProducer(16559): [SurfaceTexture-1-16559-3] setMaxDequeuedBufferCount: BufferQueue has been abandoned D/SurfaceView(16559): Relayout returned: oldFrame=[0,0][720,1280] newFrame=[0,0][720,1280] result=0x5 surface={Surface(name=null)/@0x4605a3f isValid=false 0} D/ViewRootImpl@2bd837b[MainActivity](16559): MSG_WINDOW_FOCUS_CHANGED 0 D/SurfaceView(16559): Relayout returned: oldFrame=[0,0][720,1280] newFrame=[0,0][720,1280] result=0x7 surface={Surface(name=null)/@0x4605a3f isValid=true -1063491584} D/mali_winsys(16559): EGLint new_window_surface(egl_winsys_display*, void*, EGLSurface, EGLConfig, egl_winsys_surface**, egl_color_buffer_format*, EGLBoolean) returns 0x3000, [720x1280]-format:1 D/VideoMediaCodecEncoder(16559): Not running D/AudioMediaCodecEncoder(16559): Not running D/AudioCapture(16559): Not running I/ACodec (16559): [OMX.google.aac.encoder] Now uninitialized I/ACodec (16559): [] Now kWhatShutdownCompleted event : 8554 I/MediaCodec(16559): Codec shutdown complete D/AudioMediaCodecEncoder(16559): createCodec: {channel-count=2, mime=audio/mp4a-latm, sample-rate=44100} I/ACodec (16559): [] Now uninitialized I/ACodec (16559): [] onAllocateComponent I/OMXClient(16559): MuxOMX ctor I/ACodec (16559): [OMX.google.aac.encoder] Now Loaded I/MediaCodec(16559): MediaCodec will operate in async mode I/ACodec (16559): [OMX.Exynos.AVC.Encoder] Now uninitialized I/ACodec (16559): [] Now kWhatShutdownCompleted event : 8554 I/MediaCodec(16559): Codec shutdown complete D/VideoMediaCodecEncoder(16559): createCodec: {height=858, width=480, mime=video/avc} W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc I/ACodec (16559): [] Now uninitialized I/ACodec (16559): [] onAllocateComponent I/OMXClient(16559): MuxOMX ctor I/ACodec (16559): [OMX.Exynos.AVC.Encoder] Now Loaded I/MediaCodec(16559): MediaCodec will operate in async mode W/ACodec (16559): do not know color format 0x7f000011 = 2130706449 W/ACodec (16559): do not know color format 0x10 = 16 W/ACodec (16559): do not know color format 0x7f00a000 = 2130747392 W/ACodec (16559): do not know color format 0x7f000789 = 2130708361 I/ACodec (16559): setupAVCEncoderParameters with [profile: High] [level: Level52] I/ACodec (16559): Enable perceptual video coding I/ACodec (16559): Success set VideoMinQP(5/5/5) VideoMaxQP(50/50/50) I/ACodec (16559): [OMX.Exynos.AVC.Encoder] cannot encode HDR static metadata. Ignoring. I/ACodec (16559): setupVideoEncoder succeeded W/ACodec (16559): do not know color format 0x7f000789 = 2130708361 D/mali_winsys(16559): EGLint new_window_surface(egl_winsys_display*, void*, EGLSurface, EGLConfig, egl_winsys_surface**, egl_color_buffer_format*, EGLBoolean) returns 0x3000, [480x858]-format:1 D/VideoMediaCodecEncoder(16559): Not running D/AudioMediaCodecEncoder(16559): Not running D/AudioCapture(16559): Not running E/rtmpdroid(16559): WriteN, RTMP send error 9 (42 bytes) I/ACodec (16559): [OMX.google.aac.encoder] Now uninitialized I/ACodec (16559): [] Now kWhatShutdownCompleted event : 8554 I/MediaCodec(16559): Codec shutdown complete D/AudioMediaCodecEncoder(16559): createCodec: {channel-count=2, mime=audio/mp4a-latm, sample-rate=44100} I/ACodec (16559): [] Now uninitialized I/ACodec (16559): [] onAllocateComponent I/OMXClient(16559): MuxOMX ctor I/ACodec (16559): [OMX.google.aac.encoder] Now Loaded I/MediaCodec(16559): MediaCodec will operate in async mode I/ACodec (16559): [OMX.Exynos.AVC.Encoder] Now uninitialized I/ACodec (16559): [] Now kWhatShutdownCompleted event : 8554 I/MediaCodec(16559): Codec shutdown complete D/VideoMediaCodecEncoder(16559): createCodec: {height=858, width=480, mime=video/avc} W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc I/ACodec (16559): [] Now uninitialized I/ACodec (16559): [] onAllocateComponent I/OMXClient(16559): MuxOMX ctor I/ACodec (16559): [OMX.Exynos.AVC.Encoder] Now Loaded I/MediaCodec(16559): MediaCodec will operate in async mode W/ACodec (16559): do not know color format 0x7f000011 = 2130706449 W/ACodec (16559): do not know color format 0x10 = 16 W/ACodec (16559): do not know color format 0x7f00a000 = 2130747392 W/ACodec (16559): do not know color format 0x7f000789 = 2130708361 I/ACodec (16559): setupAVCEncoderParameters with [profile: High] [level: Level52] I/ACodec (16559): Enable perceptual video coding I/ACodec (16559): Success set VideoMinQP(5/5/5) VideoMaxQP(50/50/50) I/ACodec (16559): [OMX.Exynos.AVC.Encoder] cannot encode HDR static metadata. Ignoring. I/ACodec (16559): setupVideoEncoder succeeded W/ACodec (16559): do not know color format 0x7f000789 = 2130708361 D/mali_winsys(16559): EGLint new_window_surface(egl_winsys_display*, void*, EGLSurface, EGLConfig, egl_winsys_surface**, egl_color_buffer_format*, EGLBoolean) returns 0x3000, [480x858]-format:1 D/ViewRootImpl@2bd837b[MainActivity](16559): Relayout returned: oldFrame=[0,0][720,1280] newFrame=[0,0][720,1280] result=0x1 surface={isValid=true -1140166656} surfaceGenerationChanged=false D/ViewRootImpl@2bd837b[MainActivity](16559): MSG_WINDOW_FOCUS_CHANGED 1 D/ViewRootImpl@2bd837b[MainActivity](16559): mHardwareRenderer.initializeIfNeeded()#2 mSurface={isValid=true -1140166656} V/InputMethodManager(16559): Starting input: tba=android.view.inputmethod.EditorInfo@433b422 nm : video.api.flutter.livestream.example ic=null I/InputMethodManager(16559): [IMM] startInputInner - mService.startInputOrWindowGainedFocus D/InputTransport(16559): Input channel constructed: fd=115 D/InputTransport(16559): Input channel destroyed: fd=164 I/CameraManager(16559): Using legacy camera HAL. I/CameraDeviceState(16559): Legacy camera service transitioning to state CONFIGURING I/RequestThread-0(16559): Configure outputs: 2 surfaces configured. D/Camera (16559): app passed NULL surface D/mali_winsys(16559): EGLint new_window_surface(egl_winsys_display*, void*, EGLSurface, EGLConfig, egl_winsys_surface**, egl_color_buffer_format*, EGLBoolean) returns 0x3000, [720x480]-format:1 D/mali_winsys(16559): EGLint new_window_surface(egl_winsys_display*, void*, EGLSurface, EGLConfig, egl_winsys_surface**, egl_color_buffer_format*, EGLBoolean) returns 0x3000, [720x480]-format:1 I/CameraDeviceState(16559): Legacy camera service transitioning to state IDLE D/CameraController(16559): [[15, 15], [24, 24], [15, 30], [30, 30]] D/CameraController(16559): Selected Fps range [30, 30] I/RequestQueue(16559): Repeating capture request set. W/LegacyRequestMapper(16559): convertRequestMetadata - control.awbRegions setting is not supported, ignoring value W/LegacyRequestMapper(16559): Only received metering rectangles with weight 0. W/LegacyRequestMapper(16559): convertRequestToMetadata - Ignoring android.lens.focusDistance false, only 0.0f is supported D/ViewRootImpl@2bd837b[MainActivity](16559): MSG_WINDOW_FOCUS_CHANGED 0 D/VideoMediaCodecEncoder(16559): Not running D/AudioMediaCodecEncoder(16559): Not running D/AudioCapture(16559): Not running I/ACodec (16559): [OMX.google.aac.encoder] Now uninitialized I/ACodec (16559): [] Now kWhatShutdownCompleted event : 8554 I/MediaCodec(16559): Codec shutdown complete D/AudioMediaCodecEncoder(16559): createCodec: {channel-count=2, mime=audio/mp4a-latm, sample-rate=44100} I/ACodec (16559): [] Now uninitialized I/ACodec (16559): [] onAllocateComponent I/OMXClient(16559): MuxOMX ctor I/ACodec (16559): [OMX.google.aac.encoder] Now Loaded I/MediaCodec(16559): MediaCodec will operate in async mode I/ACodec (16559): [OMX.Exynos.AVC.Encoder] Now uninitialized I/ACodec (16559): [] Now kWhatShutdownCompleted event : 8554 I/MediaCodec(16559): Codec shutdown complete D/VideoMediaCodecEncoder(16559): createCodec: {height=858, width=480, mime=video/avc} W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc I/ACodec (16559): [] Now uninitialized I/ACodec (16559): [] onAllocateComponent I/OMXClient(16559): MuxOMX ctor I/ACodec (16559): [OMX.Exynos.AVC.Encoder] Now Loaded I/MediaCodec(16559): MediaCodec will operate in async mode W/ACodec (16559): do not know color format 0x7f000011 = 2130706449 W/ACodec (16559): do not know color format 0x10 = 16 W/ACodec (16559): do not know color format 0x7f00a000 = 2130747392 W/ACodec (16559): do not know color format 0x7f000789 = 2130708361 I/ACodec (16559): setupAVCEncoderParameters with [profile: High] [level: Level52] I/ACodec (16559): Enable perceptual video coding I/ACodec (16559): Success set VideoMinQP(5/5/5) VideoMaxQP(50/50/50) I/ACodec (16559): [OMX.Exynos.AVC.Encoder] cannot encode HDR static metadata. Ignoring. I/ACodec (16559): setupVideoEncoder succeeded W/ACodec (16559): do not know color format 0x7f000789 = 2130708361 D/mali_winsys(16559): EGLint new_window_surface(egl_winsys_display*, void*, EGLSurface, EGLConfig, egl_winsys_surface**, egl_color_buffer_format*, EGLBoolean) returns 0x3000, [480x858]-format:1 D/VideoMediaCodecEncoder(16559): Not running D/AudioMediaCodecEncoder(16559): Not running D/AudioCapture(16559): Not running E/rtmpdroid(16559): WriteN, RTMP send error 9 (42 bytes) I/ACodec (16559): [OMX.google.aac.encoder] Now uninitialized I/ACodec (16559): [] Now kWhatShutdownCompleted event : 8554 I/MediaCodec(16559): Codec shutdown complete D/AudioMediaCodecEncoder(16559): createCodec: {channel-count=2, mime=audio/mp4a-latm, sample-rate=44100} I/ACodec (16559): [] Now uninitialized I/ACodec (16559): [] onAllocateComponent I/OMXClient(16559): MuxOMX ctor I/ACodec (16559): [OMX.google.aac.encoder] Now Loaded I/MediaCodec(16559): MediaCodec will operate in async mode I/ACodec (16559): [OMX.Exynos.AVC.Encoder] Now uninitialized I/ACodec (16559): [] Now kWhatShutdownCompleted event : 8554 I/MediaCodec(16559): Codec shutdown complete D/VideoMediaCodecEncoder(16559): createCodec: {height=858, width=480, mime=video/avc} W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc I/ACodec (16559): [] Now uninitialized I/ACodec (16559): [] onAllocateComponent I/OMXClient(16559): MuxOMX ctor I/ACodec (16559): [OMX.Exynos.AVC.Encoder] Now Loaded I/MediaCodec(16559): MediaCodec will operate in async mode W/ACodec (16559): do not know color format 0x7f000011 = 2130706449 W/ACodec (16559): do not know color format 0x10 = 16 W/ACodec (16559): do not know color format 0x7f00a000 = 2130747392 W/ACodec (16559): do not know color format 0x7f000789 = 2130708361 I/ACodec (16559): setupAVCEncoderParameters with [profile: High] [level: Level52] I/ACodec (16559): Enable perceptual video coding I/ACodec (16559): Success set VideoMinQP(5/5/5) VideoMaxQP(50/50/50) I/ACodec (16559): [OMX.Exynos.AVC.Encoder] cannot encode HDR static metadata. Ignoring. I/ACodec (16559): setupVideoEncoder succeeded W/ACodec (16559): do not know color format 0x7f000789 = 2130708361 D/mali_winsys(16559): EGLint new_window_surface(egl_winsys_display*, void*, EGLSurface, EGLConfig, egl_winsys_surface**, egl_color_buffer_format*, EGLBoolean) returns 0x3000, [480x858]-format:1 I/RequestQueue(16559): Repeating capture request cancelled. I/CameraDeviceState(16559): Legacy camera service transitioning to state CAPTURING E/BufferQueueProducer(16559): [SurfaceTexture-1-16559-4] queueBuffer: BufferQueue has been abandoned E/BufferQueueProducer(16559): [SurfaceTexture-1-16559-4] cancelBuffer: BufferQueue has been abandoned E/BufferQueueProducer(16559): [SurfaceTexture-1-16559-4] cancelBuffer: BufferQueue has been abandoned E/BufferQueueProducer(16559): [SurfaceTexture-1-16559-4] cancelBuffer: BufferQueue has been abandoned E/BufferQueueProducer(16559): [SurfaceTexture-1-16559-4] cancelBuffer: BufferQueue has been abandoned E/BufferQueueProducer(16559): [SurfaceTexture-1-16559-4] cancelBuffer: BufferQueue has been abandoned E/BufferQueueProducer(16559): [SurfaceTexture-1-16559-4] cancelBuffer: BufferQueue has been abandoned E/BufferQueueProducer(16559): [SurfaceTexture-1-16559-4] cancelBuffer: BufferQueue has been abandoned E/BufferQueueProducer(16559): [SurfaceTexture-1-16559-4] cancelBuffer: BufferQueue has been abandoned E/BufferQueueProducer(16559): [SurfaceTexture-1-16559-4] cancelBuffer: BufferQueue has been abandoned E/BufferQueueProducer(16559): [SurfaceTexture-1-16559-4] cancelBuffer: BufferQueue has been abandoned E/BufferQueueProducer(16559): [SurfaceTexture-1-16559-4] connect: BufferQueue has been abandoned E/BufferQueueProducer(16559): [SurfaceTexture-1-16559-4] setMaxDequeuedBufferCount: BufferQueue has been abandoned I/Choreographer(16559): Skipped 49 frames! The application may be doing too much work on its main thread. D/ViewRootImpl@2bd837b[MainActivity](16559): MSG_WINDOW_FOCUS_CHANGED 1 D/ViewRootImpl@2bd837b[MainActivity](16559): mHardwareRenderer.initializeIfNeeded()#2 mSurface={isValid=true -1140166656} I/CameraManager(16559): Using legacy camera HAL. I/CameraDeviceState(16559): Legacy camera service transitioning to state CONFIGURING I/RequestThread-0(16559): Configure outputs: 2 surfaces configured. D/Camera (16559): app passed NULL surface D/mali_winsys(16559): EGLint new_window_surface(egl_winsys_display*, void*, EGLSurface, EGLConfig, egl_winsys_surface**, egl_color_buffer_format*, EGLBoolean) returns 0x3000, [720x480]-format:1 D/mali_winsys(16559): EGLint new_window_surface(egl_winsys_display*, void*, EGLSurface, EGLConfig, egl_winsys_surface**, egl_color_buffer_format*, EGLBoolean) returns 0x3000, [720x480]-format:1 I/CameraDeviceState(16559): Legacy camera service transitioning to state IDLE D/CameraController(16559): [[15, 15], [24, 24], [15, 30], [30, 30]] D/CameraController(16559): Selected Fps range [30, 30] I/RequestQueue(16559): Repeating capture request set. W/LegacyRequestMapper(16559): convertRequestMetadata - control.awbRegions setting is not supported, ignoring value W/LegacyRequestMapper(16559): Only received metering rectangles with weight 0. W/LegacyRequestMapper(16559): convertRequestToMetadata - Ignoring android.lens.focusDistance false, only 0.0f is supported D/ViewRootImpl@2bd837b[MainActivity](16559): MSG_WINDOW_FOCUS_CHANGED 0 D/VideoMediaCodecEncoder(16559): Not running D/AudioMediaCodecEncoder(16559): Not running D/AudioCapture(16559): Not running I/ACodec (16559): [OMX.google.aac.encoder] Now uninitialized I/ACodec (16559): [] Now kWhatShutdownCompleted event : 8554 I/MediaCodec(16559): Codec shutdown complete D/AudioMediaCodecEncoder(16559): createCodec: {channel-count=2, mime=audio/mp4a-latm, sample-rate=44100} I/ACodec (16559): [] Now uninitialized I/ACodec (16559): [] onAllocateComponent I/OMXClient(16559): MuxOMX ctor I/ACodec (16559): [OMX.google.aac.encoder] Now Loaded I/MediaCodec(16559): MediaCodec will operate in async mode I/ACodec (16559): [OMX.Exynos.AVC.Encoder] Now uninitialized I/ACodec (16559): [] Now kWhatShutdownCompleted event : 8554 I/MediaCodec(16559): Codec shutdown complete D/VideoMediaCodecEncoder(16559): createCodec: {height=858, width=480, mime=video/avc} W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc I/ACodec (16559): [] Now uninitialized I/ACodec (16559): [] onAllocateComponent I/OMXClient(16559): MuxOMX ctor I/ACodec (16559): [OMX.Exynos.AVC.Encoder] Now Loaded I/MediaCodec(16559): MediaCodec will operate in async mode W/ACodec (16559): do not know color format 0x7f000011 = 2130706449 W/ACodec (16559): do not know color format 0x10 = 16 W/ACodec (16559): do not know color format 0x7f00a000 = 2130747392 W/ACodec (16559): do not know color format 0x7f000789 = 2130708361 I/ACodec (16559): setupAVCEncoderParameters with [profile: High] [level: Level52] I/ACodec (16559): Enable perceptual video coding I/ACodec (16559): Success set VideoMinQP(5/5/5) VideoMaxQP(50/50/50) I/ACodec (16559): [OMX.Exynos.AVC.Encoder] cannot encode HDR static metadata. Ignoring. I/ACodec (16559): setupVideoEncoder succeeded W/ACodec (16559): do not know color format 0x7f000789 = 2130708361 D/mali_winsys(16559): EGLint new_window_surface(egl_winsys_display*, void*, EGLSurface, EGLConfig, egl_winsys_surface**, egl_color_buffer_format*, EGLBoolean) returns 0x3000, [480x858]-format:1 D/VideoMediaCodecEncoder(16559): Not running D/AudioMediaCodecEncoder(16559): Not running D/AudioCapture(16559): Not running E/rtmpdroid(16559): WriteN, RTMP send error 9 (42 bytes) I/ACodec (16559): [OMX.google.aac.encoder] Now uninitialized I/ACodec (16559): [] Now kWhatShutdownCompleted event : 8554 I/MediaCodec(16559): Codec shutdown complete D/AudioMediaCodecEncoder(16559): createCodec: {channel-count=2, mime=audio/mp4a-latm, sample-rate=44100} I/ACodec (16559): [] Now uninitialized I/ACodec (16559): [] onAllocateComponent I/OMXClient(16559): MuxOMX ctor I/ACodec (16559): [OMX.google.aac.encoder] Now Loaded I/MediaCodec(16559): MediaCodec will operate in async mode I/ACodec (16559): [OMX.Exynos.AVC.Encoder] Now uninitialized I/ACodec (16559): [] Now kWhatShutdownCompleted event : 8554 I/MediaCodec(16559): Codec shutdown complete D/VideoMediaCodecEncoder(16559): createCodec: {height=858, width=480, mime=video/avc} W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc I/ACodec (16559): [] Now uninitialized I/ACodec (16559): [] onAllocateComponent I/OMXClient(16559): MuxOMX ctor I/ACodec (16559): [OMX.Exynos.AVC.Encoder] Now Loaded I/MediaCodec(16559): MediaCodec will operate in async mode W/ACodec (16559): do not know color format 0x7f000011 = 2130706449 W/ACodec (16559): do not know color format 0x10 = 16 W/ACodec (16559): do not know color format 0x7f00a000 = 2130747392 W/ACodec (16559): do not know color format 0x7f000789 = 2130708361 I/ACodec (16559): setupAVCEncoderParameters with [profile: High] [level: Level52] I/ACodec (16559): Enable perceptual video coding I/ACodec (16559): Success set VideoMinQP(5/5/5) VideoMaxQP(50/50/50) I/ACodec (16559): [OMX.Exynos.AVC.Encoder] cannot encode HDR static metadata. Ignoring. I/ACodec (16559): setupVideoEncoder succeeded W/ACodec (16559): do not know color format 0x7f000789 = 2130708361 D/mali_winsys(16559): EGLint new_window_surface(egl_winsys_display*, void*, EGLSurface, EGLConfig, egl_winsys_surface**, egl_color_buffer_format*, EGLBoolean) returns 0x3000, [480x858]-format:1 I/RequestQueue(16559): Repeating capture request cancelled. I/CameraDeviceState(16559): Legacy camera service transitioning to state CAPTURING E/BufferQueueProducer(16559): [SurfaceTexture-1-16559-5] queueBuffer: BufferQueue has been abandoned E/BufferQueueProducer(16559): [SurfaceTexture-1-16559-5] queueBuffer: BufferQueue has been abandoned E/BufferQueueProducer(16559): [SurfaceTexture-1-16559-5] cancelBuffer: BufferQueue has been abandoned E/BufferQueueProducer(16559): [SurfaceTexture-1-16559-5] cancelBuffer: BufferQueue has been abandoned E/BufferQueueProducer(16559): [SurfaceTexture-1-16559-5] cancelBuffer: BufferQueue has been abandoned E/BufferQueueProducer(16559): [SurfaceTexture-1-16559-5] cancelBuffer: BufferQueue has been abandoned E/BufferQueueProducer(16559): [SurfaceTexture-1-16559-5] cancelBuffer: BufferQueue has been abandoned E/BufferQueueProducer(16559): [SurfaceTexture-1-16559-5] cancelBuffer: BufferQueue has been abandoned E/BufferQueueProducer(16559): [SurfaceTexture-1-16559-5] cancelBuffer: BufferQueue has been abandoned E/BufferQueueProducer(16559): [SurfaceTexture-1-16559-5] cancelBuffer: BufferQueue has been abandoned E/BufferQueueProducer(16559): [SurfaceTexture-1-16559-5] cancelBuffer: BufferQueue has been abandoned E/BufferQueueProducer(16559): [SurfaceTexture-1-16559-5] cancelBuffer: BufferQueue has been abandoned E/BufferQueueProducer(16559): [SurfaceTexture-1-16559-5] cancelBuffer: BufferQueue has been abandoned E/BufferQueueProducer(16559): [SurfaceTexture-1-16559-5] connect: BufferQueue has been abandoned E/BufferQueueProducer(16559): [SurfaceTexture-1-16559-5] setMaxDequeuedBufferCount: BufferQueue has been abandoned I/Choreographer(16559): Skipped 61 frames! The application may be doing too much work on its main thread. D/InputTransport(16559): Input channel destroyed: fd=115 D/SurfaceView(16559): Relayout returned: oldFrame=[0,0][720,1280] newFrame=[0,0][720,1280] result=0x5 surface={Surface(name=null)/@0x4605a3f isValid=false 0} D/ViewRootImpl@2bd837b[MainActivity](16559): mHardwareRenderer.destroy()#1 D/ViewRootImpl@2bd837b[MainActivity](16559): Relayout returned: oldFrame=[0,0][720,1280] newFrame=[0,0][720,1280] result=0x5 surface={isValid=false 0} surfaceGenerationChanged=true D/ViewRootImpl@2bd837b[MainActivity](16559): mHardwareRenderer.destroy()#1 D/ViewRootImpl@2bd837b[MainActivity](16559): Relayout returned: oldFrame=[0,0][720,1280] newFrame=[0,0][720,1280] result=0x1 surface={isValid=false 0} surfaceGenerationChanged=false D/SurfaceView(16559): Relayout returned: oldFrame=[0,0][720,1280] newFrame=[0,0][720,1280] result=0x7 surface={Surface(name=null)/@0x4605a3f isValid=true -1252098048} D/mali_winsys(16559): EGLint new_window_surface(egl_winsys_display*, void*, EGLSurface, EGLConfig, egl_winsys_surface**, egl_color_buffer_format*, EGLBoolean) returns 0x3000, [720x1280]-format:1 D/ViewRootImpl@2bd837b[MainActivity](16559): Relayout returned: oldFrame=[0,0][720,1280] newFrame=[0,0][720,1280] result=0x7 surface={isValid=true -1252096000} surfaceGenerationChanged=true D/ViewRootImpl@2bd837b[MainActivity](16559): mHardwareRenderer.initialize() mSurface={isValid=true -1252096000} hwInitialized=true D/mali_winsys(16559): EGLint new_window_surface(egl_winsys_display*, void*, EGLSurface, EGLConfig, egl_winsys_surface**, egl_color_buffer_format*, EGLBoolean) returns 0x3000, [720x1280]-format:1 D/VideoMediaCodecEncoder(16559): Not running D/AudioMediaCodecEncoder(16559): Not running D/AudioCapture(16559): Not running I/ACodec (16559): [OMX.google.aac.encoder] Now uninitialized I/ACodec (16559): [] Now kWhatShutdownCompleted event : 8554 I/MediaCodec(16559): Codec shutdown complete D/AudioMediaCodecEncoder(16559): createCodec: {channel-count=2, mime=audio/mp4a-latm, sample-rate=44100} I/ACodec (16559): [] Now uninitialized I/ACodec (16559): [] onAllocateComponent I/OMXClient(16559): MuxOMX ctor I/ACodec (16559): [OMX.google.aac.encoder] Now Loaded I/MediaCodec(16559): MediaCodec will operate in async mode I/ACodec (16559): [OMX.Exynos.AVC.Encoder] Now uninitialized I/ACodec (16559): [] Now kWhatShutdownCompleted event : 8554 I/MediaCodec(16559): Codec shutdown complete D/VideoMediaCodecEncoder(16559): createCodec: {height=858, width=480, mime=video/avc} W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc I/ACodec (16559): [] Now uninitialized I/ACodec (16559): [] onAllocateComponent I/OMXClient(16559): MuxOMX ctor I/ACodec (16559): [OMX.Exynos.AVC.Encoder] Now Loaded I/MediaCodec(16559): MediaCodec will operate in async mode W/ACodec (16559): do not know color format 0x7f000011 = 2130706449 W/ACodec (16559): do not know color format 0x10 = 16 W/ACodec (16559): do not know color format 0x7f00a000 = 2130747392 W/ACodec (16559): do not know color format 0x7f000789 = 2130708361 I/ACodec (16559): setupAVCEncoderParameters with [profile: High] [level: Level52] I/ACodec (16559): Enable perceptual video coding I/ACodec (16559): Success set VideoMinQP(5/5/5) VideoMaxQP(50/50/50) I/ACodec (16559): [OMX.Exynos.AVC.Encoder] cannot encode HDR static metadata. Ignoring. I/ACodec (16559): setupVideoEncoder succeeded W/ACodec (16559): do not know color format 0x7f000789 = 2130708361 D/mali_winsys(16559): EGLint new_window_surface(egl_winsys_display*, void*, EGLSurface, EGLConfig, egl_winsys_surface**, egl_color_buffer_format*, EGLBoolean) returns 0x3000, [480x858]-format:1 D/VideoMediaCodecEncoder(16559): Not running D/AudioMediaCodecEncoder(16559): Not running D/AudioCapture(16559): Not running E/rtmpdroid(16559): WriteN, RTMP send error 9 (42 bytes) I/ACodec (16559): [OMX.google.aac.encoder] Now uninitialized I/ACodec (16559): [] Now kWhatShutdownCompleted event : 8554 I/MediaCodec(16559): Codec shutdown complete D/AudioMediaCodecEncoder(16559): createCodec: {channel-count=2, mime=audio/mp4a-latm, sample-rate=44100} I/ACodec (16559): [] Now uninitialized I/ACodec (16559): [] onAllocateComponent I/OMXClient(16559): MuxOMX ctor I/ACodec (16559): [OMX.google.aac.encoder] Now Loaded I/MediaCodec(16559): MediaCodec will operate in async mode I/ACodec (16559): [OMX.Exynos.AVC.Encoder] Now uninitialized I/ACodec (16559): [] Now kWhatShutdownCompleted event : 8554 I/MediaCodec(16559): Codec shutdown complete D/VideoMediaCodecEncoder(16559): createCodec: {height=858, width=480, mime=video/avc} W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc I/ACodec (16559): [] Now uninitialized I/ACodec (16559): [] onAllocateComponent I/OMXClient(16559): MuxOMX ctor I/ACodec (16559): [OMX.Exynos.AVC.Encoder] Now Loaded I/MediaCodec(16559): MediaCodec will operate in async mode W/ACodec (16559): do not know color format 0x7f000011 = 2130706449 W/ACodec (16559): do not know color format 0x10 = 16 W/ACodec (16559): do not know color format 0x7f00a000 = 2130747392 W/ACodec (16559): do not know color format 0x7f000789 = 2130708361 I/ACodec (16559): setupAVCEncoderParameters with [profile: High] [level: Level52] I/ACodec (16559): Enable perceptual video coding I/ACodec (16559): Success set VideoMinQP(5/5/5) VideoMaxQP(50/50/50) I/ACodec (16559): [OMX.Exynos.AVC.Encoder] cannot encode HDR static metadata. Ignoring. I/ACodec (16559): setupVideoEncoder succeeded W/ACodec (16559): do not know color format 0x7f000789 = 2130708361 D/mali_winsys(16559): EGLint new_window_surface(egl_winsys_display*, void*, EGLSurface, EGLConfig, egl_winsys_surface**, egl_color_buffer_format*, EGLBoolean) returns 0x3000, [480x858]-format:1 D/ViewRootImpl@2bd837b[MainActivity](16559): MSG_WINDOW_FOCUS_CHANGED 1 D/ViewRootImpl@2bd837b[MainActivity](16559): mHardwareRenderer.initializeIfNeeded()#2 mSurface={isValid=true -1252096000} V/InputMethodManager(16559): Starting input: tba=android.view.inputmethod.EditorInfo@ac83aa3 nm : video.api.flutter.livestream.example ic=null I/InputMethodManager(16559): [IMM] startInputInner - mService.startInputOrWindowGainedFocus D/InputTransport(16559): Input channel constructed: fd=128 I/CameraManager(16559): Using legacy camera HAL. I/CameraDeviceState(16559): Legacy camera service transitioning to state CONFIGURING I/RequestThread-0(16559): Configure outputs: 2 surfaces configured. D/Camera (16559): app passed NULL surface D/mali_winsys(16559): EGLint new_window_surface(egl_winsys_display*, void*, EGLSurface, EGLConfig, egl_winsys_surface**, egl_color_buffer_format*, EGLBoolean) returns 0x3000, [720x480]-format:1 D/mali_winsys(16559): EGLint new_window_surface(egl_winsys_display*, void*, EGLSurface, EGLConfig, egl_winsys_surface**, egl_color_buffer_format*, EGLBoolean) returns 0x3000, [720x480]-format:1 I/CameraDeviceState(16559): Legacy camera service transitioning to state IDLE D/CameraController(16559): [[15, 15], [24, 24], [15, 30], [30, 30]] D/CameraController(16559): Selected Fps range [30, 30] I/RequestQueue(16559): Repeating capture request set. W/LegacyRequestMapper(16559): convertRequestMetadata - control.awbRegions setting is not supported, ignoring value W/LegacyRequestMapper(16559): Only received metering rectangles with weight 0. W/LegacyRequestMapper(16559): convertRequestToMetadata - Ignoring android.lens.focusDistance false, only 0.0f is supported I/CameraDeviceState(16559): Legacy camera service transitioning to state CAPTURING D/ViewRootImpl@2bd837b[MainActivity](16559): ViewPostImeInputStage processPointer 0 D/ViewRootImpl@2bd837b[MainActivity](16559): ViewPostImeInputStage processPointer 1 I/ACodec (16559): [OMX.google.aac.encoder] Now Loaded->Idle I/ACodec (16559): [OMX.google.aac.encoder] Now Idle->Executing I/ACodec (16559): [OMX.google.aac.encoder] Now Executing I/RequestQueue(16559): Repeating capture request cancelled. I/RequestQueue(16559): Repeating capture request set. I/ACodec (16559): [OMX.Exynos.AVC.Encoder] Now Loaded->Idle I/flutter (16559): Connection succedded I/ACodec (16559): [OMX.Exynos.AVC.Encoder] Now Idle->Executing I/ACodec (16559): [OMX.Exynos.AVC.Encoder] Now Executing W/LegacyRequestMapper(16559): convertRequestMetadata - control.awbRegions setting is not supported, ignoring value W/LegacyRequestMapper(16559): Only received metering rectangles with weight 0. I/NDOP (16559): listening using window listener W/LegacyRequestMapper(16559): convertRequestToMetadata - Ignoring android.lens.focusDistance false, only 0.0f is supported I/ (16559): Format changed : {bitrate=128000, mime=audio/mp4a-latm, csd-0=java.nio.HeapByteBuffer[pos=0 lim=2 cap=2], channel-count=2, sample-rate=44100, max-bitrate=128000} D/ACodec (16559): dataspace changed to 0x10c20000 (R:2(Limited), P:3(BT601_6_625), M:3(BT601_6), T:3(SMPTE170M)) (R:2(Limited), S:2(BT601_625), T:3(SMPTE_170M)) I/ (16559): Format changed : {csd-1=java.nio.HeapByteBuffer[pos=0 lim=8 cap=8], max_capacity=3010560, height=858, bitrate=1300000, color-standard=2, color-transfer=3, max-bitrate=1300000, mime=video/avc, frame-rate=30, remained_resource=2598720, width=480, color-range=2, csd-0=java.nio.HeapByteBuffer[pos=0 lim=15 cap=15]} E/rtmpdroid(16559): WriteN, RTMP send error 104 (136 bytes) E/rtmpdroid(16559): WriteN, RTMP send error 32 (71 bytes) E/rtmpdroid(16559): WriteN, RTMP send error 9 (42 bytes) E/RtmpProducer(16559): Error while writing packet to socket E/RtmpProducer(16559): java.net.SocketException: Connection error E/RtmpProducer(16559): at video.api.rtmpdroid.Rtmp.write(Rtmp.kt:125) E/RtmpProducer(16559): at io.github.thibaultbee.streampack.ext.rtmp.internal.endpoints.RtmpProducer.write(RtmpProducer.kt:64) E/RtmpProducer(16559): at io.github.thibaultbee.streampack.streamers.bases.BaseStreamer$muxListener$1.onOutputFrame(BaseStreamer.kt:134) E/RtmpProducer(16559): at io.github.thibaultbee.streampack.internal.muxers.flv.FlvMuxer.encode(FlvMuxer.kt:55) E/RtmpProducer(16559): at io.github.thibaultbee.streampack.streamers.bases.BaseStreamer$videoEncoderListener$1.onOutputFrame(BaseStreamer.kt:122) E/RtmpProducer(16559): at io.github.thibaultbee.streampack.internal.encoders.MediaCodecEncoder$encoderCallback$1.onOutputBufferAvailable(MediaCodecEncoder.kt:105) E/RtmpProducer(16559): at android.media.MediaCodec$EventHandler.handleCallback(MediaCodec.java:1662) E/RtmpProducer(16559): at android.media.MediaCodec$EventHandler.handleMessage(MediaCodec.java:1609) E/RtmpProducer(16559): at android.os.Handler.dispatchMessage(Handler.java:102) E/RtmpProducer(16559): at android.os.Looper.loop(Looper.java:154) E/RtmpProducer(16559): at android.os.HandlerThread.run(HandlerThread.java:61) I/RequestQueue(16559): Repeating capture request cancelled. I/RequestQueue(16559): Repeating capture request set. D/VideoMediaCodecEncoder(16559): Not running D/AudioMediaCodecEncoder(16559): Not running W/LegacyRequestMapper(16559): convertRequestMetadata - control.awbRegions setting is not supported, ignoring value W/LegacyRequestMapper(16559): Only received metering rectangles with weight 0. W/LegacyRequestMapper(16559): convertRequestToMetadata - Ignoring android.lens.focusDistance false, only 0.0f is supported E/rtmpdroid(16559): WriteN, RTMP send error 9 (42 bytes) I/ACodec (16559): [OMX.google.aac.encoder] Now Executing->Idle I/ACodec (16559): [OMX.google.aac.encoder] Now Idle->Loaded I/ACodec (16559): [OMX.google.aac.encoder] Now Loaded I/ACodec (16559): [OMX.google.aac.encoder] Now uninitialized I/ACodec (16559): [] Now kWhatShutdownCompleted event : 8554 I/MediaCodec(16559): Codec shutdown complete D/AudioMediaCodecEncoder(16559): createCodec: {channel-count=2, mime=audio/mp4a-latm, sample-rate=44100} I/ACodec (16559): [] Now uninitialized I/ACodec (16559): [] onAllocateComponent I/OMXClient(16559): MuxOMX ctor I/ACodec (16559): [OMX.google.aac.encoder] Now Loaded I/MediaCodec(16559): MediaCodec will operate in async mode I/ACodec (16559): [OMX.Exynos.AVC.Encoder] Now Executing->Idle I/ACodec (16559): [OMX.Exynos.AVC.Encoder] Now Idle->Loaded I/ACodec (16559): [OMX.Exynos.AVC.Encoder] Now Loaded I/ACodec (16559): [OMX.Exynos.AVC.Encoder] Now uninitialized I/ACodec (16559): [] Now kWhatShutdownCompleted event : 8554 I/MediaCodec(16559): Codec shutdown complete D/VideoMediaCodecEncoder(16559): createCodec: {height=858, width=480, mime=video/avc} W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc I/ACodec (16559): [] Now uninitialized I/ACodec (16559): [] onAllocateComponent I/OMXClient(16559): MuxOMX ctor I/ACodec (16559): [OMX.Exynos.AVC.Encoder] Now Loaded I/MediaCodec(16559): MediaCodec will operate in async mode W/ACodec (16559): do not know color format 0x7f000011 = 2130706449 W/ACodec (16559): do not know color format 0x10 = 16 W/ACodec (16559): do not know color format 0x7f00a000 = 2130747392 W/ACodec (16559): do not know color format 0x7f000789 = 2130708361 I/ACodec (16559): setupAVCEncoderParameters with [profile: High] [level: Level52] I/ACodec (16559): Enable perceptual video coding I/ACodec (16559): Success set VideoMinQP(5/5/5) VideoMaxQP(50/50/50) I/ACodec (16559): [OMX.Exynos.AVC.Encoder] cannot encode HDR static metadata. Ignoring. I/ACodec (16559): setupVideoEncoder succeeded W/ACodec (16559): do not know color format 0x7f000789 = 2130708361 D/mali_winsys(16559): EGLint new_window_surface(egl_winsys_display*, void*, EGLSurface, EGLConfig, egl_winsys_surface**, egl_color_buffer_format*, EGLBoolean) returns 0x3000, [480x858]-format:1 I/NDOP (16559): listening using window listener V/InputMethodManager(16559): Starting input: tba=android.view.inputmethod.EditorInfo@25db291 nm : video.api.flutter.livestream.example ic=null I/InputMethodManager(16559): [IMM] startInputInner - mService.startInputOrWindowGainedFocus D/InputTransport(16559): Input channel constructed: fd=213 D/InputTransport(16559): Input channel destroyed: fd=128 D/VideoMediaCodecEncoder(16559): Not running D/AudioMediaCodecEncoder(16559): Not running D/AudioCapture(16559): Not running I/ACodec (16559): [OMX.google.aac.encoder] Now uninitialized I/ACodec (16559): [] Now kWhatShutdownCompleted event : 8554 I/MediaCodec(16559): Codec shutdown complete D/AudioMediaCodecEncoder(16559): createCodec: {channel-count=2, mime=audio/mp4a-latm, sample-rate=44100} I/ACodec (16559): [] Now uninitialized I/ACodec (16559): [] onAllocateComponent I/OMXClient(16559): MuxOMX ctor I/ACodec (16559): [OMX.google.aac.encoder] Now Loaded I/MediaCodec(16559): MediaCodec will operate in async mode I/ACodec (16559): [OMX.Exynos.AVC.Encoder] Now uninitialized I/ACodec (16559): [] Now kWhatShutdownCompleted event : 8554 I/MediaCodec(16559): Codec shutdown complete D/VideoMediaCodecEncoder(16559): createCodec: {height=858, width=480, mime=video/avc} W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc I/ACodec (16559): [] Now uninitialized I/ACodec (16559): [] onAllocateComponent I/OMXClient(16559): MuxOMX ctor I/ACodec (16559): [OMX.Exynos.AVC.Encoder] Now Loaded I/MediaCodec(16559): MediaCodec will operate in async mode W/ACodec (16559): do not know color format 0x7f000011 = 2130706449 W/ACodec (16559): do not know color format 0x10 = 16 W/ACodec (16559): do not know color format 0x7f00a000 = 2130747392 W/ACodec (16559): do not know color format 0x7f000789 = 2130708361 I/ACodec (16559): setupAVCEncoderParameters with [profile: High] [level: Level52] I/ACodec (16559): Enable perceptual video coding I/ACodec (16559): Success set VideoMinQP(5/5/5) VideoMaxQP(50/50/50) I/ACodec (16559): [OMX.Exynos.AVC.Encoder] cannot encode HDR static metadata. Ignoring. I/ACodec (16559): setupVideoEncoder succeeded W/ACodec (16559): do not know color format 0x7f000789 = 2130708361 D/mali_winsys(16559): EGLint new_window_surface(egl_winsys_display*, void*, EGLSurface, EGLConfig, egl_winsys_surface**, egl_color_buffer_format*, EGLBoolean) returns 0x3000, [480x858]-format:1 D/VideoMediaCodecEncoder(16559): Not running D/AudioMediaCodecEncoder(16559): Not running D/AudioCapture(16559): Not running E/rtmpdroid(16559): WriteN, RTMP send error 9 (42 bytes) I/ACodec (16559): [OMX.google.aac.encoder] Now uninitialized I/ACodec (16559): [] Now kWhatShutdownCompleted event : 8554 I/MediaCodec(16559): Codec shutdown complete D/AudioMediaCodecEncoder(16559): createCodec: {channel-count=2, mime=audio/mp4a-latm, sample-rate=44100} I/ACodec (16559): [] Now uninitialized I/ACodec (16559): [] onAllocateComponent I/OMXClient(16559): MuxOMX ctor I/ACodec (16559): [OMX.google.aac.encoder] Now Loaded I/MediaCodec(16559): MediaCodec will operate in async mode I/ACodec (16559): [OMX.Exynos.AVC.Encoder] Now uninitialized I/ACodec (16559): [] Now kWhatShutdownCompleted event : 8554 I/MediaCodec(16559): Codec shutdown complete D/VideoMediaCodecEncoder(16559): createCodec: {height=858, width=480, mime=video/avc} W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706433 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc W/VideoCapabilities(16559): Unrecognized profile 2130706434 for video/avc I/ACodec (16559): [] Now uninitialized I/ACodec (16559): [] onAllocateComponent I/OMXClient(16559): MuxOMX ctor I/ACodec (16559): [OMX.Exynos.AVC.Encoder] Now Loaded I/MediaCodec(16559): MediaCodec will operate in async mode W/ACodec (16559): do not know color format 0x7f000011 = 2130706449 W/ACodec (16559): do not know color format 0x10 = 16 W/ACodec (16559): do not know color format 0x7f00a000 = 2130747392 W/ACodec (16559): do not know color format 0x7f000789 = 2130708361 I/ACodec (16559): setupAVCEncoderParameters with [profile: High] [level: Level52] I/ACodec (16559): Enable perceptual video coding I/ACodec (16559): Success set VideoMinQP(5/5/5) VideoMaxQP(50/50/50) I/ACodec (16559): [OMX.Exynos.AVC.Encoder] cannot encode HDR static metadata. Ignoring. I/ACodec (16559): setupVideoEncoder succeeded W/ACodec (16559): do not know color format 0x7f000789 = 2130708361 D/mali_winsys(16559): EGLint new_window_surface(egl_winsys_display*, void*, EGLSurface, EGLConfig, egl_winsys_surface**, egl_color_buffer_format*, EGLBoolean) returns 0x3000, [480x858]-format:1 I/RequestQueue(16559): Repeating capture request cancelled. W/MessageQueue(16559): Handler (android.graphics.SurfaceTexture$1) {b778df7} sending message to a Handler on a dead thread W/MessageQueue(16559): java.lang.IllegalStateException: Handler (android.graphics.SurfaceTexture$1) {b778df7} sending message to a Handler on a dead thread W/MessageQueue(16559): at android.os.MessageQueue.enqueueMessage(MessageQueue.java:543) W/MessageQueue(16559): at android.os.Handler.enqueueMessage(Handler.java:643) W/MessageQueue(16559): at android.os.Handler.sendMessageAtTime(Handler.java:612) W/MessageQueue(16559): at android.os.Handler.sendMessageDelayed(Handler.java:582) W/MessageQueue(16559): at android.os.Handler.sendEmptyMessageDelayed(Handler.java:546) W/MessageQueue(16559): at android.os.Handler.sendEmptyMessage(Handler.java:531) W/MessageQueue(16559): at android.graphics.SurfaceTexture.postEventFromNative(SurfaceTexture.java:376) E/BufferQueueProducer(16559): [SurfaceTexture-1-16559-6] queueBuffer: BufferQueue has been abandoned E/BufferQueueProducer(16559): [SurfaceTexture-1-16559-6] dequeueBuffer: BufferQueue has been abandoned E/BufferQueueProducer(16559): [SurfaceTexture-1-16559-6] cancelBuffer: BufferQueue has been abandoned E/BufferQueueProducer(16559): [SurfaceTexture-1-16559-6] cancelBuffer: BufferQueue has been abandoned E/BufferQueueProducer(16559): [SurfaceTexture-1-16559-6] cancelBuffer: BufferQueue has been abandoned E/BufferQueueProducer(16559): [SurfaceTexture-1-16559-6] cancelBuffer: BufferQueue has been abandoned E/BufferQueueProducer(16559): [SurfaceTexture-1-16559-6] cancelBuffer: BufferQueue has been abandoned E/BufferQueueProducer(16559): [SurfaceTexture-1-16559-6] cancelBuffer: BufferQueue has been abandoned E/BufferQueueProducer(16559): [SurfaceTexture-1-16559-6] cancelBuffer: BufferQueue has been abandoned E/BufferQueueProducer(16559): [SurfaceTexture-1-16559-6] cancelBuffer: BufferQueue has been abandoned E/BufferQueueProducer(16559): [SurfaceTexture-1-16559-6] cancelBuffer: BufferQueue has been abandoned E/BufferQueueProducer(16559): [SurfaceTexture-1-16559-6] connect: BufferQueue has been abandoned E/BufferQueueProducer(16559): [SurfaceTexture-1-16559-6] setMaxDequeuedBufferCount: BufferQueue has been abandoned I/Choreographer(16559): Skipped 106 frames! The application may be doing too much work on its main thread. D/SurfaceView(16559): Relayout returned: oldFrame=[0,0][720,1280] newFrame=[0,0][720,1280] result=0x5 surface={Surface(name=null)/@0x4605a3f isValid=false 0} D/ViewRootImpl@2bd837b[MainActivity](16559): MSG_WINDOW_FOCUS_CHANGED 0