Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Does not work with aler9/rtsp-simple-server #9884

Closed
beroso opened this issue Jan 21, 2022 · 2 comments
Closed

Does not work with aler9/rtsp-simple-server #9884

beroso opened this issue Jan 21, 2022 · 2 comments
Labels

Comments

@beroso
Copy link

beroso commented Jan 21, 2022

I followed the Publish to the server > From a webcam example and was able to play the stream successfully on VLC and ffplay.

But i could not run the stream on my app using Exoplayer.
I followed the #3854 (comment) to test the stream. Below is the output of the log.

Does anyone have any tips?

2022-01-21 18:42:25.347 4847-4904/com.google.android.exoplayer2.demo D/EGL_emulation: app_time_stats: avg=91.58ms min=10.82ms max=1219.74ms count=16
2022-01-21 18:42:25.475 4847-4847/com.google.android.exoplayer2.demo I/ExoPlayerImpl: Init 6237bac [ExoPlayerLib/2.14.0] [emulator64_arm64, sdk_gphone64_arm64, Google, 31]
2022-01-21 18:42:25.480 4847-4847/com.google.android.exoplayer2.demo D/EventLogger: playWhenReady [eventTime=0.00, mediaPos=0.00, window=0, true, USER_REQUEST]
2022-01-21 18:42:25.482 4847-4847/com.google.android.exoplayer2.demo D/EventLogger: timeline [eventTime=0.00, mediaPos=0.00, window=0, periodCount=1, windowCount=1, reason=PLAYLIST_CHANGED
2022-01-21 18:42:25.482 4847-4847/com.google.android.exoplayer2.demo D/EventLogger:   period [?]
2022-01-21 18:42:25.482 4847-4847/com.google.android.exoplayer2.demo D/EventLogger:   window [?, seekable=false, dynamic=true]
2022-01-21 18:42:25.482 4847-4847/com.google.android.exoplayer2.demo D/EventLogger: ]
2022-01-21 18:42:25.482 4847-4847/com.google.android.exoplayer2.demo D/EventLogger: mediaItem [eventTime=0.00, mediaPos=0.00, window=0, reason=PLAYLIST_CHANGED]
2022-01-21 18:42:25.484 4847-4847/com.google.android.exoplayer2.demo D/EventLogger: state [eventTime=0.00, mediaPos=0.00, window=0, BUFFERING]
2022-01-21 18:42:25.517 4847-4847/com.google.android.exoplayer2.demo D/EventLogger: surfaceSize [eventTime=0.04, mediaPos=0.00, window=0, 1080, 2082]
2022-01-21 18:42:25.520 4847-6045/com.google.android.exoplayer2.demo D/MediaCodecInfo: NoSupport [codec.profileLevel, avc1.7A001E, video/avc] [c2.goldfish.h264.decoder, video/avc] [emulator64_arm64, sdk_gphone64_arm64, Google, 31]
2022-01-21 18:42:25.520 4847-6045/com.google.android.exoplayer2.demo D/MediaCodecInfo: NoSupport [codec.profileLevel, avc1.7A001E, video/avc] [c2.android.avc.decoder, video/avc] [emulator64_arm64, sdk_gphone64_arm64, Google, 31]
2022-01-21 18:42:25.520 4847-6045/com.google.android.exoplayer2.demo D/MediaCodecInfo: NoSupport [codec.profileLevel, avc1.7A001E, video/avc] [c2.goldfish.h264.decoder, video/avc] [emulator64_arm64, sdk_gphone64_arm64, Google, 31]
2022-01-21 18:42:25.520 4847-6045/com.google.android.exoplayer2.demo D/MediaCodecInfo: NoSupport [codec.profileLevel, avc1.7A001E, video/avc] [c2.goldfish.h264.decoder, video/avc] [emulator64_arm64, sdk_gphone64_arm64, Google, 31]
2022-01-21 18:42:25.520 4847-6045/com.google.android.exoplayer2.demo D/MediaCodecInfo: NoSupport [codec.profileLevel, avc1.7A001E, video/avc] [c2.android.avc.decoder, video/avc] [emulator64_arm64, sdk_gphone64_arm64, Google, 31]
2022-01-21 18:42:25.520 4847-6045/com.google.android.exoplayer2.demo D/MediaCodecInfo: NoSupport [codec.profileLevel, avc1.7A001E, video/avc] [c2.goldfish.h264.decoder, video/avc] [emulator64_arm64, sdk_gphone64_arm64, Google, 31]
2022-01-21 18:42:25.529 4847-6045/com.google.android.exoplayer2.demo D/MediaCodecInfo: NoSupport [codec.profileLevel, avc1.7A001E, video/avc] [c2.goldfish.h264.decoder, video/avc] [emulator64_arm64, sdk_gphone64_arm64, Google, 31]
2022-01-21 18:42:25.529 4847-6045/com.google.android.exoplayer2.demo D/MediaCodecInfo: NoSupport [codec.profileLevel, avc1.7A001E, video/avc] [c2.android.avc.decoder, video/avc] [emulator64_arm64, sdk_gphone64_arm64, Google, 31]
2022-01-21 18:42:25.533 4847-4847/com.google.android.exoplayer2.demo D/EventLogger: loading [eventTime=0.05, mediaPos=0.00, window=0, period=0, true]
2022-01-21 18:42:25.534 4847-6051/com.google.android.exoplayer2.demo D/CCodec: allocate(c2.goldfish.h264.decoder)
2022-01-21 18:42:25.539 4847-4847/com.google.android.exoplayer2.demo D/EventLogger: timeline [eventTime=0.06, mediaPos=0.00, window=0, period=0, periodCount=1, windowCount=1, reason=SOURCE_UPDATE
2022-01-21 18:42:25.539 4847-4847/com.google.android.exoplayer2.demo D/EventLogger:   period [?]
2022-01-21 18:42:25.539 4847-4847/com.google.android.exoplayer2.demo D/EventLogger:   window [?, seekable=false, dynamic=false]
2022-01-21 18:42:25.539 4847-4847/com.google.android.exoplayer2.demo D/EventLogger: ]
2022-01-21 18:42:25.541 4847-4847/com.google.android.exoplayer2.demo D/EventLogger: videoEnabled [eventTime=0.06, mediaPos=0.00, window=0, period=0]
2022-01-21 18:42:25.541 4847-6051/com.google.android.exoplayer2.demo I/CCodec: setting up 'default' as default (vendor) store
2022-01-21 18:42:25.543 4847-4847/com.google.android.exoplayer2.demo D/EventLogger: tracks [eventTime=0.06, mediaPos=0.00, window=0, period=0
2022-01-21 18:42:25.543 4847-4847/com.google.android.exoplayer2.demo D/EventLogger:   MediaCodecVideoRenderer [
2022-01-21 18:42:25.543 4847-4847/com.google.android.exoplayer2.demo D/EventLogger:     Group:0, adaptive_supported=N/A [
2022-01-21 18:42:25.543 4847-4847/com.google.android.exoplayer2.demo D/EventLogger:       [X] Track:0, id=null, mimeType=video/avc, bitrate=600000, codecs=avc1.7A001E, res=640x480, supported=NO_EXCEEDS_CAPABILITIES
2022-01-21 18:42:25.543 4847-4847/com.google.android.exoplayer2.demo D/EventLogger:     ]
2022-01-21 18:42:25.543 4847-4847/com.google.android.exoplayer2.demo D/EventLogger:   ]
2022-01-21 18:42:25.543 4847-4847/com.google.android.exoplayer2.demo D/EventLogger:   MediaCodecAudioRenderer []
2022-01-21 18:42:25.544 4847-4847/com.google.android.exoplayer2.demo D/EventLogger:   TextRenderer []
2022-01-21 18:42:25.544 4847-4847/com.google.android.exoplayer2.demo D/EventLogger:   MetadataRenderer []
2022-01-21 18:42:25.544 4847-4847/com.google.android.exoplayer2.demo D/EventLogger:   CameraMotionRenderer []
2022-01-21 18:42:25.544 4847-4847/com.google.android.exoplayer2.demo D/EventLogger: ]
2022-01-21 18:42:25.548 4847-6051/com.google.android.exoplayer2.demo I/CCodec: Created component [c2.goldfish.h264.decoder]
2022-01-21 18:42:25.549 4847-6051/com.google.android.exoplayer2.demo D/CCodecConfig: read media type: video/avc
2022-01-21 18:42:25.553 4847-6051/com.google.android.exoplayer2.demo D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.max-count.values
2022-01-21 18:42:25.556 4847-6051/com.google.android.exoplayer2.demo D/ReflectedParamUpdater: extent() != 1 for single value type: output.subscribed-indices.values
2022-01-21 18:42:25.557 4847-6051/com.google.android.exoplayer2.demo D/ReflectedParamUpdater: extent() != 1 for single value type: input.buffers.allocator-ids.values
2022-01-21 18:42:25.557 4847-6051/com.google.android.exoplayer2.demo D/ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.allocator-ids.values
2022-01-21 18:42:25.558 4847-6051/com.google.android.exoplayer2.demo D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.allocator-ids.values
2022-01-21 18:42:25.559 4847-6051/com.google.android.exoplayer2.demo D/ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.pool-ids.values
2022-01-21 18:42:25.559 4847-6051/com.google.android.exoplayer2.demo D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.pool-ids.values
2022-01-21 18:42:25.561 4847-6051/com.google.android.exoplayer2.demo D/ReflectedParamUpdater: ignored struct field coded.color-format.locations
2022-01-21 18:42:25.563 4847-6051/com.google.android.exoplayer2.demo D/CCodecConfig: ignoring local param raw.size (0xd2001800) as it is already supported
2022-01-21 18:42:25.563 4847-6051/com.google.android.exoplayer2.demo D/CCodecConfig: ignoring local param default.color (0x5200180b) as it is already supported
2022-01-21 18:42:25.563 4847-6051/com.google.android.exoplayer2.demo D/ReflectedParamUpdater: ignored struct field raw.hdr-static-info.mastering
2022-01-21 18:42:25.565 4847-6051/com.google.android.exoplayer2.demo I/CCodecConfig: query failed after returning 12 values (BAD_INDEX)
2022-01-21 18:42:25.565 4847-6051/com.google.android.exoplayer2.demo D/CCodecConfig: c2 config diff is Dict {
      c2::u32 coded.pl.level = 20496
      c2::u32 coded.pl.profile = 20481
      c2::u32 coded.vui.color.matrix = 0
      c2::u32 coded.vui.color.primaries = 0
      c2::u32 coded.vui.color.range = 2
      c2::u32 coded.vui.color.transfer = 0
      c2::u32 default.color.matrix = 0
      c2::u32 default.color.primaries = 0
      c2::u32 default.color.range = 0
      c2::u32 default.color.transfer = 0
      c2::u32 input.buffers.max-size.value = 2097152
      c2::u32 input.delay.value = 0
      string input.media-type.value = "video/avc"
      c2::u32 output.delay.value = 8
      string output.media-type.value = "video/raw"
      c2::u32 raw.color.matrix = 0
      c2::u32 raw.color.primaries = 0
      c2::u32 raw.color.range = 2
      c2::u32 raw.color.transfer = 0
      c2::u32 raw.max-size.height = 240
      c2::u32 raw.max-size.width = 320
      c2::u32 raw.pixel-format.value = 35
      c2::i32 raw.rotation.flip = 0
      c2::i32 raw.rotation.value = 0
      c2::u32 raw.sar.height = 1
      c2::u32 raw.sar.width = 1
      c2::u32 raw.size.height = 240
      c2::u32 raw.size.width = 320
      c2:
2022-01-21 18:42:25.565 4847-6051/com.google.android.exoplayer2.demo W/ColorUtils: expected specified color aspects (2:0:0:0)
2022-01-21 18:42:25.567 4847-6050/com.google.android.exoplayer2.demo D/SurfaceUtils: connecting to surface 0x70d4bfb750, reason connectToSurface
2022-01-21 18:42:25.567 4847-6050/com.google.android.exoplayer2.demo I/MediaCodec: [c2.goldfish.h264.decoder] setting surface generation to 4963352
2022-01-21 18:42:25.567 4847-6050/com.google.android.exoplayer2.demo D/SurfaceUtils: disconnecting from surface 0x70d4bfb750, reason connectToSurface(reconnect)
2022-01-21 18:42:25.568 4847-6050/com.google.android.exoplayer2.demo D/SurfaceUtils: connecting to surface 0x70d4bfb750, reason connectToSurface(reconnect)
2022-01-21 18:42:25.568 4847-6051/com.google.android.exoplayer2.demo D/CCodec: [c2.goldfish.h264.decoder] buffers are bound to CCodec for this session
2022-01-21 18:42:25.568 4847-6051/com.google.android.exoplayer2.demo D/CCodecConfig: no c2 equivalents for csd-1
2022-01-21 18:42:25.568 4847-6051/com.google.android.exoplayer2.demo D/CCodecConfig: no c2 equivalents for native-window
2022-01-21 18:42:25.568 4847-6051/com.google.android.exoplayer2.demo D/CCodecConfig: no c2 equivalents for flags
2022-01-21 18:42:25.569 4847-6051/com.google.android.exoplayer2.demo D/CCodecConfig: config failed => CORRUPTED
2022-01-21 18:42:25.569 4847-6051/com.google.android.exoplayer2.demo D/CCodecConfig: c2 config diff is   c2::u32 raw.max-size.height = 480
      c2::u32 raw.max-size.width = 640
      c2::u32 raw.size.height = 480
      c2::u32 raw.size.width = 640
2022-01-21 18:42:25.570 4847-6051/com.google.android.exoplayer2.demo W/Codec2Client: query -- param skipped: index = 1107298332.
2022-01-21 18:42:25.570 4847-6051/com.google.android.exoplayer2.demo D/CCodec: client requested max input size 230400, which is smaller than what component recommended (2097152); overriding with component recommendation.
2022-01-21 18:42:25.570 4847-6051/com.google.android.exoplayer2.demo W/CCodec: This behavior is subject to change. It is recommended that app developers double check whether the requested max input size is in reasonable range.
2022-01-21 18:42:25.570 4847-6051/com.google.android.exoplayer2.demo D/CCodec: setup formats input: AMessage(what = 0x00000000) = {
      int32_t height = 480
      int32_t level = 65536
      int32_t max-input-size = 2097152
      string mime = "video/avc"
      int32_t profile = 65536
      int32_t width = 640
      Rect crop(0, 0, 639, 479)
    }
2022-01-21 18:42:25.570 4847-6051/com.google.android.exoplayer2.demo D/CCodec: setup formats output: AMessage(what = 0x00000000) = {
      int32_t android._color-format = 2135033992
      int32_t android._video-scaling = 1
      int32_t rotation-degrees = 0
      int32_t color-standard = 4
      int32_t color-range = 2
      int32_t color-transfer = 3
      int32_t sar-height = 1
      int32_t sar-width = 1
      Rect crop(0, 0, 639, 479)
      int32_t width = 640
      int32_t height = 480
      int32_t max-height = 480
      int32_t max-width = 640
      string mime = "video/raw"
      int32_t android._dataspace = 259
      int32_t color-format = 2130708361
    }
2022-01-21 18:42:25.570 4847-6051/com.google.android.exoplayer2.demo I/CCodecConfig: query failed after returning 12 values (BAD_INDEX)
2022-01-21 18:42:25.573 4847-6051/com.google.android.exoplayer2.demo W/Codec2Client: query -- param skipped: index = 1342179345.
2022-01-21 18:42:25.573 4847-6051/com.google.android.exoplayer2.demo W/Codec2Client: query -- param skipped: index = 2415921170.
2022-01-21 18:42:25.573 4847-6051/com.google.android.exoplayer2.demo W/Codec2Client: query -- param skipped: index = 1610614798.
2022-01-21 18:42:25.574 4847-6051/com.google.android.exoplayer2.demo W/Codec2Client: query -- param skipped: index = 2684356609.
2022-01-21 18:42:25.574 4847-6051/com.google.android.exoplayer2.demo D/CCodecBufferChannel: [c2.goldfish.h264.decoder#127] Created input block pool with allocatorID 16 => poolID 28 - OK (0)
2022-01-21 18:42:25.576 4847-6051/com.google.android.exoplayer2.demo D/CCodecBufferChannel: [c2.goldfish.h264.decoder#127] Query output surface allocator returned 0 params => BAD_INDEX (6)
2022-01-21 18:42:25.578 4847-6051/com.google.android.exoplayer2.demo I/CCodecBufferChannel: [c2.goldfish.h264.decoder#127] Created output block pool with allocatorID 18 => poolID 30 - OK
2022-01-21 18:42:25.579 4847-6051/com.google.android.exoplayer2.demo D/CCodecBufferChannel: [c2.goldfish.h264.decoder#127] Configured output block pool ids 30 => OK
2022-01-21 18:42:25.580 4847-6051/com.google.android.exoplayer2.demo D/Codec2-OutputBufferQueue: remote graphic buffer migration 0/0
2022-01-21 18:42:25.580 4847-6051/com.google.android.exoplayer2.demo D/Codec2Client: setOutputSurface -- failed to set consumer usage (6/BAD_INDEX)
2022-01-21 18:42:25.580 4847-6051/com.google.android.exoplayer2.demo D/Codec2Client: setOutputSurface -- generation=4963352 consumer usage=0x900
2022-01-21 18:42:25.586 4847-6051/com.google.android.exoplayer2.demo D/Codec2Client: Surface configure completed
2022-01-21 18:42:25.591 4847-4954/com.google.android.exoplayer2.demo D/BufferPoolAccessor2.0: bufferpool2 0x7034bf1f48 : 0(0 size) total buffers - 0(0 size) used buffers - 0/6 (recycle/alloc) - 2/2 (fetch/transfer)
2022-01-21 18:42:25.591 4847-4954/com.google.android.exoplayer2.demo D/BufferPoolAccessor2.0: Destruction - bufferpool2 0x7034bf1f48 cached: 0/0M, 0/0% in use; allocs: 6, 0% recycled; transfers: 2, 0% unfetched
2022-01-21 18:42:25.598 4847-4847/com.google.android.exoplayer2.demo D/EventLogger: videoDecoderInitialized [eventTime=0.12, mediaPos=0.00, window=0, period=0, c2.goldfish.h264.decoder]
2022-01-21 18:42:25.599 4847-4847/com.google.android.exoplayer2.demo D/EventLogger: videoInputFormat [eventTime=0.12, mediaPos=0.00, window=0, period=0, id=null, mimeType=video/avc, bitrate=600000, codecs=avc1.7A001E, res=640x480]
2022-01-21 18:42:25.602 4847-6045/com.google.android.exoplayer2.demo E/ExoPlayerImplInternal: Playback error
      com.google.android.exoplayer2.ExoPlaybackException: Source error
        at com.google.android.exoplayer2.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:580)
        at android.os.Handler.dispatchMessage(Handler.java:102)
        at android.os.Looper.loopOnce(Looper.java:201)
        at android.os.Looper.loop(Looper.java:288)
        at android.os.HandlerThread.run(HandlerThread.java:67)
     Caused by: com.google.android.exoplayer2.source.rtsp.RtspMediaSource$RtspPlaybackException: SETUP 461
        at com.google.android.exoplayer2.source.rtsp.RtspClient$MessageListener.onRtspMessageReceived(RtspClient.java:368)
        at com.google.android.exoplayer2.source.rtsp.RtspMessageChannel$Receiver.lambda$handleRtspMessage$0$RtspMessageChannel$Receiver(RtspMessageChannel.java:291)
        at com.google.android.exoplayer2.source.rtsp.-$$Lambda$RtspMessageChannel$Receiver$frEfu1WfqENR1_7bFfrua9iV9BY.run(Unknown Source:4)
        at android.os.Handler.handleCallback(Handler.java:938)
        at android.os.Handler.dispatchMessage(Handler.java:99)
        at android.os.Looper.loopOnce(Looper.java:201) 
        at android.os.Looper.loop(Looper.java:288) 
        at android.os.HandlerThread.run(HandlerThread.java:67) 
2022-01-21 18:42:25.604 4847-6050/com.google.android.exoplayer2.demo I/CCodecConfig: query failed after returning 12 values (BAD_INDEX)
2022-01-21 18:42:25.608 4847-6050/com.google.android.exoplayer2.demo W/Codec2Client: query -- param skipped: index = 1342179345.
2022-01-21 18:42:25.608 4847-6050/com.google.android.exoplayer2.demo W/Codec2Client: query -- param skipped: index = 2415921170.
2022-01-21 18:42:25.608 4847-6050/com.google.android.exoplayer2.demo W/Codec2Client: query -- param skipped: index = 1610614798.
2022-01-21 18:42:25.609 4847-6050/com.google.android.exoplayer2.demo D/SurfaceUtils: connecting to surface 0x70d4bf5120, reason connectToSurface
2022-01-21 18:42:25.609 4847-6050/com.google.android.exoplayer2.demo I/MediaCodec: [c2.goldfish.h264.decoder] setting surface generation to 4963353
2022-01-21 18:42:25.609 4847-6050/com.google.android.exoplayer2.demo D/SurfaceUtils: disconnecting from surface 0x70d4bf5120, reason connectToSurface(reconnect)
2022-01-21 18:42:25.609 4847-6050/com.google.android.exoplayer2.demo D/SurfaceUtils: connecting to surface 0x70d4bf5120, reason connectToSurface(reconnect)
2022-01-21 18:42:25.611 4847-4847/com.google.android.exoplayer2.demo D/EventLogger: videoDisabled [eventTime=0.13, mediaPos=0.00, window=0, period=0]
2022-01-21 18:42:25.611 4847-6050/com.google.android.exoplayer2.demo D/Codec2-OutputBufferQueue: remote graphic buffer migration 0/0
2022-01-21 18:42:25.612 4847-6050/com.google.android.exoplayer2.demo D/Codec2Client: setOutputSurface -- failed to set consumer usage (6/BAD_INDEX)
2022-01-21 18:42:25.612 4847-6050/com.google.android.exoplayer2.demo D/Codec2Client: setOutputSurface -- generation=4963353 consumer usage=0x900
2022-01-21 18:42:25.617 4847-6050/com.google.android.exoplayer2.demo E/BufferQueueProducer: [SurfaceView[com.google.android.exoplayer2.demo/com.google.android.exoplayer2.demo.PlayerActivity]#28(BLAST Consumer)28](id:12ef0000002b,api:3,p:4847,c:4847) detachBuffer: slot 1 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.617 4847-6050/com.google.android.exoplayer2.demo E/BufferQueueProducer: [SurfaceView[com.google.android.exoplayer2.demo/com.google.android.exoplayer2.demo.PlayerActivity]#28(BLAST Consumer)28](id:12ef0000002b,api:3,p:4847,c:4847) detachBuffer: slot 2 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.618 4847-6050/com.google.android.exoplayer2.demo E/BufferQueueProducer: [SurfaceView[com.google.android.exoplayer2.demo/com.google.android.exoplayer2.demo.PlayerActivity]#28(BLAST Consumer)28](id:12ef0000002b,api:3,p:4847,c:4847) detachBuffer: slot 3 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.618 4847-6050/com.google.android.exoplayer2.demo E/BufferQueueProducer: [SurfaceView[com.google.android.exoplayer2.demo/com.google.android.exoplayer2.demo.PlayerActivity]#28(BLAST Consumer)28](id:12ef0000002b,api:3,p:4847,c:4847) detachBuffer: slot 4 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.619 4847-6050/com.google.android.exoplayer2.demo E/BufferQueueProducer: [SurfaceView[com.google.android.exoplayer2.demo/com.google.android.exoplayer2.demo.PlayerActivity]#28(BLAST Consumer)28](id:12ef0000002b,api:3,p:4847,c:4847) detachBuffer: slot 5 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.619 4847-6050/com.google.android.exoplayer2.demo E/BufferQueueProducer: [SurfaceView[com.google.android.exoplayer2.demo/com.google.android.exoplayer2.demo.PlayerActivity]#28(BLAST Consumer)28](id:12ef0000002b,api:3,p:4847,c:4847) detachBuffer: slot 6 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.619 4847-6050/com.google.android.exoplayer2.demo E/BufferQueueProducer: [SurfaceView[com.google.android.exoplayer2.demo/com.google.android.exoplayer2.demo.PlayerActivity]#28(BLAST Consumer)28](id:12ef0000002b,api:3,p:4847,c:4847) detachBuffer: slot 7 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.619 4847-6050/com.google.android.exoplayer2.demo E/BufferQueueProducer: [SurfaceView[com.google.android.exoplayer2.demo/com.google.android.exoplayer2.demo.PlayerActivity]#28(BLAST Consumer)28](id:12ef0000002b,api:3,p:4847,c:4847) detachBuffer: slot 8 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.620 4847-6050/com.google.android.exoplayer2.demo E/BufferQueueProducer: [SurfaceView[com.google.android.exoplayer2.demo/com.google.android.exoplayer2.demo.PlayerActivity]#28(BLAST Consumer)28](id:12ef0000002b,api:3,p:4847,c:4847) detachBuffer: slot 9 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.620 4847-6050/com.google.android.exoplayer2.demo E/BufferQueueProducer: [SurfaceView[com.google.android.exoplayer2.demo/com.google.android.exoplayer2.demo.PlayerActivity]#28(BLAST Consumer)28](id:12ef0000002b,api:3,p:4847,c:4847) detachBuffer: slot 10 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.620 4847-6050/com.google.android.exoplayer2.demo E/BufferQueueProducer: [SurfaceView[com.google.android.exoplayer2.demo/com.google.android.exoplayer2.demo.PlayerActivity]#28(BLAST Consumer)28](id:12ef0000002b,api:3,p:4847,c:4847) detachBuffer: slot 11 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.620 4847-6050/com.google.android.exoplayer2.demo E/BufferQueueProducer: [SurfaceView[com.google.android.exoplayer2.demo/com.google.android.exoplayer2.demo.PlayerActivity]#28(BLAST Consumer)28](id:12ef0000002b,api:3,p:4847,c:4847) detachBuffer: slot 12 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.623 4847-6050/com.google.android.exoplayer2.demo E/BufferQueueProducer: [SurfaceView[com.google.android.exoplayer2.demo/com.google.android.exoplayer2.demo.PlayerActivity]#28(BLAST Consumer)28](id:12ef0000002b,api:3,p:4847,c:4847) detachBuffer: slot 13 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.623 4847-6050/com.google.android.exoplayer2.demo E/BufferQueueProducer: [SurfaceView[com.google.android.exoplayer2.demo/com.google.android.exoplayer2.demo.PlayerActivity]#28(BLAST Consumer)28](id:12ef0000002b,api:3,p:4847,c:4847) detachBuffer: slot 14 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.623 4847-6050/com.google.android.exoplayer2.demo E/BufferQueueProducer: [SurfaceView[com.google.android.exoplayer2.demo/com.google.android.exoplayer2.demo.PlayerActivity]#28(BLAST Consumer)28](id:12ef0000002b,api:3,p:4847,c:4847) detachBuffer: slot 15 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.624 4847-6050/com.google.android.exoplayer2.demo E/BufferQueueProducer: [SurfaceView[com.google.android.exoplayer2.demo/com.google.android.exoplayer2.demo.PlayerActivity]#28(BLAST Consumer)28](id:12ef0000002b,api:3,p:4847,c:4847) detachBuffer: slot 16 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.624 4847-6050/com.google.android.exoplayer2.demo E/BufferQueueProducer: [SurfaceView[com.google.android.exoplayer2.demo/com.google.android.exoplayer2.demo.PlayerActivity]#28(BLAST Consumer)28](id:12ef0000002b,api:3,p:4847,c:4847) detachBuffer: slot 17 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.625 4847-6050/com.google.android.exoplayer2.demo E/BufferQueueProducer: [SurfaceView[com.google.android.exoplayer2.demo/com.google.android.exoplayer2.demo.PlayerActivity]#28(BLAST Consumer)28](id:12ef0000002b,api:3,p:4847,c:4847) detachBuffer: slot 18 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.625 4847-6050/com.google.android.exoplayer2.demo E/BufferQueueProducer: [SurfaceView[com.google.android.exoplayer2.demo/com.google.android.exoplayer2.demo.PlayerActivity]#28(BLAST Consumer)28](id:12ef0000002b,api:3,p:4847,c:4847) detachBuffer: slot 19 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.625 4847-6050/com.google.android.exoplayer2.demo E/BufferQueueProducer: [SurfaceView[com.google.android.exoplayer2.demo/com.google.android.exoplayer2.demo.PlayerActivity]#28(BLAST Consumer)28](id:12ef0000002b,api:3,p:4847,c:4847) detachBuffer: slot 20 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.626 4847-6050/com.google.android.exoplayer2.demo E/BufferQueueProducer: [SurfaceView[com.google.android.exoplayer2.demo/com.google.android.exoplayer2.demo.PlayerActivity]#28(BLAST Consumer)28](id:12ef0000002b,api:3,p:4847,c:4847) detachBuffer: slot 21 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.626 4847-6050/com.google.android.exoplayer2.demo E/BufferQueueProducer: [SurfaceView[com.google.android.exoplayer2.demo/com.google.android.exoplayer2.demo.PlayerActivity]#28(BLAST Consumer)28](id:12ef0000002b,api:3,p:4847,c:4847) detachBuffer: slot 22 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.626 4847-6050/com.google.android.exoplayer2.demo E/BufferQueueProducer: [SurfaceView[com.google.android.exoplayer2.demo/com.google.android.exoplayer2.demo.PlayerActivity]#28(BLAST Consumer)28](id:12ef0000002b,api:3,p:4847,c:4847) detachBuffer: slot 23 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.627 4847-6050/com.google.android.exoplayer2.demo E/BufferQueueProducer: [SurfaceView[com.google.android.exoplayer2.demo/com.google.android.exoplayer2.demo.PlayerActivity]#28(BLAST Consumer)28](id:12ef0000002b,api:3,p:4847,c:4847) detachBuffer: slot 24 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.628 4847-6050/com.google.android.exoplayer2.demo E/BufferQueueProducer: [SurfaceView[com.google.android.exoplayer2.demo/com.google.android.exoplayer2.demo.PlayerActivity]#28(BLAST Consumer)28](id:12ef0000002b,api:3,p:4847,c:4847) detachBuffer: slot 25 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.628 4847-6050/com.google.android.exoplayer2.demo E/BufferQueueProducer: [SurfaceView[com.google.android.exoplayer2.demo/com.google.android.exoplayer2.demo.PlayerActivity]#28(BLAST Consumer)28](id:12ef0000002b,api:3,p:4847,c:4847) detachBuffer: slot 26 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.629 4847-6050/com.google.android.exoplayer2.demo E/BufferQueueProducer: [SurfaceView[com.google.android.exoplayer2.demo/com.google.android.exoplayer2.demo.PlayerActivity]#28(BLAST Consumer)28](id:12ef0000002b,api:3,p:4847,c:4847) detachBuffer: slot 27 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.630 4847-6050/com.google.android.exoplayer2.demo E/BufferQueueProducer: [SurfaceView[com.google.android.exoplayer2.demo/com.google.android.exoplayer2.demo.PlayerActivity]#28(BLAST Consumer)28](id:12ef0000002b,api:3,p:4847,c:4847) detachBuffer: slot 28 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.630 4847-6050/com.google.android.exoplayer2.demo E/BufferQueueProducer: [SurfaceView[com.google.android.exoplayer2.demo/com.google.android.exoplayer2.demo.PlayerActivity]#28(BLAST Consumer)28](id:12ef0000002b,api:3,p:4847,c:4847) detachBuffer: slot 29 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.630 4847-6050/com.google.android.exoplayer2.demo E/BufferQueueProducer: [SurfaceView[com.google.android.exoplayer2.demo/com.google.android.exoplayer2.demo.PlayerActivity]#28(BLAST Consumer)28](id:12ef0000002b,api:3,p:4847,c:4847) detachBuffer: slot 30 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.631 4847-6050/com.google.android.exoplayer2.demo E/BufferQueueProducer: [SurfaceView[com.google.android.exoplayer2.demo/com.google.android.exoplayer2.demo.PlayerActivity]#28(BLAST Consumer)28](id:12ef0000002b,api:3,p:4847,c:4847) detachBuffer: slot 31 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.631 4847-6050/com.google.android.exoplayer2.demo E/BufferQueueProducer: [SurfaceView[com.google.android.exoplayer2.demo/com.google.android.exoplayer2.demo.PlayerActivity]#28(BLAST Consumer)28](id:12ef0000002b,api:3,p:4847,c:4847) detachBuffer: slot 32 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.631 4847-6050/com.google.android.exoplayer2.demo E/BufferQueueProducer: [SurfaceView[com.google.android.exoplayer2.demo/com.google.android.exoplayer2.demo.PlayerActivity]#28(BLAST Consumer)28](id:12ef0000002b,api:3,p:4847,c:4847) detachBuffer: slot 33 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.632 4847-6050/com.google.android.exoplayer2.demo E/BufferQueueProducer: [SurfaceView[com.google.android.exoplayer2.demo/com.google.android.exoplayer2.demo.PlayerActivity]#28(BLAST Consumer)28](id:12ef0000002b,api:3,p:4847,c:4847) detachBuffer: slot 34 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.633 4847-6050/com.google.android.exoplayer2.demo E/BufferQueueProducer: [SurfaceView[com.google.android.exoplayer2.demo/com.google.android.exoplayer2.demo.PlayerActivity]#28(BLAST Consumer)28](id:12ef0000002b,api:3,p:4847,c:4847) detachBuffer: slot 35 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.633 4847-6050/com.google.android.exoplayer2.demo E/BufferQueueProducer: [SurfaceView[com.google.android.exoplayer2.demo/com.google.android.exoplayer2.demo.PlayerActivity]#28(BLAST Consumer)28](id:12ef0000002b,api:3,p:4847,c:4847) detachBuffer: slot 36 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.633 4847-6050/com.google.android.exoplayer2.demo E/BufferQueueProducer: [SurfaceView[com.google.android.exoplayer2.demo/com.google.android.exoplayer2.demo.PlayerActivity]#28(BLAST Consumer)28](id:12ef0000002b,api:3,p:4847,c:4847) detachBuffer: slot 37 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.634 4847-6050/com.google.android.exoplayer2.demo E/BufferQueueProducer: [SurfaceView[com.google.android.exoplayer2.demo/com.google.android.exoplayer2.demo.PlayerActivity]#28(BLAST Consumer)28](id:12ef0000002b,api:3,p:4847,c:4847) detachBuffer: slot 38 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.635 4847-6050/com.google.android.exoplayer2.demo E/BufferQueueProducer: [SurfaceView[com.google.android.exoplayer2.demo/com.google.android.exoplayer2.demo.PlayerActivity]#28(BLAST Consumer)28](id:12ef0000002b,api:3,p:4847,c:4847) detachBuffer: slot 39 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.635 4847-6050/com.google.android.exoplayer2.demo E/BufferQueueProducer: [SurfaceView[com.google.android.exoplayer2.demo/com.google.android.exoplayer2.demo.PlayerActivity]#28(BLAST Consumer)28](id:12ef0000002b,api:3,p:4847,c:4847) detachBuffer: slot 40 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.636 4847-6050/com.google.android.exoplayer2.demo E/BufferQueueProducer: [SurfaceView[com.google.android.exoplayer2.demo/com.google.android.exoplayer2.demo.PlayerActivity]#28(BLAST Consumer)28](id:12ef0000002b,api:3,p:4847,c:4847) detachBuffer: slot 41 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.636 4847-6050/com.google.android.exoplayer2.demo E/BufferQueueProducer: [SurfaceView[com.google.android.exoplayer2.demo/com.google.android.exoplayer2.demo.PlayerActivity]#28(BLAST Consumer)28](id:12ef0000002b,api:3,p:4847,c:4847) detachBuffer: slot 42 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.637 4847-6050/com.google.android.exoplayer2.demo E/BufferQueueProducer: [SurfaceView[com.google.android.exoplayer2.demo/com.google.android.exoplayer2.demo.PlayerActivity]#28(BLAST Consumer)28](id:12ef0000002b,api:3,p:4847,c:4847) detachBuffer: slot 43 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.637 4847-6050/com.google.android.exoplayer2.demo E/BufferQueueProducer: [SurfaceView[com.google.android.exoplayer2.demo/com.google.android.exoplayer2.demo.PlayerActivity]#28(BLAST Consumer)28](id:12ef0000002b,api:3,p:4847,c:4847) detachBuffer: slot 44 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.639 4847-6050/com.google.android.exoplayer2.demo E/BufferQueueProducer: [SurfaceView[com.google.android.exoplayer2.demo/com.google.android.exoplayer2.demo.PlayerActivity]#28(BLAST Consumer)28](id:12ef0000002b,api:3,p:4847,c:4847) detachBuffer: slot 45 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.640 4847-6050/com.google.android.exoplayer2.demo E/BufferQueueProducer: [SurfaceView[com.google.android.exoplayer2.demo/com.google.android.exoplayer2.demo.PlayerActivity]#28(BLAST Consumer)28](id:12ef0000002b,api:3,p:4847,c:4847) detachBuffer: slot 46 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.641 4847-6050/com.google.android.exoplayer2.demo E/BufferQueueProducer: [SurfaceView[com.google.android.exoplayer2.demo/com.google.android.exoplayer2.demo.PlayerActivity]#28(BLAST Consumer)28](id:12ef0000002b,api:3,p:4847,c:4847) detachBuffer: slot 47 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.641 4847-6050/com.google.android.exoplayer2.demo E/BufferQueueProducer: [SurfaceView[com.google.android.exoplayer2.demo/com.google.android.exoplayer2.demo.PlayerActivity]#28(BLAST Consumer)28](id:12ef0000002b,api:3,p:4847,c:4847) detachBuffer: slot 48 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.642 4847-6050/com.google.android.exoplayer2.demo E/BufferQueueProducer: [SurfaceView[com.google.android.exoplayer2.demo/com.google.android.exoplayer2.demo.PlayerActivity]#28(BLAST Consumer)28](id:12ef0000002b,api:3,p:4847,c:4847) detachBuffer: slot 49 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.643 4847-6050/com.google.android.exoplayer2.demo E/BufferQueueProducer: [SurfaceView[com.google.android.exoplayer2.demo/com.google.android.exoplayer2.demo.PlayerActivity]#28(BLAST Consumer)28](id:12ef0000002b,api:3,p:4847,c:4847) detachBuffer: slot 50 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.643 4847-6050/com.google.android.exoplayer2.demo E/BufferQueueProducer: [SurfaceView[com.google.android.exoplayer2.demo/com.google.android.exoplayer2.demo.PlayerActivity]#28(BLAST Consumer)28](id:12ef0000002b,api:3,p:4847,c:4847) detachBuffer: slot 51 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.644 4847-6050/com.google.android.exoplayer2.demo E/BufferQueueProducer: [SurfaceView[com.google.android.exoplayer2.demo/com.google.android.exoplayer2.demo.PlayerActivity]#28(BLAST Consumer)28](id:12ef0000002b,api:3,p:4847,c:4847) detachBuffer: slot 52 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.644 4847-6050/com.google.android.exoplayer2.demo E/BufferQueueProducer: [SurfaceView[com.google.android.exoplayer2.demo/com.google.android.exoplayer2.demo.PlayerActivity]#28(BLAST Consumer)28](id:12ef0000002b,api:3,p:4847,c:4847) detachBuffer: slot 53 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.644 4847-6050/com.google.android.exoplayer2.demo E/BufferQueueProducer: [SurfaceView[com.google.android.exoplayer2.demo/com.google.android.exoplayer2.demo.PlayerActivity]#28(BLAST Consumer)28](id:12ef0000002b,api:3,p:4847,c:4847) detachBuffer: slot 54 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.645 4847-6050/com.google.android.exoplayer2.demo E/BufferQueueProducer: [SurfaceView[com.google.android.exoplayer2.demo/com.google.android.exoplayer2.demo.PlayerActivity]#28(BLAST Consumer)28](id:12ef0000002b,api:3,p:4847,c:4847) detachBuffer: slot 55 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.645 4847-6050/com.google.android.exoplayer2.demo E/BufferQueueProducer: [SurfaceView[com.google.android.exoplayer2.demo/com.google.android.exoplayer2.demo.PlayerActivity]#28(BLAST Consumer)28](id:12ef0000002b,api:3,p:4847,c:4847) detachBuffer: slot 56 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.646 4847-6050/com.google.android.exoplayer2.demo E/BufferQueueProducer: [SurfaceView[com.google.android.exoplayer2.demo/com.google.android.exoplayer2.demo.PlayerActivity]#28(BLAST Consumer)28](id:12ef0000002b,api:3,p:4847,c:4847) detachBuffer: slot 57 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.647 4847-6050/com.google.android.exoplayer2.demo E/BufferQueueProducer: [SurfaceView[com.google.android.exoplayer2.demo/com.google.android.exoplayer2.demo.PlayerActivity]#28(BLAST Consumer)28](id:12ef0000002b,api:3,p:4847,c:4847) detachBuffer: slot 58 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.647 4847-6050/com.google.android.exoplayer2.demo E/BufferQueueProducer: [SurfaceView[com.google.android.exoplayer2.demo/com.google.android.exoplayer2.demo.PlayerActivity]#28(BLAST Consumer)28](id:12ef0000002b,api:3,p:4847,c:4847) detachBuffer: slot 59 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.647 4847-6050/com.google.android.exoplayer2.demo E/BufferQueueProducer: [SurfaceView[com.google.android.exoplayer2.demo/com.google.android.exoplayer2.demo.PlayerActivity]#28(BLAST Consumer)28](id:12ef0000002b,api:3,p:4847,c:4847) detachBuffer: slot 60 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.648 4847-6050/com.google.android.exoplayer2.demo E/BufferQueueProducer: [SurfaceView[com.google.android.exoplayer2.demo/com.google.android.exoplayer2.demo.PlayerActivity]#28(BLAST Consumer)28](id:12ef0000002b,api:3,p:4847,c:4847) detachBuffer: slot 61 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.648 4847-6050/com.google.android.exoplayer2.demo E/BufferQueueProducer: [SurfaceView[com.google.android.exoplayer2.demo/com.google.android.exoplayer2.demo.PlayerActivity]#28(BLAST Consumer)28](id:12ef0000002b,api:3,p:4847,c:4847) detachBuffer: slot 62 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.649 4847-6050/com.google.android.exoplayer2.demo E/BufferQueueProducer: [SurfaceView[com.google.android.exoplayer2.demo/com.google.android.exoplayer2.demo.PlayerActivity]#28(BLAST Consumer)28](id:12ef0000002b,api:3,p:4847,c:4847) detachBuffer: slot 63 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.651 4847-6050/com.google.android.exoplayer2.demo D/Codec2Client: Surface configure completed
2022-01-21 18:42:25.651 4847-6050/com.google.android.exoplayer2.demo D/SurfaceUtils: disconnecting from surface 0x70d4bfb750, reason disconnectFromSurface
2022-01-21 18:42:25.651 4847-6050/com.google.android.exoplayer2.demo D/CCodecBufferChannel: [c2.goldfish.h264.decoder#127] MediaCodec discarded an unknown buffer
2022-01-21 18:42:25.651 4847-6050/com.google.android.exoplayer2.demo D/CCodecBufferChannel: [c2.goldfish.h264.decoder#127] MediaCodec discarded an unknown buffer
2022-01-21 18:42:25.652 4847-6050/com.google.android.exoplayer2.demo D/CCodecBufferChannel: [c2.goldfish.h264.decoder#127] MediaCodec discarded an unknown buffer
2022-01-21 18:42:25.653 4847-6050/com.google.android.exoplayer2.demo D/CCodecBufferChannel: [c2.goldfish.h264.decoder#127] MediaCodec discarded an unknown buffer
2022-01-21 18:42:25.657 4847-6053/com.google.android.exoplayer2.demo I/hw-BpHwBinder: onLastStrongRef automatically unlinking death recipients
2022-01-21 18:42:25.658 4847-4954/com.google.android.exoplayer2.demo E/BufferQueueProducer: [MediaCodec.release](id:12ef0000002c,api:3,p:4847,c:4847) detachBuffer: slot 0 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.659 4847-4954/com.google.android.exoplayer2.demo E/BufferQueueProducer: [MediaCodec.release](id:12ef0000002c,api:3,p:4847,c:4847) detachBuffer: slot 1 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.659 4847-4954/com.google.android.exoplayer2.demo E/BufferQueueProducer: [MediaCodec.release](id:12ef0000002c,api:3,p:4847,c:4847) detachBuffer: slot 2 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.659 4847-4954/com.google.android.exoplayer2.demo E/BufferQueueProducer: [MediaCodec.release](id:12ef0000002c,api:3,p:4847,c:4847) detachBuffer: slot 3 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.659 4847-4954/com.google.android.exoplayer2.demo E/BufferQueueProducer: [MediaCodec.release](id:12ef0000002c,api:3,p:4847,c:4847) detachBuffer: slot 4 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.659 4847-4954/com.google.android.exoplayer2.demo E/BufferQueueProducer: [MediaCodec.release](id:12ef0000002c,api:3,p:4847,c:4847) detachBuffer: slot 5 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.659 4847-4954/com.google.android.exoplayer2.demo E/BufferQueueProducer: [MediaCodec.release](id:12ef0000002c,api:3,p:4847,c:4847) detachBuffer: slot 6 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.659 4847-4954/com.google.android.exoplayer2.demo E/BufferQueueProducer: [MediaCodec.release](id:12ef0000002c,api:3,p:4847,c:4847) detachBuffer: slot 7 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.660 4847-4954/com.google.android.exoplayer2.demo E/BufferQueueProducer: [MediaCodec.release](id:12ef0000002c,api:3,p:4847,c:4847) detachBuffer: slot 8 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.660 4847-4954/com.google.android.exoplayer2.demo E/BufferQueueProducer: [MediaCodec.release](id:12ef0000002c,api:3,p:4847,c:4847) detachBuffer: slot 9 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.660 4847-4954/com.google.android.exoplayer2.demo E/BufferQueueProducer: [MediaCodec.release](id:12ef0000002c,api:3,p:4847,c:4847) detachBuffer: slot 10 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.660 4847-4954/com.google.android.exoplayer2.demo E/BufferQueueProducer: [MediaCodec.release](id:12ef0000002c,api:3,p:4847,c:4847) detachBuffer: slot 11 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.660 4847-4954/com.google.android.exoplayer2.demo E/BufferQueueProducer: [MediaCodec.release](id:12ef0000002c,api:3,p:4847,c:4847) detachBuffer: slot 12 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.660 4847-4954/com.google.android.exoplayer2.demo E/BufferQueueProducer: [MediaCodec.release](id:12ef0000002c,api:3,p:4847,c:4847) detachBuffer: slot 13 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.660 4847-4954/com.google.android.exoplayer2.demo E/BufferQueueProducer: [MediaCodec.release](id:12ef0000002c,api:3,p:4847,c:4847) detachBuffer: slot 14 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.660 4847-4954/com.google.android.exoplayer2.demo E/BufferQueueProducer: [MediaCodec.release](id:12ef0000002c,api:3,p:4847,c:4847) detachBuffer: slot 15 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.660 4847-4954/com.google.android.exoplayer2.demo E/BufferQueueProducer: [MediaCodec.release](id:12ef0000002c,api:3,p:4847,c:4847) detachBuffer: slot 16 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.660 4847-4954/com.google.android.exoplayer2.demo E/BufferQueueProducer: [MediaCodec.release](id:12ef0000002c,api:3,p:4847,c:4847) detachBuffer: slot 17 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.660 4847-4954/com.google.android.exoplayer2.demo E/BufferQueueProducer: [MediaCodec.release](id:12ef0000002c,api:3,p:4847,c:4847) detachBuffer: slot 18 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.660 4847-4954/com.google.android.exoplayer2.demo E/BufferQueueProducer: [MediaCodec.release](id:12ef0000002c,api:3,p:4847,c:4847) detachBuffer: slot 19 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.660 4847-4954/com.google.android.exoplayer2.demo E/BufferQueueProducer: [MediaCodec.release](id:12ef0000002c,api:3,p:4847,c:4847) detachBuffer: slot 20 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.660 4847-4954/com.google.android.exoplayer2.demo E/BufferQueueProducer: [MediaCodec.release](id:12ef0000002c,api:3,p:4847,c:4847) detachBuffer: slot 21 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.660 4847-4954/com.google.android.exoplayer2.demo E/BufferQueueProducer: [MediaCodec.release](id:12ef0000002c,api:3,p:4847,c:4847) detachBuffer: slot 22 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.660 4847-4954/com.google.android.exoplayer2.demo E/BufferQueueProducer: [MediaCodec.release](id:12ef0000002c,api:3,p:4847,c:4847) detachBuffer: slot 23 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.660 4847-4954/com.google.android.exoplayer2.demo E/BufferQueueProducer: [MediaCodec.release](id:12ef0000002c,api:3,p:4847,c:4847) detachBuffer: slot 24 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.660 4847-4954/com.google.android.exoplayer2.demo E/BufferQueueProducer: [MediaCodec.release](id:12ef0000002c,api:3,p:4847,c:4847) detachBuffer: slot 25 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.660 4847-4954/com.google.android.exoplayer2.demo E/BufferQueueProducer: [MediaCodec.release](id:12ef0000002c,api:3,p:4847,c:4847) detachBuffer: slot 26 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.660 4847-4954/com.google.android.exoplayer2.demo E/BufferQueueProducer: [MediaCodec.release](id:12ef0000002c,api:3,p:4847,c:4847) detachBuffer: slot 27 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.660 4847-4954/com.google.android.exoplayer2.demo E/BufferQueueProducer: [MediaCodec.release](id:12ef0000002c,api:3,p:4847,c:4847) detachBuffer: slot 28 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.660 4847-4954/com.google.android.exoplayer2.demo E/BufferQueueProducer: [MediaCodec.release](id:12ef0000002c,api:3,p:4847,c:4847) detachBuffer: slot 29 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.660 4847-4954/com.google.android.exoplayer2.demo E/BufferQueueProducer: [MediaCodec.release](id:12ef0000002c,api:3,p:4847,c:4847) detachBuffer: slot 30 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.660 4847-4954/com.google.android.exoplayer2.demo E/BufferQueueProducer: [MediaCodec.release](id:12ef0000002c,api:3,p:4847,c:4847) detachBuffer: slot 31 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.660 4847-4954/com.google.android.exoplayer2.demo E/BufferQueueProducer: [MediaCodec.release](id:12ef0000002c,api:3,p:4847,c:4847) detachBuffer: slot 32 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.660 4847-4954/com.google.android.exoplayer2.demo E/BufferQueueProducer: [MediaCodec.release](id:12ef0000002c,api:3,p:4847,c:4847) detachBuffer: slot 33 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.661 4847-4954/com.google.android.exoplayer2.demo E/BufferQueueProducer: [MediaCodec.release](id:12ef0000002c,api:3,p:4847,c:4847) detachBuffer: slot 34 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.661 4847-4954/com.google.android.exoplayer2.demo E/BufferQueueProducer: [MediaCodec.release](id:12ef0000002c,api:3,p:4847,c:4847) detachBuffer: slot 35 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.661 4847-4954/com.google.android.exoplayer2.demo E/BufferQueueProducer: [MediaCodec.release](id:12ef0000002c,api:3,p:4847,c:4847) detachBuffer: slot 36 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.661 4847-4954/com.google.android.exoplayer2.demo E/BufferQueueProducer: [MediaCodec.release](id:12ef0000002c,api:3,p:4847,c:4847) detachBuffer: slot 37 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.661 4847-4954/com.google.android.exoplayer2.demo E/BufferQueueProducer: [MediaCodec.release](id:12ef0000002c,api:3,p:4847,c:4847) detachBuffer: slot 38 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.661 4847-4954/com.google.android.exoplayer2.demo E/BufferQueueProducer: [MediaCodec.release](id:12ef0000002c,api:3,p:4847,c:4847) detachBuffer: slot 39 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.661 4847-4954/com.google.android.exoplayer2.demo E/BufferQueueProducer: [MediaCodec.release](id:12ef0000002c,api:3,p:4847,c:4847) detachBuffer: slot 40 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.661 4847-4954/com.google.android.exoplayer2.demo E/BufferQueueProducer: [MediaCodec.release](id:12ef0000002c,api:3,p:4847,c:4847) detachBuffer: slot 41 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.661 4847-4954/com.google.android.exoplayer2.demo E/BufferQueueProducer: [MediaCodec.release](id:12ef0000002c,api:3,p:4847,c:4847) detachBuffer: slot 42 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.661 4847-4954/com.google.android.exoplayer2.demo E/BufferQueueProducer: [MediaCodec.release](id:12ef0000002c,api:3,p:4847,c:4847) detachBuffer: slot 43 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.661 4847-4954/com.google.android.exoplayer2.demo E/BufferQueueProducer: [MediaCodec.release](id:12ef0000002c,api:3,p:4847,c:4847) detachBuffer: slot 44 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.661 4847-4954/com.google.android.exoplayer2.demo E/BufferQueueProducer: [MediaCodec.release](id:12ef0000002c,api:3,p:4847,c:4847) detachBuffer: slot 45 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.661 4847-4954/com.google.android.exoplayer2.demo E/BufferQueueProducer: [MediaCodec.release](id:12ef0000002c,api:3,p:4847,c:4847) detachBuffer: slot 46 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.662 4847-4954/com.google.android.exoplayer2.demo E/BufferQueueProducer: [MediaCodec.release](id:12ef0000002c,api:3,p:4847,c:4847) detachBuffer: slot 47 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.662 4847-4954/com.google.android.exoplayer2.demo E/BufferQueueProducer: [MediaCodec.release](id:12ef0000002c,api:3,p:4847,c:4847) detachBuffer: slot 48 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.662 4847-4954/com.google.android.exoplayer2.demo E/BufferQueueProducer: [MediaCodec.release](id:12ef0000002c,api:3,p:4847,c:4847) detachBuffer: slot 49 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.662 4847-4954/com.google.android.exoplayer2.demo E/BufferQueueProducer: [MediaCodec.release](id:12ef0000002c,api:3,p:4847,c:4847) detachBuffer: slot 50 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.662 4847-4954/com.google.android.exoplayer2.demo E/BufferQueueProducer: [MediaCodec.release](id:12ef0000002c,api:3,p:4847,c:4847) detachBuffer: slot 51 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.662 4847-4954/com.google.android.exoplayer2.demo E/BufferQueueProducer: [MediaCodec.release](id:12ef0000002c,api:3,p:4847,c:4847) detachBuffer: slot 52 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.662 4847-4954/com.google.android.exoplayer2.demo E/BufferQueueProducer: [MediaCodec.release](id:12ef0000002c,api:3,p:4847,c:4847) detachBuffer: slot 53 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.662 4847-4954/com.google.android.exoplayer2.demo E/BufferQueueProducer: [MediaCodec.release](id:12ef0000002c,api:3,p:4847,c:4847) detachBuffer: slot 54 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.662 4847-4954/com.google.android.exoplayer2.demo E/BufferQueueProducer: [MediaCodec.release](id:12ef0000002c,api:3,p:4847,c:4847) detachBuffer: slot 55 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.662 4847-4954/com.google.android.exoplayer2.demo E/BufferQueueProducer: [MediaCodec.release](id:12ef0000002c,api:3,p:4847,c:4847) detachBuffer: slot 56 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.663 4847-4954/com.google.android.exoplayer2.demo E/BufferQueueProducer: [MediaCodec.release](id:12ef0000002c,api:3,p:4847,c:4847) detachBuffer: slot 57 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.663 4847-4954/com.google.android.exoplayer2.demo E/BufferQueueProducer: [MediaCodec.release](id:12ef0000002c,api:3,p:4847,c:4847) detachBuffer: slot 58 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.664 4847-4954/com.google.android.exoplayer2.demo E/BufferQueueProducer: [MediaCodec.release](id:12ef0000002c,api:3,p:4847,c:4847) detachBuffer: slot 59 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.664 4847-4954/com.google.android.exoplayer2.demo E/BufferQueueProducer: [MediaCodec.release](id:12ef0000002c,api:3,p:4847,c:4847) detachBuffer: slot 60 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.664 4847-4954/com.google.android.exoplayer2.demo E/BufferQueueProducer: [MediaCodec.release](id:12ef0000002c,api:3,p:4847,c:4847) detachBuffer: slot 61 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.664 4847-4954/com.google.android.exoplayer2.demo E/BufferQueueProducer: [MediaCodec.release](id:12ef0000002c,api:3,p:4847,c:4847) detachBuffer: slot 62 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.664 4847-4954/com.google.android.exoplayer2.demo E/BufferQueueProducer: [MediaCodec.release](id:12ef0000002c,api:3,p:4847,c:4847) detachBuffer: slot 63 is not owned by the producer (state = FREE)
2022-01-21 18:42:25.666 4847-4847/com.google.android.exoplayer2.demo D/EventLogger: videoDecoderReleased [eventTime=0.18, mediaPos=0.00, window=0, period=0, c2.goldfish.h264.decoder]
2022-01-21 18:42:25.669 4847-4847/com.google.android.exoplayer2.demo E/EventLogger: playerFailed [eventTime=0.19, mediaPos=0.00, window=0, period=0
      com.google.android.exoplayer2.ExoPlaybackException: Source error
        at com.google.android.exoplayer2.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:580)
        at android.os.Handler.dispatchMessage(Handler.java:102)
        at android.os.Looper.loopOnce(Looper.java:201)
        at android.os.Looper.loop(Looper.java:288)
        at android.os.HandlerThread.run(HandlerThread.java:67)
     Caused by: com.google.android.exoplayer2.source.rtsp.RtspMediaSource$RtspPlaybackException: SETUP 461
        at com.google.android.exoplayer2.source.rtsp.RtspClient$MessageListener.onRtspMessageReceived(RtspClient.java:368)
        at com.google.android.exoplayer2.source.rtsp.RtspMessageChannel$Receiver.lambda$handleRtspMessage$0$RtspMessageChannel$Receiver(RtspMessageChannel.java:291)
        at com.google.android.exoplayer2.source.rtsp.-$$Lambda$RtspMessageChannel$Receiver$frEfu1WfqENR1_7bFfrua9iV9BY.run(Unknown Source:4)
        at android.os.Handler.handleCallback(Handler.java:938)
        at android.os.Handler.dispatchMessage(Handler.java:99)
        at android.os.Looper.loopOnce(Looper.java:201) 
        at android.os.Looper.loop(Looper.java:288) 
        at android.os.HandlerThread.run(HandlerThread.java:67) 
    ]
2022-01-21 18:42:25.671 4847-6050/com.google.android.exoplayer2.demo D/SurfaceUtils: disconnecting from surface 0x70d4bf5120, reason disconnectFromSurface
2022-01-21 18:42:25.673 4847-4847/com.google.android.exoplayer2.demo D/EventLogger: loading [eventTime=0.19, mediaPos=0.00, window=0, period=0, false]
2022-01-21 18:42:25.673 4847-4847/com.google.android.exoplayer2.demo D/EventLogger: state [eventTime=0.19, mediaPos=0.00, window=0, period=0, IDLE]
2022-01-21 18:42:25.957 4847-4904/com.google.android.exoplayer2.demo D/OpenGLRenderer: endAllActiveAnimators on 0x7064be5800 (ExpandableListView) with handle 0x6f74c32bd0
2022-01-21 18:42:27.709 4847-4904/com.google.android.exoplayer2.demo D/EGL_emulation: app_time_stats: avg=136.30ms min=9.28ms max=1017.21ms count=16
2022-01-21 18:42:28.709 4847-4904/com.google.android.exoplayer2.demo D/EGL_emulation: app_time_stats: avg=1000.09ms min=1000.09ms max=1000.09ms count=1

@beroso
Copy link
Author

beroso commented Jan 21, 2022

Update: I enabled debug mode on the server, and it produced the following output when try to play using Exoplayer:

2022/01/21 23:56:48 INF [RTSP] [conn 172.17.0.1:57642] opened
2022/01/21 23:56:48 DEB [RTSP] [conn 172.17.0.1:57642] [c->s] OPTIONS rtsp://192.168.40.113:8554/cam RTSP/1.0
CSeq: 0
User-Agent: ExoPlayerLib/2.14.0


2022/01/21 23:56:48 DEB [RTSP] [conn 172.17.0.1:57642] [s->c] RTSP/1.0 200 OK
CSeq: 0
Public: DESCRIBE, ANNOUNCE, SETUP, PLAY, RECORD, PAUSE, GET_PARAMETER, TEARDOWN
Server: gortsplib


2022/01/21 23:56:48 DEB [RTSP] [conn 172.17.0.1:57642] [c->s] DESCRIBE rtsp://192.168.40.113:8554/cam RTSP/1.0
CSeq: 1
User-Agent: ExoPlayerLib/2.14.0


2022/01/21 23:56:48 DEB [RTSP] [conn 172.17.0.1:57642] [s->c] RTSP/1.0 200 OK
CSeq: 1
Content-Base: rtsp://192.168.40.113:8554/cam/
Content-Length: 264
Content-Type: application/sdp
Server: gortsplib

v=0
o=- 0 0 IN IP4 127.0.0.1
s=Stream
c=IN IP4 0.0.0.0
t=0 0
m=video 0 RTP/AVP 96
b=AS:600
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1; sprop-parameter-sets=Z3oAHry0BQHtCAAAAwAIAAADAeR4sXU=,aM48gA==; profile-level-id=7A001E
a=control:trackID=0

2022/01/21 23:56:48 DEB [RTSP] [conn 172.17.0.1:57642] [c->s] SETUP rtsp://192.168.40.113:8554/cam/trackID=0 RTSP/1.0
CSeq: 2
Transport: RTP/AVP;unicast;client_port=40860-40861
User-Agent: ExoPlayerLib/2.14.0


2022/01/21 23:56:48 INF [RTSP] [session 683873552] opened by 172.17.0.1:57642
2022/01/21 23:56:48 DEB [RTSP] [conn 172.17.0.1:57642] [s->c] RTSP/1.0 461 Unsupported Transport
CSeq: 2
Server: gortsplib


2022/01/21 23:56:48 INF [RTSP] [conn 172.17.0.1:57642] closed (EOF)

@beroso
Copy link
Author

beroso commented Jan 22, 2022

I opened a discussion here and it was answered.
The player was trying to use the UDP transport and it was disabled on the server. It worked after enabling UDP transport on server.

@beroso beroso closed this as completed Jan 22, 2022
@ojw28 ojw28 removed the needs triage label Mar 6, 2022
@google google locked and limited conversation to collaborators Mar 24, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants