Open StewardH opened 2 years ago
Can you confirm if you are using repeat mode, like playing back the same bigbuckbunny stream after one is done? It doesn't seem so from your code, I guess "freeze after a long time" refers to when testing with other streams?
As for the transition to the ended state, the current player implementation transitions into the ended state if no data is received for more than eight seconds, this coincides with your observation that this happens mostly in poor network environments. You can change this behaviour by using RtspMediaSource.Factory.setTimeoutMs
.
Clancy you are right. The bigbuckbunny stream was tested without repeat ( Player.REPEAT_MODE_ONE ). If you set it for repeat it will still freeze after isLoading changes to false but will never go to STATE_ENDED. I have also tested it on a live stream/never ending stream, and it does the same even when there is no network congestion: the stream source, the server, the network router and the client that runs ExoPlayer are all in the same room.
Unfortunately when I tested it on the live stream the audio and the video were out of sync: the audio was 3s ahead of the video on RTSP over TCP and 5s ahead of the video while doing RTSP over UDP.
I have tested the bigbuckbunny stream by setting a 5 min timeout: setTimeoutMs(300000) as suggested and it ended with the same isLoading false however this time there are some Audio sink errors ahead of that event. So it seems like the audio-video sync is a common issue. Here is the output:
E/MediaCodecAudioRenderer: Audio sink error com.google.android.exoplayer2.audio.AudioSink$UnexpectedDiscontinuityException: Unexpected audio track timestamp discontinuity: expected 1000421376000, got 1000439552000 at com.google.android.exoplayer2.audio.DefaultAudioSink.handleBuffer(DefaultAudioSink.java:802) at com.google.android.exoplayer2.audio.MediaCodecAudioRenderer.processOutputBuffer(MediaCodecAudioRenderer.java:639) at com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.drainOutputBuffer(MediaCodecRenderer.java:1839) at com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.render(MediaCodecRenderer.java:778) at com.google.android.exoplayer2.ExoPlayerImplInternal.doSomeWork(ExoPlayerImplInternal.java:982) at com.google.android.exoplayer2.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:486) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:246) at android.os.HandlerThread.run(HandlerThread.java:67) D/CCodecBufferChannel: [c2.android.aac.decoder#119] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/CCodecBufferChannel: [c2.android.aac.decoder#353] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/BufferPoolAccessor2.0: bufferpool2 0xb40000727de05278 : 4(32768 size) total buffers - 4(32768 size) used buffers - 1/6 (recycle/alloc) - 81/4963 (fetch/transfer) D/CCodecBuffers: [c2.android.aac.decoder#353:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/RtspClient: RTSP/1.0 200 OK CSeq: 19 Server: Wowza Streaming Engine 4.8.10 build20210217143515 Cache-Control: no-cache Public: DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, OPTIONS, ANNOUNCE, RECORD, GET_PARAMETER Supported: play.basic, con.persistent Session: 199260817;timeout=60 D/RtspClient: RTSP/1.0 200 OK CSeq: 19 Server: Wowza Streaming Engine 4.8.10 build20210217143515 Cache-Control: no-cache Public: DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, OPTIONS, ANNOUNCE, RECORD, GET_PARAMETER Supported: play.basic, con.persistent Session: 516661232;timeout=60 D/CCodecBufferChannel: [c2.android.aac.decoder#119] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/CCodecBufferChannel: [c2.android.aac.decoder#353] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/CCodecBuffers: [c2.android.aac.decoder#353:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/CCodecBuffers: [c2.android.aac.decoder#119:1D-Input.Impl[N]] codec released a buffer owned by client (index 1) D/BufferPoolAccessor2.0: bufferpool2 0xb40000727de1a8b8 : 4(32768 size) total buffers - 4(32768 size) used buffers - 1/6 (recycle/alloc) - 101/5260 (fetch/transfer) D/CCodecBufferChannel: [c2.android.aac.decoder#119] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/CCodecBufferChannel: [c2.android.aac.decoder#353] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/BufferPoolAccessor2.0: bufferpool2 0xb40000727de05278 : 4(32768 size) total buffers - 4(32768 size) used buffers - 1/6 (recycle/alloc) - 82/5031 (fetch/transfer) D/CCodecBuffers: [c2.android.aac.decoder#119:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/CCodecBuffers: [c2.android.aac.decoder#119:1D-Input.Impl[N]] codec released a buffer owned by client (index 1) D/CCodecBuffers: [c2.android.aac.decoder#119:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/CCodecBuffers: [c2.android.aac.decoder#119:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/CCodecBuffers: [c2.android.aac.decoder#353:1D-Input.Impl[N]] codec released a buffer owned by client (index 1) D/CCodecBuffers: [c2.android.aac.decoder#119:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/CCodecBuffers: [c2.android.aac.decoder#353:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/CCodecBufferChannel: [c2.android.aac.decoder#119] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/CCodecBufferChannel: [c2.android.aac.decoder#353] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/BufferPoolAccessor2.0: bufferpool2 0xb40000727de1a8b8 : 4(32768 size) total buffers - 4(32768 size) used buffers - 1/6 (recycle/alloc) - 101/5322 (fetch/transfer) D/CCodecBuffers: [c2.android.aac.decoder#119:1D-Input.Impl[N]] codec released a buffer owned by client (index 1) D/BufferPoolAccessor2.0: bufferpool2 0xb40000727de05278 : 4(32768 size) total buffers - 4(32768 size) used buffers - 1/6 (recycle/alloc) - 83/5091 (fetch/transfer) D/CCodecBuffers: [c2.android.aac.decoder#119:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/CCodecBufferChannel: [c2.android.aac.decoder#119] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/CCodecBufferChannel: [c2.android.aac.decoder#353] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/CCodecBuffers: [c2.android.aac.decoder#353:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/CCodecBuffers: [c2.android.aac.decoder#119:1D-Input.Impl[N]] codec released a buffer owned by client (index 1) D/BufferPoolAccessor2.0: bufferpool2 0xb40000727de1a8b8 : 4(32768 size) total buffers - 4(32768 size) used buffers - 1/6 (recycle/alloc) - 102/5387 (fetch/transfer) D/CCodecBuffers: [c2.android.aac.decoder#119:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/CCodecBufferChannel: [c2.android.aac.decoder#119] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/CCodecBufferChannel: [c2.android.aac.decoder#353] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/BufferPoolAccessor2.0: bufferpool2 0xb40000727de05278 : 4(32768 size) total buffers - 4(32768 size) used buffers - 1/6 (recycle/alloc) - 84/5153 (fetch/transfer) D/CCodecBuffers: [c2.android.aac.decoder#119:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/CCodecBufferChannel: [c2.android.aac.decoder#119] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/CCodecBufferChannel: [c2.android.aac.decoder#353] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/BufferPoolAccessor2.0: bufferpool2 0xb40000727de1a8b8 : 4(32768 size) total buffers - 4(32768 size) used buffers - 1/6 (recycle/alloc) - 103/5453 (fetch/transfer) D/CCodecBuffers: [c2.android.aac.decoder#353:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/CCodecBuffers: [c2.android.aac.decoder#119:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/BufferPoolAccessor2.0: bufferpool2 0xb40000727de05278 : 4(32768 size) total buffers - 4(32768 size) used buffers - 1/6 (recycle/alloc) - 86/5217 (fetch/transfer) D/CCodecBuffers: [c2.android.aac.decoder#353:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/CCodecBufferChannel: [c2.android.aac.decoder#119] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/CCodecBufferChannel: [c2.android.aac.decoder#353] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/CCodecBuffers: [c2.android.aac.decoder#353:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/RtspClient: OPTIONS rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mp4 RTSP/1.0 User-Agent: ExoPlayerLib/2.16.1 CSeq: 20 Session: 199260817 D/CCodecBuffers: [c2.android.aac.decoder#119:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/RtspClient: RTSP/1.0 200 OK CSeq: 20 Server: Wowza Streaming Engine 4.8.10 build20210217143515 Cache-Control: no-cache Public: DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, OPTIONS, ANNOUNCE, RECORD, GET_PARAMETER Supported: play.basic, con.persistent Session: 199260817;timeout=60 D/CCodecBuffers: [c2.android.aac.decoder#353:1D-Input.Impl[N]] codec released a buffer owned by client (index 1) D/CCodecBufferChannel: [c2.android.aac.decoder#119] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/CCodecBufferChannel: [c2.android.aac.decoder#353] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/BufferPoolAccessor2.0: bufferpool2 0xb40000727de1a8b8 : 4(32768 size) total buffers - 4(32768 size) used buffers - 1/6 (recycle/alloc) - 104/5517 (fetch/transfer) D/CCodecBuffers: [c2.android.aac.decoder#119:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/RtspClient: OPTIONS rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mp4 RTSP/1.0 User-Agent: ExoPlayerLib/2.16.1 CSeq: 20 Session: 516661232 D/RtspClient: RTSP/1.0 200 OK CSeq: 20 Server: Wowza Streaming Engine 4.8.10 build20210217143515 Cache-Control: no-cache Public: DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, OPTIONS, ANNOUNCE, RECORD, GET_PARAMETER Supported: play.basic, con.persistent Session: 516661232;timeout=60 D/BufferPoolAccessor2.0: bufferpool2 0xb40000727de05278 : 4(32768 size) total buffers - 4(32768 size) used buffers - 1/6 (recycle/alloc) - 87/5277 (fetch/transfer) D/CCodecBuffers: [c2.android.aac.decoder#119:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/CCodecBuffers: [c2.android.aac.decoder#353:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/CCodecBuffers: [c2.android.aac.decoder#119:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/CCodecBuffers: [c2.android.aac.decoder#119:1D-Input.Impl[N]] codec released a buffer owned by client (index 1) D/CCodecBufferChannel: [c2.android.aac.decoder#119] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/CCodecBufferChannel: [c2.android.aac.decoder#353] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/CCodecBuffers: [c2.android.aac.decoder#119:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/BufferPoolAccessor2.0: bufferpool2 0xb40000727de1a8b8 : 4(32768 size) total buffers - 4(32768 size) used buffers - 1/6 (recycle/alloc) - 105/5577 (fetch/transfer) D/CCodecBuffers: [c2.android.aac.decoder#353:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/CCodecBuffers: [c2.android.aac.decoder#119:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/BufferPoolAccessor2.0: bufferpool2 0xb40000727de05278 : 4(32768 size) total buffers - 4(32768 size) used buffers - 1/6 (recycle/alloc) - 87/5344 (fetch/transfer) D/CCodecBufferChannel: [c2.android.aac.decoder#119] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/CCodecBufferChannel: [c2.android.aac.decoder#353] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/CCodecBuffers: [c2.android.aac.decoder#119:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/CCodecBufferChannel: [c2.android.aac.decoder#119] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/CCodecBufferChannel: [c2.android.aac.decoder#353] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/CCodecBuffers: [c2.android.aac.decoder#119:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/BufferPoolAccessor2.0: bufferpool2 0xb40000727de1a8b8 : 4(32768 size) total buffers - 4(32768 size) used buffers - 1/6 (recycle/alloc) - 106/5642 (fetch/transfer) D/CCodecBuffers: [c2.android.aac.decoder#353:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/BufferPoolAccessor2.0: bufferpool2 0xb40000727de05278 : 4(32768 size) total buffers - 4(32768 size) used buffers - 1/6 (recycle/alloc) - 87/5407 (fetch/transfer) D/CCodecBufferChannel: [c2.android.aac.decoder#119] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/CCodecBufferChannel: [c2.android.aac.decoder#353] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/CCodecBuffers: [c2.android.aac.decoder#353:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/CCodecBuffers: [c2.android.aac.decoder#119:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/BufferPoolAccessor2.0: bufferpool2 0xb40000727de1a8b8 : 4(32768 size) total buffers - 4(32768 size) used buffers - 1/6 (recycle/alloc) - 108/5704 (fetch/transfer) D/CCodecBuffers: [c2.android.aac.decoder#353:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/CCodecBuffers: [c2.android.aac.decoder#353:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/CCodecBufferChannel: [c2.android.aac.decoder#119] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/CCodecBufferChannel: [c2.android.aac.decoder#353] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/CCodecBuffers: [c2.android.aac.decoder#353:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/BufferPoolAccessor2.0: bufferpool2 0xb40000727de05278 : 4(32768 size) total buffers - 4(32768 size) used buffers - 1/6 (recycle/alloc) - 88/5472 (fetch/transfer) D/CCodecBuffers: [c2.android.aac.decoder#119:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/CCodecBuffers: [c2.android.aac.decoder#119:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/CCodecBuffers: [c2.android.aac.decoder#119:1D-Input.Impl[N]] codec released a buffer owned by client (index 1) D/CCodecBuffers: [c2.android.aac.decoder#119:1D-Input.Impl[N]] codec released a buffer owned by client (index 1) D/CCodecBufferChannel: [c2.android.aac.decoder#119] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/CCodecBufferChannel: [c2.android.aac.decoder#353] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/CCodecBuffers: [c2.android.aac.decoder#353:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/CCodecBuffers: [c2.android.aac.decoder#353:1D-Input.Impl[N]] codec released a buffer owned by client (index 1) D/CCodecBuffers: [c2.android.aac.decoder#353:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/BufferPoolAccessor2.0: bufferpool2 0xb40000727de1a8b8 : 4(32768 size) total buffers - 4(32768 size) used buffers - 1/6 (recycle/alloc) - 110/5767 (fetch/transfer) D/BufferPoolAccessor2.0: bufferpool2 0xb40000727de05278 : 4(32768 size) total buffers - 4(32768 size) used buffers - 1/6 (recycle/alloc) - 89/5532 (fetch/transfer) D/CCodecBuffers: [c2.android.aac.decoder#119:1D-Input.Impl[N]] codec released a buffer owned by client (index 1) D/CCodecBuffers: [c2.android.aac.decoder#353:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/CCodecBufferChannel: [c2.android.aac.decoder#119] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/CCodecBufferChannel: [c2.android.aac.decoder#353] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/CCodecBuffers: [c2.android.aac.decoder#353:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/CCodecBuffers: [c2.android.aac.decoder#353:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/CCodecBuffers: [c2.android.aac.decoder#353:1D-Input.Impl[N]] codec released a buffer owned by client (index 1) D/BufferPoolAccessor2.0: bufferpool2 0xb40000727de1a8b8 : 4(32768 size) total buffers - 4(32768 size) used buffers - 1/6 (recycle/alloc) - 111/5830 (fetch/transfer) D/CCodecBufferChannel: [c2.android.aac.decoder#119] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/CCodecBufferChannel: [c2.android.aac.decoder#353] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/BufferPoolAccessor2.0: bufferpool2 0xb40000727de05278 : 4(32768 size) total buffers - 4(32768 size) used buffers - 1/6 (recycle/alloc) - 90/5591 (fetch/transfer) D/RtspClient: OPTIONS rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mp4 RTSP/1.0 User-Agent: ExoPlayerLib/2.16.1 CSeq: 21 Session: 199260817 D/RtspClient: RTSP/1.0 200 OK CSeq: 21 Server: Wowza Streaming Engine 4.8.10 build20210217143515 Cache-Control: no-cache Public: DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, OPTIONS, ANNOUNCE, RECORD, GET_PARAMETER Supported: play.basic, con.persistent Session: 199260817;timeout=60 D/RtspClient: OPTIONS rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mp4 RTSP/1.0 User-Agent: ExoPlayerLib/2.16.1 CSeq: 21 Session: 516661232 D/RtspClient: RTSP/1.0 200 OK CSeq: 21 Server: Wowza Streaming Engine 4.8.10 build20210217143515 Cache-Control: no-cache Public: DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, OPTIONS, ANNOUNCE, RECORD, GET_PARAMETER Supported: play.basic, con.persistent Session: 516661232;timeout=60 D/CCodecBufferChannel: [c2.android.aac.decoder#119] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/CCodecBufferChannel: [c2.android.aac.decoder#353] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/CCodecBuffers: [c2.android.aac.decoder#353:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/CCodecBuffers: [c2.android.aac.decoder#119:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/BufferPoolAccessor2.0: bufferpool2 0xb40000727de1a8b8 : 4(32768 size) total buffers - 4(32768 size) used buffers - 1/6 (recycle/alloc) - 112/5894 (fetch/transfer) D/CCodecBuffers: [c2.android.aac.decoder#119:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/CCodecBuffers: [c2.android.aac.decoder#119:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/BufferPoolAccessor2.0: bufferpool2 0xb40000727de05278 : 4(32768 size) total buffers - 4(32768 size) used buffers - 1/6 (recycle/alloc) - 91/5654 (fetch/transfer) D/CCodecBuffers: [c2.android.aac.decoder#119:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/CCodecBuffers: [c2.android.aac.decoder#119:1D-Input.Impl[N]] codec released a buffer owned by client (index 1) D/CCodecBuffers: [c2.android.aac.decoder#119:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/CCodecBuffers: [c2.android.aac.decoder#353:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/CCodecBuffers: [c2.android.aac.decoder#353:1D-Input.Impl[N]] codec released a buffer owned by client (index 1) D/CCodecBufferChannel: [c2.android.aac.decoder#119] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/CCodecBufferChannel: [c2.android.aac.decoder#353] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/CCodecBuffers: [c2.android.aac.decoder#353:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/CCodecBuffers: [c2.android.aac.decoder#119:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/CCodecBufferChannel: [c2.android.aac.decoder#119] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/CCodecBufferChannel: [c2.android.aac.decoder#353] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/BufferPoolAccessor2.0: bufferpool2 0xb40000727de1a8b8 : 4(32768 size) total buffers - 4(32768 size) used buffers - 1/6 (recycle/alloc) - 114/5959 (fetch/transfer) D/CCodecBuffers: [c2.android.aac.decoder#119:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/CCodecBuffers: [c2.android.aac.decoder#119:1D-Input.Impl[N]] codec released a buffer owned by client (index 1) D/BufferPoolAccessor2.0: bufferpool2 0xb40000727de05278 : 4(32768 size) total buffers - 4(32768 size) used buffers - 1/6 (recycle/alloc) - 92/5717 (fetch/transfer) D/CCodecBufferChannel: [c2.android.aac.decoder#119] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/CCodecBufferChannel: [c2.android.aac.decoder#353] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/CCodecBuffers: [c2.android.aac.decoder#119:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/CCodecBuffers: [c2.android.aac.decoder#119:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/BufferPoolAccessor2.0: bufferpool2 0xb40000727de1a8b8 : 4(32768 size) total buffers - 4(32768 size) used buffers - 1/6 (recycle/alloc) - 116/6021 (fetch/transfer) D/BufferPoolAccessor2.0: bufferpool2 0xb40000727de05278 : 4(32768 size) total buffers - 4(32768 size) used buffers - 1/6 (recycle/alloc) - 92/5777 (fetch/transfer) D/CCodecBuffers: [c2.android.aac.decoder#119:1D-Input.Impl[N]] codec released a buffer owned by client (index 1) D/CCodecBufferChannel: [c2.android.aac.decoder#119] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/CCodecBufferChannel: [c2.android.aac.decoder#353] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 3 / 6 D/CCodecBuffers: [c2.android.aac.decoder#353:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/CCodecBuffers: [c2.android.aac.decoder#353:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/CCodecBufferChannel: [c2.android.aac.decoder#119] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/CCodecBufferChannel: [c2.android.aac.decoder#353] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/CCodecBuffers: [c2.android.aac.decoder#353:1D-Input.Impl[N]] codec released a buffer owned by client (index 1) D/BufferPoolAccessor2.0: bufferpool2 0xb40000727de1a8b8 : 4(32768 size) total buffers - 4(32768 size) used buffers - 1/6 (recycle/alloc) - 118/6081 (fetch/transfer) D/BufferPoolAccessor2.0: bufferpool2 0xb40000727de05278 : 4(32768 size) total buffers - 4(32768 size) used buffers - 1/6 (recycle/alloc) - 92/5843 (fetch/transfer) D/CCodecBuffers: [c2.android.aac.decoder#353:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/CCodecBufferChannel: [c2.android.aac.decoder#119] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/CCodecBufferChannel: [c2.android.aac.decoder#353] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/CCodecBuffers: [c2.android.aac.decoder#119:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/CCodecBuffers: [c2.android.aac.decoder#353:1D-Input.Impl[N]] codec released a buffer owned by client (index 3) D/CCodecBuffers: [c2.android.aac.decoder#119:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/BufferPoolAccessor2.0: bufferpool2 0xb40000727de1a8b8 : 4(32768 size) total buffers - 4(32768 size) used buffers - 1/6 (recycle/alloc) - 119/6142 (fetch/transfer) D/CCodecBuffers: [c2.android.aac.decoder#119:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/CCodecBuffers: [c2.android.aac.decoder#119:1D-Input.Impl[N]] codec released a buffer owned by client (index 1) D/CCodecBufferChannel: [c2.android.aac.decoder#119] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/CCodecBufferChannel: [c2.android.aac.decoder#353] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/BufferPoolAccessor2.0: bufferpool2 0xb40000727de05278 : 4(32768 size) total buffers - 4(32768 size) used buffers - 1/6 (recycle/alloc) - 94/5907 (fetch/transfer) D/CCodecBuffers: [c2.android.aac.decoder#119:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/CCodecBuffers: [c2.android.aac.decoder#119:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/CCodecBufferChannel: [c2.android.aac.decoder#119] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/CCodecBufferChannel: [c2.android.aac.decoder#353] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/RtspClient: OPTIONS rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mp4 RTSP/1.0 User-Agent: ExoPlayerLib/2.16.1 CSeq: 22 Session: 199260817 D/RtspClient: RTSP/1.0 200 OK CSeq: 22 Server: Wowza Streaming Engine 4.8.10 build20210217143515 Cache-Control: no-cache Public: DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, OPTIONS, ANNOUNCE, RECORD, GET_PARAMETER Supported: play.basic, con.persistent Session: 199260817;timeout=60 D/BufferPoolAccessor2.0: bufferpool2 0xb40000727de1a8b8 : 4(32768 size) total buffers - 4(32768 size) used buffers - 1/6 (recycle/alloc) - 119/6203 (fetch/transfer) D/CCodecBuffers: [c2.android.aac.decoder#353:1D-Input.Impl[N]] codec released a buffer owned by client (index 1) D/BufferPoolAccessor2.0: bufferpool2 0xb40000727de05278 : 4(32768 size) total buffers - 4(32768 size) used buffers - 1/6 (recycle/alloc) - 95/5967 (fetch/transfer) D/CCodecBuffers: [c2.android.aac.decoder#353:1D-Input.Impl[N]] codec released a buffer owned by client (index 1) D/CCodecBuffers: [c2.android.aac.decoder#119:1D-Input.Impl[N]] codec released a buffer owned by client (index 1) D/RtspClient: OPTIONS rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mp4 RTSP/1.0 User-Agent: ExoPlayerLib/2.16.1 CSeq: 22 Session: 516661232 D/RtspClient: RTSP/1.0 200 OK CSeq: 22 Server: Wowza Streaming Engine 4.8.10 build20210217143515 Cache-Control: no-cache Public: DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, OPTIONS, ANNOUNCE, RECORD, GET_PARAMETER Supported: play.basic, con.persistent Session: 516661232;timeout=60 D/CCodecBufferChannel: [c2.android.aac.decoder#119] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/CCodecBufferChannel: [c2.android.aac.decoder#353] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/CCodecBuffers: [c2.android.aac.decoder#119:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/CCodecBuffers: [c2.android.aac.decoder#119:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/CCodecBuffers: [c2.android.aac.decoder#119:1D-Input.Impl[N]] codec released a buffer owned by client (index 1) D/BufferPoolAccessor2.0: bufferpool2 0xb40000727de1a8b8 : 4(32768 size) total buffers - 4(32768 size) used buffers - 1/6 (recycle/alloc) - 121/6270 (fetch/transfer) D/CCodecBufferChannel: [c2.android.aac.decoder#119] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/CCodecBufferChannel: [c2.android.aac.decoder#353] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/BufferPoolAccessor2.0: bufferpool2 0xb40000727de05278 : 4(32768 size) total buffers - 4(32768 size) used buffers - 1/6 (recycle/alloc) - 96/6032 (fetch/transfer) D/CCodecBuffers: [c2.android.aac.decoder#119:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/CCodecBuffers: [c2.android.aac.decoder#119:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/CCodecBuffers: [c2.android.aac.decoder#353:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/CCodecBufferChannel: [c2.android.aac.decoder#119] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/CCodecBufferChannel: [c2.android.aac.decoder#353] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/CCodecBuffers: [c2.android.aac.decoder#119:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/BufferPoolAccessor2.0: bufferpool2 0xb40000727de1a8b8 : 4(32768 size) total buffers - 4(32768 size) used buffers - 1/6 (recycle/alloc) - 121/6335 (fetch/transfer) D/CCodecBuffers: [c2.android.aac.decoder#353:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/BufferPoolAccessor2.0: bufferpool2 0xb40000727de05278 : 4(32768 size) total buffers - 4(32768 size) used buffers - 1/6 (recycle/alloc) - 96/6093 (fetch/transfer) D/CCodecBufferChannel: [c2.android.aac.decoder#119] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/CCodecBufferChannel: [c2.android.aac.decoder#353] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/CCodecBuffers: [c2.android.aac.decoder#353:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/CCodecBuffers: [c2.android.aac.decoder#119:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/CCodecBuffers: [c2.android.aac.decoder#353:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/CCodecBuffers: [c2.android.aac.decoder#353:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/CCodecBuffers: [c2.android.aac.decoder#119:1D-Input.Impl[N]] codec released a buffer owned by client (index 3) D/CCodecBufferChannel: [c2.android.aac.decoder#119] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/CCodecBufferChannel: [c2.android.aac.decoder#353] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/BufferPoolAccessor2.0: bufferpool2 0xb40000727de1a8b8 : 4(32768 size) total buffers - 4(32768 size) used buffers - 1/6 (recycle/alloc) - 121/6397 (fetch/transfer) D/BufferPoolAccessor2.0: bufferpool2 0xb40000727de05278 : 4(32768 size) total buffers - 4(32768 size) used buffers - 1/6 (recycle/alloc) - 97/6159 (fetch/transfer) D/CCodecBufferChannel: [c2.android.aac.decoder#119] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/CCodecBufferChannel: [c2.android.aac.decoder#353] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/CCodecBuffers: [c2.android.aac.decoder#353:1D-Input.Impl[N]] codec released a buffer owned by client (index 2) D/CCodecBuffers: [c2.android.aac.decoder#353:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/CCodecBuffers: [c2.android.aac.decoder#353:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/BufferPoolAccessor2.0: bufferpool2 0xb40000727de1a8b8 : 4(32768 size) total buffers - 4(32768 size) used buffers - 1/6 (recycle/alloc) - 122/6456 (fetch/transfer) D/CCodecBufferChannel: [c2.android.aac.decoder#119] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/CCodecBufferChannel: [c2.android.aac.decoder#353] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/BufferPoolAccessor2.0: bufferpool2 0xb40000727de05278 : 4(32768 size) total buffers - 4(32768 size) used buffers - 1/6 (recycle/alloc) - 97/6225 (fetch/transfer) D/CCodecBuffers: [c2.android.aac.decoder#353:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/CCodecBufferChannel: [c2.android.aac.decoder#119] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/CCodecBufferChannel: [c2.android.aac.decoder#353] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/CCodecBuffers: [c2.android.aac.decoder#353:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/CCodecBuffers: [c2.android.aac.decoder#353:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/BufferPoolAccessor2.0: bufferpool2 0xb40000727de1a8b8 : 4(32768 size) total buffers - 4(32768 size) used buffers - 1/6 (recycle/alloc) - 123/6519 (fetch/transfer) D/CCodecBuffers: [c2.android.aac.decoder#353:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/BufferPoolAccessor2.0: bufferpool2 0xb40000727de05278 : 4(32768 size) total buffers - 4(32768 size) used buffers - 1/6 (recycle/alloc) - 99/6292 (fetch/transfer) D/CCodecBuffers: [c2.android.aac.decoder#353:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/CCodecBufferChannel: [c2.android.aac.decoder#119] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/CCodecBufferChannel: [c2.android.aac.decoder#353] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/RtspClient: OPTIONS rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mp4 RTSP/1.0 User-Agent: ExoPlayerLib/2.16.1 CSeq: 23 Session: 199260817 D/RtspClient: RTSP/1.0 200 OK CSeq: 23 Server: Wowza Streaming Engine 4.8.10 build20210217143515 Cache-Control: no-cache Public: DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, OPTIONS, ANNOUNCE, RECORD, GET_PARAMETER Supported: play.basic, con.persistent Session: 199260817;timeout=60 D/CCodecBuffers: [c2.android.aac.decoder#353:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/RtspClient: OPTIONS rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mp4 RTSP/1.0 User-Agent: ExoPlayerLib/2.16.1 CSeq: 23 Session: 516661232 D/RtspClient: RTSP/1.0 200 OK CSeq: 23 Server: Wowza Streaming Engine 4.8.10 build20210217143515 Cache-Control: no-cache Public: DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, OPTIONS, ANNOUNCE, RECORD, GET_PARAMETER Supported: play.basic, con.persistent Session: 516661232;timeout=60 D/BufferPoolAccessor2.0: bufferpool2 0xb40000727de1a8b8 : 4(32768 size) total buffers - 4(32768 size) used buffers - 1/6 (recycle/alloc) - 124/6581 (fetch/transfer) D/CCodecBuffers: [c2.android.aac.decoder#119:1D-Input.Impl[N]] codec released a buffer owned by client (index 1) D/CCodecBufferChannel: [c2.android.aac.decoder#119] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/CCodecBufferChannel: [c2.android.aac.decoder#353] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/CCodecBuffers: [c2.android.aac.decoder#353:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/BufferPoolAccessor2.0: bufferpool2 0xb40000727de05278 : 4(32768 size) total buffers - 4(32768 size) used buffers - 1/6 (recycle/alloc) - 100/6352 (fetch/transfer) D/CCodecBufferChannel: [c2.android.aac.decoder#119] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/CCodecBufferChannel: [c2.android.aac.decoder#353] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/BufferPoolAccessor2.0: bufferpool2 0xb40000727de1a8b8 : 4(32768 size) total buffers - 4(32768 size) used buffers - 1/6 (recycle/alloc) - 124/6640 (fetch/transfer) D/BufferPoolAccessor2.0: bufferpool2 0xb40000727de05278 : 4(32768 size) total buffers - 4(32768 size) used buffers - 1/6 (recycle/alloc) - 101/6415 (fetch/transfer) D/CCodecBuffers: [c2.android.aac.decoder#119:1D-Input.Impl[N]] codec released a buffer owned by client (index 3) D/CCodecBufferChannel: [c2.android.aac.decoder#119] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/CCodecBufferChannel: [c2.android.aac.decoder#353] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/CCodecBuffers: [c2.android.aac.decoder#119:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/CCodecBuffers: [c2.android.aac.decoder#353:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/BufferPoolAccessor2.0: bufferpool2 0xb40000727de1a8b8 : 4(32768 size) total buffers - 4(32768 size) used buffers - 1/6 (recycle/alloc) - 124/6699 (fetch/transfer) D/CCodecBuffers: [c2.android.aac.decoder#353:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/CCodecBuffers: [c2.android.aac.decoder#353:1D-Input.Impl[N]] codec released a buffer owned by client (index 1) D/CCodecBufferChannel: [c2.android.aac.decoder#119] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/CCodecBufferChannel: [c2.android.aac.decoder#353] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/CCodecBuffers: [c2.android.aac.decoder#119:1D-Input.Impl[N]] codec released a buffer owned by client (index 2) D/CCodecBuffers: [c2.android.aac.decoder#119:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/CCodecBuffers: [c2.android.aac.decoder#119:1D-Input.Impl[N]] codec released a buffer owned by client (index 1) D/BufferPoolAccessor2.0: bufferpool2 0xb40000727de05278 : 4(32768 size) total buffers - 4(32768 size) used buffers - 1/6 (recycle/alloc) - 102/6476 (fetch/transfer) D/CCodecBuffers: [c2.android.aac.decoder#119:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/CCodecBuffers: [c2.android.aac.decoder#353:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/CCodecBufferChannel: [c2.android.aac.decoder#119] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/CCodecBufferChannel: [c2.android.aac.decoder#353] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/BufferPoolAccessor2.0: bufferpool2 0xb40000727de1a8b8 : 4(32768 size) total buffers - 4(32768 size) used buffers - 1/6 (recycle/alloc) - 126/6761 (fetch/transfer) D/CCodecBuffers: [c2.android.aac.decoder#353:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/CCodecBuffers: [c2.android.aac.decoder#119:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/CCodecBuffers: [c2.android.aac.decoder#119:1D-Input.Impl[N]] codec released a buffer owned by client (index 1) D/BufferPoolAccessor2.0: bufferpool2 0xb40000727de05278 : 4(32768 size) total buffers - 4(32768 size) used buffers - 1/6 (recycle/alloc) - 103/6540 (fetch/transfer) D/CCodecBufferChannel: [c2.android.aac.decoder#119] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/CCodecBufferChannel: [c2.android.aac.decoder#353] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/CCodecBuffers: [c2.android.aac.decoder#353:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) W/DC_Debug: onVideoFrameProcessingOffset timeMs: 144005217 W/DC_Debug: Player buffering: 3 D/CCodecBuffers: [c2.android.aac.decoder#353:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) I/MediaCodec: setCodecState state : 0 D/CCodecBuffers: [c2.android.aac.decoder#353:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/CCodecBufferChannel: [c2.android.aac.decoder#353] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 W/DC_Debug: onVideoFrameProcessingOffset timeMs: 144009976 W/DC_Debug: Player buffering: 4 D/CCodecBufferChannel: [c2.android.aac.decoder#353] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 I/MediaCodec: setCodecState state : 0 D/BufferPoolAccessor2.0: bufferpool2 0xb40000727de1a8b8 : 4(32768 size) total buffers - 4(32768 size) used buffers - 1/6 (recycle/alloc) - 127/6794 (fetch/transfer) D/BufferPoolAccessor2.0: bufferpool2 0xb40000727de05278 : 4(32768 size) total buffers - 4(32768 size) used buffers - 1/6 (recycle/alloc) - 104/6601 (fetch/transfer) D/AudioTrack: getTimestamp_l(258): device stall time corrected using current time 102231585023031 I/MediaCodec: setCodecState state : 1 W/DC_Debug: Player STATE_READY: W/DC_Debug: Player STATE_READY: D/AudioTrack: getTimestamp_l(256): device stall time corrected using current time 102232548683448 I/MediaCodec: setCodecState state : 1 D/RtspClient: OPTIONS rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mp4 RTSP/1.0 User-Agent: ExoPlayerLib/2.16.1 CSeq: 24 Session: 199260817 D/RtspClient: RTSP/1.0 200 OK CSeq: 24 Server: Wowza Streaming Engine 4.8.10 build20210217143515 Cache-Control: no-cache Public: DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, OPTIONS, ANNOUNCE, RECORD, GET_PARAMETER Supported: play.basic, con.persistent Session: 199260817;timeout=60 D/CCodecBufferChannel: [c2.android.aac.decoder#119] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 3 / 6 D/CCodecBufferChannel: [c2.android.aac.decoder#353] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/CCodecBuffers: [c2.android.aac.decoder#353:1D-Input.Impl[N]] codec released a buffer owned by client (index 1) D/CCodecBuffers: [c2.android.aac.decoder#119:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/CCodecBuffers: [c2.android.aac.decoder#353:1D-Input.Impl[N]] codec released a buffer owned by client (index 1) D/RtspClient: OPTIONS rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mp4 RTSP/1.0 User-Agent: ExoPlayerLib/2.16.1 CSeq: 24 Session: 516661232 D/RtspClient: RTSP/1.0 200 OK CSeq: 24 Server: Wowza Streaming Engine 4.8.10 build20210217143515 Cache-Control: no-cache Public: DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, OPTIONS, ANNOUNCE, RECORD, GET_PARAMETER Supported: play.basic, con.persistent Session: 516661232;timeout=60 D/BufferPoolAccessor2.0: bufferpool2 0xb40000727de1a8b8 : 4(32768 size) total buffers - 4(32768 size) used buffers - 1/6 (recycle/alloc) - 129/6861 (fetch/transfer) D/BufferPoolAccessor2.0: bufferpool2 0xb40000727de05278 : 4(32768 size) total buffers - 4(32768 size) used buffers - 1/6 (recycle/alloc) - 106/6659 (fetch/transfer) D/CCodecBufferChannel: [c2.android.aac.decoder#119] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/CCodecBufferChannel: [c2.android.aac.decoder#353] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/CCodecBuffers: [c2.android.aac.decoder#119:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/CCodecBuffers: [c2.android.aac.decoder#119:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/CCodecBufferChannel: [c2.android.aac.decoder#119] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/CCodecBufferChannel: [c2.android.aac.decoder#353] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/BufferPoolAccessor2.0: bufferpool2 0xb40000727de1a8b8 : 4(32768 size) total buffers - 4(32768 size) used buffers - 1/6 (recycle/alloc) - 130/6920 (fetch/transfer) D/BufferPoolAccessor2.0: bufferpool2 0xb40000727de05278 : 4(32768 size) total buffers - 4(32768 size) used buffers - 1/6 (recycle/alloc) - 107/6725 (fetch/transfer) D/CCodecBuffers: [c2.android.aac.decoder#353:1D-Input.Impl[N]] codec released a buffer owned by client (index 1) D/CCodecBuffers: [c2.android.aac.decoder#353:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/CCodecBuffers: [c2.android.aac.decoder#353:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/CCodecBufferChannel: [c2.android.aac.decoder#119] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/CCodecBufferChannel: [c2.android.aac.decoder#353] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/CCodecBuffers: [c2.android.aac.decoder#119:1D-Input.Impl[N]] codec released a buffer owned by client (index 1) D/CCodecBuffers: [c2.android.aac.decoder#119:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/CCodecBuffers: [c2.android.aac.decoder#353:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) E/MediaCodecAudioRenderer: Audio sink error com.google.android.exoplayer2.audio.AudioSink$UnexpectedDiscontinuityException: Unexpected audio track timestamp discontinuity: expected 1000594090666, got 1000596309000 at com.google.android.exoplayer2.audio.DefaultAudioSink.handleBuffer(DefaultAudioSink.java:802) at com.google.android.exoplayer2.audio.MediaCodecAudioRenderer.processOutputBuffer(MediaCodecAudioRenderer.java:639) at com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.drainOutputBuffer(MediaCodecRenderer.java:1839) at com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.render(MediaCodecRenderer.java:778) at com.google.android.exoplayer2.ExoPlayerImplInternal.doSomeWork(ExoPlayerImplInternal.java:982) at com.google.android.exoplayer2.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:486) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:246) at android.os.HandlerThread.run(HandlerThread.java:67) D/CCodecBuffers: [c2.android.aac.decoder#119:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/CCodecBuffers: [c2.android.aac.decoder#119:1D-Input.Impl[N]] codec released a buffer owned by client (index 1) E/MediaCodecAudioRenderer: Audio sink error com.google.android.exoplayer2.audio.AudioSink$UnexpectedDiscontinuityException: Unexpected audio track timestamp discontinuity: expected 1000595712000, got 1000599125000 at com.google.android.exoplayer2.audio.DefaultAudioSink.handleBuffer(DefaultAudioSink.java:802) at com.google.android.exoplayer2.audio.MediaCodecAudioRenderer.processOutputBuffer(MediaCodecAudioRenderer.java:639) at com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.drainOutputBuffer(MediaCodecRenderer.java:1839) at com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.render(MediaCodecRenderer.java:778) at com.google.android.exoplayer2.ExoPlayerImplInternal.doSomeWork(ExoPlayerImplInternal.java:982) at com.google.android.exoplayer2.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:486) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:246) at android.os.HandlerThread.run(HandlerThread.java:67) D/BufferPoolAccessor2.0: bufferpool2 0xb40000727de1a8b8 : 4(32768 size) total buffers - 4(32768 size) used buffers - 1/6 (recycle/alloc) - 131/6984 (fetch/transfer) D/BufferPoolAccessor2.0: bufferpool2 0xb40000727de05278 : 4(32768 size) total buffers - 4(32768 size) used buffers - 1/6 (recycle/alloc) - 108/6784 (fetch/transfer) D/CCodecBufferChannel: [c2.android.aac.decoder#119] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/CCodecBufferChannel: [c2.android.aac.decoder#353] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/CCodecBuffers: [c2.android.aac.decoder#119:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/CCodecBuffers: [c2.android.aac.decoder#119:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/CCodecBufferChannel: [c2.android.aac.decoder#119] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/CCodecBufferChannel: [c2.android.aac.decoder#353] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/BufferPoolAccessor2.0: bufferpool2 0xb40000727de1a8b8 : 4(32768 size) total buffers - 4(32768 size) used buffers - 1/6 (recycle/alloc) - 132/7044 (fetch/transfer) D/CCodecBuffers: [c2.android.aac.decoder#119:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/BufferPoolAccessor2.0: bufferpool2 0xb40000727de05278 : 4(32768 size) total buffers - 4(32768 size) used buffers - 1/6 (recycle/alloc) - 109/6850 (fetch/transfer) D/CCodecBuffers: [c2.android.aac.decoder#119:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/CCodecBufferChannel: [c2.android.aac.decoder#119] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/CCodecBufferChannel: [c2.android.aac.decoder#353] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/CCodecBuffers: [c2.android.aac.decoder#119:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/CCodecBuffers: [c2.android.aac.decoder#353:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/CCodecBuffers: [c2.android.aac.decoder#119:1D-Input.Impl[N]] codec released a buffer owned by client (index 1) D/BufferPoolAccessor2.0: bufferpool2 0xb40000727de1a8b8 : 4(32768 size) total buffers - 4(32768 size) used buffers - 1/6 (recycle/alloc) - 133/7105 (fetch/transfer) D/CCodecBufferChannel: [c2.android.aac.decoder#119] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/CCodecBufferChannel: [c2.android.aac.decoder#353] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/BufferPoolAccessor2.0: bufferpool2 0xb40000727de05278 : 4(32768 size) total buffers - 4(32768 size) used buffers - 1/6 (recycle/alloc) - 110/6914 (fetch/transfer) D/CCodecBuffers: [c2.android.aac.decoder#353:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/CCodecBuffers: [c2.android.aac.decoder#353:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/CCodecBuffers: [c2.android.aac.decoder#353:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/CCodecBufferChannel: [c2.android.aac.decoder#119] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/CCodecBufferChannel: [c2.android.aac.decoder#353] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4] D/PipelineWatcher: DEBUG: elapsed 2 / 6 D/BufferPoolAccessor2.0: bufferpool2 0xb40000727de1a8b8 : 4(32768 size) total buffers - 4(32768 size) used buffers - 1/6 (recycle/alloc) - 134/7167 (fetch/transfer) D/CCodecBuffers: [c2.android.aac.decoder#119:1D-Input.Impl[N]] codec released a buffer owned by client (index 1) D/CCodecBuffers: [c2.android.aac.decoder#119:1D-Input.Impl[N]] codec released a buffer owned by client (index 0) D/RtspClient: OPTIONS rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mp4 RTSP/1.0 User-Agent: ExoPlayerLib/2.16.1 CSeq: 25 Session: 199260817 D/RtspClient: RTSP/1.0 200 OK CSeq: 25 Server: Wowza Streaming Engine 4.8.10 build20210217143515 Cache-Control: no-cache Public: DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, OPTIONS, ANNOUNCE, RECORD, GET_PARAMETER Supported: play.basic, con.persistent Session: 199260817;timeout=60
Let me know if you need anything else to address this issue
Did you manage to replicate the issue?
No I didn't manage to reproduce this issue on our end. We don't have the bandwidth right now to look at this issue (and given there's no other issues opened for it), we'll take another look when we have time.
Hi,
While trying to play a RTSP stream over TCP after a while the player freezes before the stream reaches its end. This occurs after a few buffering events and always after the onIsLoadingChanged is called while isLoading changes to false. The player never recovers from this state however it sometimes transitions to player STATE_ENDED . Sometimes the freeze happens as soon as after 5 minutes of streaming and sometimes it takes more than one hour of streaming to reach this state. It seems like the issue occurs more often when dealing with a poor internet connection however if you wait long enough it also happens on a reliable connection. The stream is a wowza 240 x 160 RTSP stream and vlcLib manages to play it well regardless of the internet bandwidth.
This was tested on: Samsung galaxy S20 plus and Samsung galaxy S7 Android vershion: 11 Exo Player version: r2.16.1
Steps to reproduce: Stream address: rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mp4
Setup:
Output: