google / ExoPlayer

This project is deprecated and stale. The latest ExoPlayer code is available in https://github.com/androidx/media
https://developer.android.com/media/media3/exoplayer
Apache License 2.0
21.74k stars 6.03k forks source link

How to achieve as low-latency as possible with ExoPlayer rtsp #10694

Open kueselj opened 2 years ago

kueselj commented 2 years ago

I'm wondering what the best way to achieve as low-latency as possible is regardless of quality. Currently, I'm trying to play a stream over RTSP but seem to be getting around a second or more of delay. My current ~rough~ setup looks like

DefaultLoadControl dlc = new DefaultLoadControl.Builder().setBufferDurationsMs(100, 100, 100, 100).build();

exoPlayer = new ExoPlayer.Builder(this).setMediaSourceFactory(new DefaultMediaSourceFactory(this).setLiveTargetOffsetMs(0)).setLoadControl(dlc).build(); 

RtspMediaSource ms = new RtspMediaSource.Factory().createMediaSource(MediaItem.fromUri(videoURL));

exoPlayer.setMediaSource(ms);

I'm setting a load control with pretty low buffers (100ms) and an ExoPlayer with live target offset of 0ms. Am I doing something wrong or missing something? Or is this just the best performance I can expect? I'm getting some lower latency with some less-optimal, but functional alternative libraries.

Any help would be much appreciated! Thanks!

claincly commented 2 years ago

Setting liveTarget is irrelevant for RTSP streams.

Due to ExoPlayer's RTSP implementation, it's likely you are streaming RTP packets over TCP. However using UDP may lower the latency. To confirm that's the case, can you turn on logging and see if RTSP SETUP is logged four times? (please paste all RTSP related loggings here if possible).

To enable logging, use RtspMediaSource.Factory.setDebugLoggingEnabled()

kueselj commented 2 years ago

Hi Claincly,

Thanks for helping out. I enabled Debug logging and saved the logs. I think the best way to share might just be a link? I included all the logs from the app's launch. I pasted the logs below but also included a link if thats easier.

I saw SETUP only once (In what I think is the correct context). I also couldn't find anything for discerning whether I was using TCP or UDP but I do see RTP packets coming through.

Let me know if there is anything else I can do to aid, don't want to make you all hunt ghosts here!

https://drive.google.com/file/d/1KxylBXhcS5GnmKSkUuXRhSVRtfvwi-tx/view?usp=sharing

2022-10-18 11:24:24.668 30737-30737/com.example.rtspbaselinetest V/studio.deploy: Startup agent attached to VM
2022-10-18 11:24:24.668 30737-30737/com.example.rtspbaselinetest V/studio.deploy: No existing instrumentation found. Loading instrumentation from instruments-dc04a095.jar
2022-10-18 11:23:23.984 30486-30541/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c7f474428 : 9(18874368 size) total buffers - 8(16777216 size) used buffers - 2081/2090 (recycle/alloc) - 9/2083 (fetch/transfer)
2022-10-18 11:24:24.676 30737-30737/com.example.rtspbaselinetest W/tspbaselinetes: DexFile /data/data/com.example.rtspbaselinetest/code_cache/.studio/instruments-dc04a095.jar is in boot class path but is not in a known location
2022-10-18 11:24:24.678 30737-30737/com.example.rtspbaselinetest V/studio.deploy: Applying transforms with cached classes
2022-10-18 11:23:29.308 30486-30541/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c7f474428 : 9(18874368 size) total buffers - 8(16777216 size) used buffers - 2161/2170 (recycle/alloc) - 9/2163 (fetch/transfer)
2022-10-18 11:23:34.628 30486-30541/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c7f474428 : 9(18874368 size) total buffers - 8(16777216 size) used buffers - 2241/2250 (recycle/alloc) - 9/2243 (fetch/transfer)
2022-10-18 11:24:24.691 30737-30737/com.example.rtspbaselinetest W/tspbaselinetes: Redefining intrinsic method java.lang.Thread java.lang.Thread.currentThread(). This may cause the unexpected use of the original definition of java.lang.Thread java.lang.Thread.currentThread()in methods that have already been compiled.
2022-10-18 11:23:35.660 30486-30528/com.example.rtspbaselinetest D/RtspClient: OPTIONS rtsp://192.168.8.1:8900/live RTSP/1.0
    User-Agent: ExoPlayerLib/2.18.1
    CSeq: 8
    Session: 4naMdg_FL5a0OYmo
2022-10-18 11:23:35.682 30486-30528/com.example.rtspbaselinetest D/RtspClient: RTSP/1.0 200 OK
    CSeq: 8
    Public: OPTIONS, DESCRIBE, ANNOUNCE, GET_PARAMETER, PAUSE, PLAY, RECORD, SETUP, SET_PARAMETER, TEARDOWN
    Server: GStreamer RTSP server
    Session: 4naMdg_FL5a0OYmo
    Date: Tue, 18 Oct 2022 15:23:46 GMT
2022-10-18 11:24:24.691 30737-30737/com.example.rtspbaselinetest W/tspbaselinetes: Redefining intrinsic method boolean java.lang.Thread.interrupted(). This may cause the unexpected use of the original definition of boolean java.lang.Thread.interrupted()in methods that have already been compiled.
2022-10-18 11:23:39.958 30486-30541/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c7f474428 : 9(18874368 size) total buffers - 8(16777216 size) used buffers - 2321/2330 (recycle/alloc) - 9/2323 (fetch/transfer)
2022-10-18 11:23:45.320 30486-30541/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c7f474428 : 9(18874368 size) total buffers - 8(16777216 size) used buffers - 2402/2411 (recycle/alloc) - 9/2404 (fetch/transfer)
2022-10-18 11:24:24.694 30737-30737/com.example.rtspbaselinetest D/ActivityThread: handleBindApplication()++ app=com.example.rtspbaselinetest
2022-10-18 11:24:24.695 30737-30737/com.example.rtspbaselinetest D/CompatibilityChangeReporter: Compat change id reported: 171979766; UID 10356; state: ENABLED
2022-10-18 11:23:50.648 30486-30541/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c7f474428 : 9(18874368 size) total buffers - 8(16777216 size) used buffers - 2482/2491 (recycle/alloc) - 9/2484 (fetch/transfer)
2022-10-18 11:23:55.990 30486-30541/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c7f474428 : 9(18874368 size) total buffers - 8(16777216 size) used buffers - 2562/2571 (recycle/alloc) - 9/2564 (fetch/transfer)
2022-10-18 11:24:01.294 30486-30541/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c7f474428 : 9(18874368 size) total buffers - 8(16777216 size) used buffers - 2642/2651 (recycle/alloc) - 9/2644 (fetch/transfer)
2022-10-18 11:24:05.663 30486-30528/com.example.rtspbaselinetest D/RtspClient: OPTIONS rtsp://192.168.8.1:8900/live RTSP/1.0
    User-Agent: ExoPlayerLib/2.18.1
    CSeq: 9
    Session: 4naMdg_FL5a0OYmo
2022-10-18 11:24:05.685 30486-30528/com.example.rtspbaselinetest D/RtspClient: RTSP/1.0 200 OK
    CSeq: 9
    Public: OPTIONS, DESCRIBE, ANNOUNCE, GET_PARAMETER, PAUSE, PLAY, RECORD, SETUP, SET_PARAMETER, TEARDOWN
    Server: GStreamer RTSP server
    Session: 4naMdg_FL5a0OYmo
    Date: Tue, 18 Oct 2022 15:24:16 GMT
2022-10-18 11:24:06.578 30486-30541/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c7f474428 : 9(18874368 size) total buffers - 8(16777216 size) used buffers - 2721/2730 (recycle/alloc) - 9/2723 (fetch/transfer)
2022-10-18 11:24:11.891 30486-30541/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c7f474428 : 9(18874368 size) total buffers - 8(16777216 size) used buffers - 2801/2810 (recycle/alloc) - 9/2803 (fetch/transfer)
2022-10-18 11:24:17.213 30486-30541/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c7f474428 : 9(18874368 size) total buffers - 8(16777216 size) used buffers - 2881/2890 (recycle/alloc) - 9/2883 (fetch/transfer)
2022-10-18 11:24:18.473 30634-30634/com.example.rtspbaselinetest W/tspbaselinetes: Redefining intrinsic method java.lang.Thread java.lang.Thread.currentThread(). This may cause the unexpected use of the original definition of java.lang.Thread java.lang.Thread.currentThread()in methods that have already been compiled.
2022-10-18 11:24:18.473 30634-30634/com.example.rtspbaselinetest W/tspbaselinetes: Redefining intrinsic method boolean java.lang.Thread.interrupted(). This may cause the unexpected use of the original definition of boolean java.lang.Thread.interrupted()in methods that have already been compiled.
2022-10-18 11:24:18.479 30634-30634/com.example.rtspbaselinetest D/ActivityThread: handleBindApplication()++ app=com.example.rtspbaselinetest
2022-10-18 11:24:18.481 30634-30634/com.example.rtspbaselinetest D/CompatibilityChangeReporter: Compat change id reported: 171979766; UID 10356; state: ENABLED
2022-10-18 11:24:18.508 30634-30634/com.example.rtspbaselinetest W/ziparchive: Unable to open '/data/data/com.example.rtspbaselinetest/code_cache/.overlay/base.apk/classes3.dm': No such file or directory
2022-10-18 11:24:18.509 30634-30634/com.example.rtspbaselinetest W/ziparchive: Unable to open '/data/app/~~iFibBnPrmWhl0F3hCisIRw==/com.example.rtspbaselinetest-cou7UapT85sZ-P_hqOWwyw==/base.dm': No such file or directory
2022-10-18 11:24:18.509 30634-30634/com.example.rtspbaselinetest W/ziparchive: Unable to open '/data/app/~~iFibBnPrmWhl0F3hCisIRw==/com.example.rtspbaselinetest-cou7UapT85sZ-P_hqOWwyw==/base.dm': No such file or directory
2022-10-18 11:24:18.688 30634-30634/com.example.rtspbaselinetest V/GraphicsEnvironment: ANGLE Developer option for 'com.example.rtspbaselinetest' set to: 'default'
2022-10-18 11:24:18.688 30634-30634/com.example.rtspbaselinetest V/GraphicsEnvironment: Neither updatable production driver nor prerelease driver is supported.
2022-10-18 11:24:18.697 30634-30634/com.example.rtspbaselinetest D/LoadedApk: LoadedApk::makeApplication() appContext.mOpPackageName=com.example.rtspbaselinetest appContext.mBasePackageName=com.example.rtspbaselinetest
2022-10-18 11:24:18.697 30634-30634/com.example.rtspbaselinetest D/NetworkSecurityConfig: No Network Security Config specified, using platform default
2022-10-18 11:24:18.714 30634-30634/com.example.rtspbaselinetest D/NetworkSecurityConfig: No Network Security Config specified, using platform default
2022-10-18 11:24:18.738 30634-30634/com.example.rtspbaselinetest D/ActivityThread: handleBindApplication() --
2022-10-18 11:24:18.750 30634-30658/com.example.rtspbaselinetest D/OpenGLRenderer: RenderThread::requireGlContext()
2022-10-18 11:24:18.750 30634-30658/com.example.rtspbaselinetest D/libMEOW: meow new tls: 0xb400007c7b8d1f00
2022-10-18 11:24:18.750 30634-30658/com.example.rtspbaselinetest D/libMEOW: meow reload base cfg path: na
2022-10-18 11:24:18.750 30634-30658/com.example.rtspbaselinetest D/libMEOW: meow reload overlay cfg path: na
2022-10-18 11:24:18.752 30634-30658/com.example.rtspbaselinetest E/QT: [QT]file does not exist
2022-10-18 11:24:18.753 30634-30658/com.example.rtspbaselinetest D/libMEOW: applied 2 plugins for [com.example.rtspbaselinetest]:
2022-10-18 11:24:18.753 30634-30658/com.example.rtspbaselinetest D/libMEOW:   plugin 1: [libMEOW_gift.so]:
2022-10-18 11:24:18.753 30634-30658/com.example.rtspbaselinetest D/libMEOW:   plugin 2: [libMEOW_semaphore]:
2022-10-18 11:24:18.763 30634-30658/com.example.rtspbaselinetest D/hw-ProcessState: Binder ioctl to enable oneway spam detection failed: Invalid argument
2022-10-18 11:24:18.764 30634-30658/com.example.rtspbaselinetest E/OpenGLRenderer: Device claims wide gamut support, cannot find matching config, error = EGL_SUCCESS
2022-10-18 11:24:18.764 30634-30658/com.example.rtspbaselinetest W/OpenGLRenderer: Failed to initialize 101010-2 format, error = EGL_SUCCESS
2022-10-18 11:24:18.774 30634-30658/com.example.rtspbaselinetest D/OpenGLRenderer: RenderThread::setGrContext()
2022-10-18 11:24:18.841 30634-30634/com.example.rtspbaselinetest I/DecorView: [INFO] isPopOver=false, config=true
2022-10-18 11:24:18.841 30634-30634/com.example.rtspbaselinetest I/DecorView: updateCaptionType >> DecorView@64184d7[], isFloating=false, isApplication=true, hasWindowControllerCallback=true, hasWindowDecorCaption=false
2022-10-18 11:24:18.841 30634-30634/com.example.rtspbaselinetest D/DecorView: setCaptionType = 0, this = DecorView@64184d7[]
2022-10-18 11:24:18.853 30634-30634/com.example.rtspbaselinetest I/DecorView: getCurrentDensityDpi: from real metrics. densityDpi=420 msg=resources_loaded
2022-10-18 11:24:18.885 30634-30634/com.example.rtspbaselinetest W/tspbaselinetes: Accessing hidden method Landroid/view/View;->computeFitSystemWindows(Landroid/graphics/Rect;Landroid/graphics/Rect;)Z (unsupported, reflection, allowed)
2022-10-18 11:24:18.886 30634-30634/com.example.rtspbaselinetest W/tspbaselinetes: Accessing hidden method Landroid/view/ViewGroup;->makeOptionalFitsSystemWindows()V (unsupported, reflection, allowed)
2022-10-18 11:24:19.026 30634-30634/com.example.rtspbaselinetest D/CompatibilityChangeReporter: Compat change id reported: 171228096; UID 10356; state: ENABLED
2022-10-18 11:24:19.111 30634-30634/com.example.rtspbaselinetest I/ExoPlayerImpl: Init fba4908 [ExoPlayerLib/2.18.1] [a32, SM-A325M, samsung, 31]
2022-10-18 11:24:19.133 30634-30634/com.example.rtspbaselinetest W/tspbaselinetes: Accessing hidden method Landroid/media/AudioTrack;->getLatency()I (unsupported, reflection, allowed)
2022-10-18 11:24:19.226 30634-30658/com.example.rtspbaselinetest D/NativeCustomFrequencyManager: [NativeCFMS] BpCustomFrequencyManager::BpCustomFrequencyManager()
2022-10-18 11:24:19.235 30634-30634/com.example.rtspbaselinetest I/ViewRootImpl@da7fe98[MainActivity]: setView = com.android.internal.policy.DecorView@64184d7 TM=true
2022-10-18 11:24:19.239 30634-30675/com.example.rtspbaselinetest D/RtspClient: OPTIONS rtsp://192.168.8.1:8900/live RTSP/1.0
    User-Agent: ExoPlayerLib/2.18.1
    CSeq: 0
2022-10-18 11:24:19.247 30634-30675/com.example.rtspbaselinetest D/RtspClient: RTSP/1.0 200 OK
    CSeq: 0
    Public: OPTIONS, DESCRIBE, ANNOUNCE, GET_PARAMETER, PAUSE, PLAY, RECORD, SETUP, SET_PARAMETER, TEARDOWN
    Server: GStreamer RTSP server
    Date: Tue, 18 Oct 2022 15:24:29 GMT
2022-10-18 11:24:19.248 30634-30634/com.example.rtspbaselinetest I/SurfaceView@35eb940: onWindowVisibilityChanged(0) true android.view.SurfaceView{35eb940 V.E...... ......I. 0,0-0,0} of ViewRootImpl@da7fe98[MainActivity]
2022-10-18 11:24:19.249 30634-30675/com.example.rtspbaselinetest D/RtspClient: DESCRIBE rtsp://192.168.8.1:8900/live RTSP/1.0
    User-Agent: ExoPlayerLib/2.18.1
    CSeq: 1
2022-10-18 11:24:19.277 30634-30634/com.example.rtspbaselinetest I/BufferQueueConsumer: [](id:77aa00000000,api:0,p:-1,c:30634) connect: controlledByApp=false
2022-10-18 11:24:19.278 30634-30634/com.example.rtspbaselinetest I/BLASTBufferQueue: [ViewRootImpl@da7fe98[MainActivity]#0] constructor()
2022-10-18 11:24:19.280 30634-30634/com.example.rtspbaselinetest I/ViewRootImpl@da7fe98[MainActivity]: Relayout returned: old=(0,0,1080,2400) new=(0,0,1080,2400) req=(1080,2400)0 dur=10 res=0x7 s={true -5476376614114492416} ch=true fn=-1
2022-10-18 11:24:19.282 30634-30658/com.example.rtspbaselinetest I/BufferQueueProducer: [ViewRootImpl@da7fe98[MainActivity]#0(BLAST Consumer)0](id:77aa00000000,api:1,p:30634,c:30634) connect: api=1 producerControlledByApp=true
2022-10-18 11:24:19.283 30634-30658/com.example.rtspbaselinetest D/OpenGLRenderer: eglCreateWindowSurface
2022-10-18 11:24:19.286 30634-30634/com.example.rtspbaselinetest I/SurfaceView@35eb940: windowStopped(false) true android.view.SurfaceView{35eb940 V.E...... ......ID 0,0-1080,2047} of ViewRootImpl@da7fe98[MainActivity]
2022-10-18 11:24:19.287 30634-30634/com.example.rtspbaselinetest I/ViewRootImpl@da7fe98[MainActivity]: [DP] dp(1) 1 android.view.ViewRootImpl.reportNextDraw:11387 android.view.ViewRootImpl.performTraversals:4185 android.view.ViewRootImpl.doTraversal:2911 
2022-10-18 11:24:19.290 30634-30634/com.example.rtspbaselinetest I/BufferQueueConsumer: [](id:77aa00000001,api:0,p:-1,c:30634) connect: controlledByApp=false
2022-10-18 11:24:19.290 30634-30634/com.example.rtspbaselinetest I/BLASTBufferQueue: [SurfaceView - com.example.rtspbaselinetest/com.example.rtspbaselinetest.MainActivity@35eb940@0#1] constructor()
2022-10-18 11:24:19.290 30634-30634/com.example.rtspbaselinetest I/SurfaceView@35eb940: pST: sr = Rect(0, 227 - 1080, 2274) sw = 1080 sh = 2047
2022-10-18 11:24:19.290 30634-30634/com.example.rtspbaselinetest I/SurfaceView@35eb940: onSSPAndSRT: pl = 0 pt = 227 sx = 1.0 sy = 1.0
2022-10-18 11:24:19.291 30634-30634/com.example.rtspbaselinetest I/SurfaceView@35eb940: pST: mTmpTransaction.apply, mTmpTransaction = android.view.SurfaceControl$Transaction@8228e5
2022-10-18 11:24:19.291 30634-30634/com.example.rtspbaselinetest I/SurfaceView@35eb940: updateSurface: mVisible = true mSurface.isValid() = true
2022-10-18 11:24:19.292 30634-30634/com.example.rtspbaselinetest I/SurfaceView@35eb940: updateSurface: mSurfaceCreated = false surfaceChanged = true visibleChanged = true
2022-10-18 11:24:19.292 30634-30634/com.example.rtspbaselinetest I/SurfaceView@35eb940: surfaceCreated 1 #8 android.view.SurfaceView{35eb940 V.E...... ......ID 0,0-1080,2047}
2022-10-18 11:24:19.292 30634-30634/com.example.rtspbaselinetest I/SurfaceView@35eb940: surfaceChanged (1080,2047) 1 #8 android.view.SurfaceView{35eb940 V.E...... ......ID 0,0-1080,2047}
2022-10-18 11:24:19.293 30634-30634/com.example.rtspbaselinetest I/ViewRootImpl@da7fe98[MainActivity]: [DP] dp(2) 1 android.view.SurfaceView.updateSurface:1375 android.view.SurfaceView.lambda$new$1$SurfaceView:254 android.view.SurfaceView$$ExternalSyntheticLambda2.onPreDraw:2 
2022-10-18 11:24:19.293 30634-30634/com.example.rtspbaselinetest I/ViewRootImpl@da7fe98[MainActivity]: [DP] pdf(1) 1 android.view.SurfaceView.notifyDrawFinished:599 android.view.SurfaceView.performDrawFinished:586 android.view.SurfaceView.$r8$lambda$st27mCkd9jfJkTrN_P3qIGKX6NY:0 
2022-10-18 11:24:19.293 30634-30634/com.example.rtspbaselinetest D/ViewRootImpl@da7fe98[MainActivity]: pendingDrawFinished. Waiting on draw reported mDrawsNeededToReport=1
2022-10-18 11:24:19.293 30634-30634/com.example.rtspbaselinetest D/ViewRootImpl@da7fe98[MainActivity]: Creating frameDrawingCallback nextDrawUseBlastSync=false reportNextDraw=true hasBlurUpdates=false
2022-10-18 11:24:19.294 30634-30634/com.example.rtspbaselinetest D/ViewRootImpl@da7fe98[MainActivity]: Creating frameCompleteCallback
2022-10-18 11:24:19.303 30634-30679/com.example.rtspbaselinetest I/SurfaceView@35eb940: uSP: rtp = Rect(0, 227 - 1080, 2274) rtsw = 1080 rtsh = 2047
2022-10-18 11:24:19.303 30634-30679/com.example.rtspbaselinetest I/SurfaceView@35eb940: onSSPAndSRT: pl = 0 pt = 227 sx = 1.0 sy = 1.0
2022-10-18 11:24:19.303 30634-30679/com.example.rtspbaselinetest I/SurfaceView@35eb940: aOrMT: uB = true t = android.view.SurfaceControl$Transaction@7e08899 fN = 1 android.view.SurfaceView.access$500:124 android.view.SurfaceView$SurfaceViewPositionUpdateListener.positionChanged:1728 android.graphics.RenderNode$CompositePositionUpdateListener.positionChanged:319 
2022-10-18 11:24:19.303 30634-30679/com.example.rtspbaselinetest I/SurfaceView@35eb940: aOrMT: vR.mWNT, vR = ViewRootImpl@da7fe98[MainActivity]
2022-10-18 11:24:19.303 30634-30679/com.example.rtspbaselinetest I/ViewRootImpl@da7fe98[MainActivity]: mWNT: t = android.view.SurfaceControl$Transaction@7e08899 fN = 1 android.view.SurfaceView.applyOrMergeTransaction:1628 android.view.SurfaceView.access$500:124 android.view.SurfaceView$SurfaceViewPositionUpdateListener.positionChanged:1728 
2022-10-18 11:24:19.303 30634-30679/com.example.rtspbaselinetest I/ViewRootImpl@da7fe98[MainActivity]: mWNT: merge t to BBQ
2022-10-18 11:24:19.303 30634-30679/com.example.rtspbaselinetest D/ViewRootImpl@da7fe98[MainActivity]: Received frameDrawingCallback frameNum=1. Creating transactionCompleteCallback=false
2022-10-18 11:24:19.306 30634-30658/com.example.rtspbaselinetest E/ion: ioctl c0044901 failed with code -1: Invalid argument
2022-10-18 11:24:19.307 30634-30658/com.example.rtspbaselinetest D/hw-ProcessState: Binder ioctl to enable oneway spam detection failed: Invalid argument
2022-10-18 11:24:19.337 30634-30658/com.example.rtspbaselinetest D/OpenGLRenderer: GPIS:: SetUp Pid : 30634    Tid : 30658
2022-10-18 11:24:19.337 30634-30658/com.example.rtspbaselinetest D/ViewRootImpl@da7fe98[MainActivity]: Received frameCompleteCallback  lastAcquiredFrameNum=1 lastAttemptedDrawFrameNum=1
2022-10-18 11:24:19.340 30634-30634/com.example.rtspbaselinetest I/ViewRootImpl@da7fe98[MainActivity]: [DP] pdf(0) 1 android.view.ViewRootImpl.lambda$addFrameCompleteCallbackIfNeeded$3$ViewRootImpl:4987 android.view.ViewRootImpl$$ExternalSyntheticLambda16.run:6 android.os.Handler.handleCallback:938 
2022-10-18 11:24:19.340 30634-30634/com.example.rtspbaselinetest I/ViewRootImpl@da7fe98[MainActivity]: [DP] rdf()
2022-10-18 11:24:19.340 30634-30634/com.example.rtspbaselinetest D/ViewRootImpl@da7fe98[MainActivity]: reportDrawFinished (fn: -1) 
2022-10-18 11:24:19.385 30634-30634/com.example.rtspbaselinetest D/InsetsSourceConsumer: ensureControlAlpha: for ITYPE_NAVIGATION_BAR on com.example.rtspbaselinetest/com.example.rtspbaselinetest.MainActivity
2022-10-18 11:24:19.386 30634-30634/com.example.rtspbaselinetest D/InsetsSourceConsumer: ensureControlAlpha: for ITYPE_STATUS_BAR on com.example.rtspbaselinetest/com.example.rtspbaselinetest.MainActivity
2022-10-18 11:24:19.397 30634-30634/com.example.rtspbaselinetest I/ViewRootImpl@da7fe98[MainActivity]: MSG_WINDOW_FOCUS_CHANGED 1 1
2022-10-18 11:24:19.399 30634-30634/com.example.rtspbaselinetest D/InputMethodManager: startInputInner - Id : 0
2022-10-18 11:24:19.399 30634-30634/com.example.rtspbaselinetest I/InputMethodManager: startInputInner - mService.startInputOrWindowGainedFocus
2022-10-18 11:24:19.405 30634-30634/com.example.rtspbaselinetest D/InputMethodManager: startInputInner - Id : 0
2022-10-18 11:24:20.374 30634-30675/com.example.rtspbaselinetest D/RtspClient: RTSP/1.0 200 OK
    CSeq: 1
    Content-Type: application/sdp
    Content-Base: rtsp://192.168.8.1:8900/live/
    Server: GStreamer RTSP server
    Date: Tue, 18 Oct 2022 15:24:30 GMT
    Content-Length: 396

    v=0
    o=- 3466122314940044127 1 IN IP4 192.168.8.1
    s=Session streamed with GStreamer
    i=rtsp-server
    t=0 0
    a=tool:GStreamer
    a=type:broadcast
    a=control:*
    a=range:npt=now-
    m=video 0 RTP/AVP 96
    c=IN IP4 0.0.0.0
    a=rtpmap:96 H264/90000
    a=framerate:15
    a=fmtp:96 packetization-mode=1;sprop-parameter-sets=Z2QAFqy0BQHtANoUJqAA,aM4G4sA=
    a=control:stream=0
    a=ts-refclk:local
    a=mediaclk:sender
2022-10-18 11:24:20.444 30634-30675/com.example.rtspbaselinetest W/AudioCapabilities: Unsupported mime audio/x-ima
2022-10-18 11:24:20.445 30634-30675/com.example.rtspbaselinetest W/AudioCapabilities: Unsupported mime audio/mpeg-L1
2022-10-18 11:24:20.445 30634-30675/com.example.rtspbaselinetest W/AudioCapabilities: Unsupported mime audio/mpeg-L2
2022-10-18 11:24:20.446 30634-30675/com.example.rtspbaselinetest W/VideoCapabilities: Unsupported mime video/wvc1
2022-10-18 11:24:20.448 30634-30675/com.example.rtspbaselinetest W/VideoCapabilities: Unsupported mime video/x-ms-wmv
2022-10-18 11:24:20.450 30634-30675/com.example.rtspbaselinetest W/AudioCapabilities: Unsupported mime audio/x-adpcm-dvi-ima
2022-10-18 11:24:20.451 30634-30675/com.example.rtspbaselinetest W/AudioCapabilities: Unsupported mime audio/x-adpcm-dvi-ima
2022-10-18 11:24:20.451 30634-30675/com.example.rtspbaselinetest W/AudioCapabilities: Unsupported mime audio/x-adpcm-ms
2022-10-18 11:24:20.452 30634-30675/com.example.rtspbaselinetest W/AudioCapabilities: Unsupported mime audio/x-adpcm-ms
2022-10-18 11:24:20.452 30634-30675/com.example.rtspbaselinetest W/AudioCapabilities: Unsupported mime audio/alac
2022-10-18 11:24:20.453 30634-30675/com.example.rtspbaselinetest W/AudioCapabilities: Unsupported mime audio/alac
2022-10-18 11:24:20.477 30634-30675/com.example.rtspbaselinetest W/VideoCapabilities: Unsupported mime video/avc-wfd
2022-10-18 11:24:20.522 30634-30675/com.example.rtspbaselinetest D/RtspClient: SETUP rtsp://192.168.8.1:8900/live/stream=0 RTSP/1.0
    User-Agent: ExoPlayerLib/2.18.1
    CSeq: 2
    Transport: RTP/AVP;unicast;client_port=41628-41629
2022-10-18 11:24:20.525 30634-30675/com.example.rtspbaselinetest I/DMCodecAdapterFactory: Creating an asynchronous MediaCodec adapter for track type video
2022-10-18 11:24:20.528 30634-30688/com.example.rtspbaselinetest I/CCodec: state->set(ALLOCATING)
2022-10-18 11:24:20.529 30634-30689/com.example.rtspbaselinetest I/CCodec: allocate(c2.mtk.avc.decoder)
2022-10-18 11:24:20.531 30634-30689/com.example.rtspbaselinetest I/Codec2Client: Available Codec2 services: "default" "default0" "software"
2022-10-18 11:24:20.534 30634-30689/com.example.rtspbaselinetest I/CCodec: setting up 'default' as default (vendor) store
2022-10-18 11:24:20.545 30634-30689/com.example.rtspbaselinetest I/CCodec: Created component [c2.mtk.avc.decoder]
2022-10-18 11:24:20.545 30634-30689/com.example.rtspbaselinetest I/CCodec: state->set(ALLOCATED)
2022-10-18 11:24:20.545 30634-30689/com.example.rtspbaselinetest D/CCodecConfig: read media type: video/avc
2022-10-18 11:24:20.548 30634-30689/com.example.rtspbaselinetest D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.max-count.values
2022-10-18 11:24:20.548 30634-30689/com.example.rtspbaselinetest D/ReflectedParamUpdater: extent() != 1 for single value type: output.subscribed-indices.values
2022-10-18 11:24:20.548 30634-30689/com.example.rtspbaselinetest D/ReflectedParamUpdater: extent() != 1 for single value type: input.buffers.allocator-ids.values
2022-10-18 11:24:20.548 30634-30689/com.example.rtspbaselinetest D/ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.allocator-ids.values
2022-10-18 11:24:20.549 30634-30689/com.example.rtspbaselinetest D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.allocator-ids.values
2022-10-18 11:24:20.549 30634-30689/com.example.rtspbaselinetest D/ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.pool-ids.values
2022-10-18 11:24:20.549 30634-30689/com.example.rtspbaselinetest D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.pool-ids.values
2022-10-18 11:24:20.551 30634-30689/com.example.rtspbaselinetest D/ReflectedParamUpdater: ignored struct field coded.color-format.locations
2022-10-18 11:24:20.553 30634-30689/com.example.rtspbaselinetest D/CCodecConfig: ignoring local param raw.size (0xd2001800) as it is already supported
2022-10-18 11:24:20.553 30634-30689/com.example.rtspbaselinetest D/CCodecConfig: ignoring local param raw.crop (0xd2001801) as it is already supported
2022-10-18 11:24:20.553 30634-30689/com.example.rtspbaselinetest D/CCodecConfig: ignoring local param default.color (0x5200180b) as it is already supported
2022-10-18 11:24:20.554 30634-30689/com.example.rtspbaselinetest D/CCodecConfig: ignoring local param raw.hdr-static-info (0xd200180a) as it is already supported
2022-10-18 11:24:20.555 30634-30689/com.example.rtspbaselinetest I/CCodecConfig: query failed after returning 17 values (BAD_INDEX)
2022-10-18 11:24:20.555 30634-30689/com.example.rtspbaselinetest D/CCodecConfig: c2 config diff is Dict {
      c2::i32 algo.priority.value = 1
      c2::float algo.rate.value = 0
      c2::float coded.frame-rate.value = 30
      c2::u32 coded.pl.level = 20495
      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 = 4
      string input.media-type.value = "video/avc"
      c2::u32 output.delay.value = 12
      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.crop.height = 239
      c2::u32 raw.crop.left = 0
      c2::u32 raw.crop.top = 0
      c2::u32 raw.crop.width = 319
      c2::float raw.hdr-static-info.mastering.blue.x = 0
      c2::float raw.hdr-s
2022-10-18 11:24:20.555 30634-30689/com.example.rtspbaselinetest W/ColorUtils: expected specified color aspects (2:0:0:0)
2022-10-18 11:24:20.562 30634-30688/com.example.rtspbaselinetest I/MediaCodec: MediaCodec will operate in async mode
2022-10-18 11:24:20.563 30634-30688/com.example.rtspbaselinetest D/SurfaceUtils: connecting to surface 0xb400007c7f421010, reason connectToSurface
2022-10-18 11:24:20.563 30634-30688/com.example.rtspbaselinetest I/BufferQueueProducer: [SurfaceView - com.example.rtspbaselinetest/com.example.rtspbaselinetest.MainActivity@35eb940@0#1(BLAST Consumer)1](id:77aa00000001,api:3,p:30634,c:30634) connect: api=3 producerControlledByApp=true
2022-10-18 11:24:20.563 30634-30688/com.example.rtspbaselinetest I/MediaCodec: [c2.mtk.avc.decoder] setting surface generation to 31369217
2022-10-18 11:24:20.563 30634-30688/com.example.rtspbaselinetest D/SurfaceUtils: disconnecting from surface 0xb400007c7f421010, reason connectToSurface(reconnect)
2022-10-18 11:24:20.563 30634-30688/com.example.rtspbaselinetest I/BufferQueueProducer: [SurfaceView - com.example.rtspbaselinetest/com.example.rtspbaselinetest.MainActivity@35eb940@0#1(BLAST Consumer)1](id:77aa00000001,api:3,p:30634,c:30634) disconnect: api 3
2022-10-18 11:24:20.563 30634-30688/com.example.rtspbaselinetest D/SurfaceUtils: connecting to surface 0xb400007c7f421010, reason connectToSurface(reconnect)
2022-10-18 11:24:20.563 30634-30688/com.example.rtspbaselinetest I/BufferQueueProducer: [SurfaceView - com.example.rtspbaselinetest/com.example.rtspbaselinetest.MainActivity@35eb940@0#1(BLAST Consumer)1](id:77aa00000001,api:3,p:30634,c:30634) connect: api=3 producerControlledByApp=true
2022-10-18 11:24:20.563 30634-30689/com.example.rtspbaselinetest D/CCodec: [c2.mtk.avc.decoder] buffers are bound to CCodec for this session
2022-10-18 11:24:20.564 30634-30689/com.example.rtspbaselinetest I/CCodec: appPid(30634) width(640) height(480)
2022-10-18 11:24:20.565 30634-30689/com.example.rtspbaselinetest I/CCodec: VideoController::setValues() isSet [0]
2022-10-18 11:24:20.565 30634-30689/com.example.rtspbaselinetest I/CCodec: set values for [MT6769T]
2022-10-18 11:24:20.565 30634-30689/com.example.rtspbaselinetest D/CCodecConfig: no c2 equivalents for csd-1
2022-10-18 11:24:20.565 30634-30689/com.example.rtspbaselinetest D/CCodecConfig: no c2 equivalents for log-session-id
2022-10-18 11:24:20.565 30634-30689/com.example.rtspbaselinetest D/CCodecConfig: no c2 equivalents for native-window
2022-10-18 11:24:20.565 30634-30689/com.example.rtspbaselinetest D/CCodecConfig: no c2 equivalents for flags
2022-10-18 11:24:20.566 30634-30689/com.example.rtspbaselinetest D/CCodecConfig: c2 config diff is   c2::i32 algo.priority.value = 0
      c2::u32 raw.max-size.height = 480
      c2::u32 raw.max-size.width = 640
      c2::u32 raw.pixel-format.value = 34
      c2::u32 raw.size.height = 480
      c2::u32 raw.size.width = 640
2022-10-18 11:24:20.567 30634-30689/com.example.rtspbaselinetest W/Codec2Client: query -- param skipped: index = 1107298332.
2022-10-18 11:24:20.567 30634-30689/com.example.rtspbaselinetest D/CCodec: client requested max input size 230400, which is smaller than what component recommended (2097152); overriding with component recommendation.
2022-10-18 11:24:20.567 30634-30689/com.example.rtspbaselinetest 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-10-18 11:24:20.567 30634-30689/com.example.rtspbaselinetest D/CCodec: setup formats input: AMessage(what = 0x00000000) = {
      string mime = "video/avc"
      int32_t width = 640
      int32_t profile = 65536
      int32_t priority = 0
      int32_t frame-rate = 30
      int32_t height = 480
      int32_t level = 32768
      int32_t max-input-size = 2097152
      Rect crop(0, 0, 318, 238)
    }
2022-10-18 11:24:20.567 30634-30689/com.example.rtspbaselinetest D/CCodec: setup formats output: AMessage(what = 0x00000000) = {
      int32_t android._color-format = 2130708361
      int32_t android._video-scaling = 1
      int32_t sar-width = 1
      int32_t color-standard = 4
      int32_t color-range = 2
      int32_t color-transfer = 3
      int32_t android._dataspace = 259
      int32_t width = 640
      int32_t rotation-degrees = 0
      int32_t sar-height = 1
      int32_t max-width = 640
      int32_t max-height = 480
      int32_t priority = 0
      string mime = "video/raw"
      Rect crop(0, 0, 318, 238)
      Buffer hdr-static-info = {
        00000000:  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ................
        00000010:  00 00 00 00 00 00 00 00  00                       .........
      }
      int32_t frame-rate = 30
      int32_t height = 480
      int32_t color-format = 2130708361
    }
2022-10-18 11:24:20.567 30634-30689/com.example.rtspbaselinetest I/CCodecConfig: query failed after returning 17 values (BAD_INDEX)
2022-10-18 11:24:20.568 30634-30675/com.example.rtspbaselinetest D/MediaCodec: keep callback message for reclaim
2022-10-18 11:24:20.569 30634-30688/com.example.rtspbaselinetest I/CCodec: state->set(STARTING)
2022-10-18 11:24:20.572 30634-30689/com.example.rtspbaselinetest W/Codec2Client: query -- param skipped: index = 1342179345.
2022-10-18 11:24:20.572 30634-30689/com.example.rtspbaselinetest W/Codec2Client: query -- param skipped: index = 2415921170.
2022-10-18 11:24:20.572 30634-30689/com.example.rtspbaselinetest W/Codec2Client: query -- param skipped: index = 1610614798.
2022-10-18 11:24:20.572 30634-30689/com.example.rtspbaselinetest D/C2Store: Using ION
2022-10-18 11:24:20.575 30634-30689/com.example.rtspbaselinetest D/CCodecBufferChannel: [c2.mtk.avc.decoder#208] Created input block pool with allocatorID 16 => poolID 17 - OK (0)
2022-10-18 11:24:20.575 30634-30689/com.example.rtspbaselinetest I/CCodecBufferChannel: [c2.mtk.avc.decoder#208] start: max output delay 19
2022-10-18 11:24:20.576 30634-30689/com.example.rtspbaselinetest D/CCodecBufferChannel: [c2.mtk.avc.decoder#208] Query output surface allocator returned 0 params => BAD_INDEX (6)
2022-10-18 11:24:20.576 30634-30689/com.example.rtspbaselinetest I/CCodecBufferChannel: [c2.mtk.avc.decoder#208] Created output block pool with allocatorID 18 => poolID 141 - OK
2022-10-18 11:24:20.576 30634-30689/com.example.rtspbaselinetest D/CCodecBufferChannel: [c2.mtk.avc.decoder#208] Configured output block pool ids 141 => OK
2022-10-18 11:24:20.577 30634-30689/com.example.rtspbaselinetest D/Codec2-OutputBufferQueue: C2SurfaceSyncMemory created 20(20)
2022-10-18 11:24:20.577 30634-30689/com.example.rtspbaselinetest D/Codec2-OutputBufferQueue: remote graphic buffer migration 0/0
2022-10-18 11:24:20.577 30634-30689/com.example.rtspbaselinetest D/Codec2Client: setOutputSurface -- generation=31369217 consumer usage=0x900 sync
2022-10-18 11:24:20.577 30634-30689/com.example.rtspbaselinetest D/Codec2Client: Surface configure completed
2022-10-18 11:24:20.577 30634-30689/com.example.rtspbaselinetest I/CCodec: state->set(RUNNING)
2022-10-18 11:24:20.578 30634-30689/com.example.rtspbaselinetest E/ion: ioctl c0044901 failed with code -1: Invalid argument
2022-10-18 11:24:20.579 30634-30688/com.example.rtspbaselinetest I/MediaCodec: setCodecState state(0), called in 6
2022-10-18 11:24:20.580 30634-30689/com.example.rtspbaselinetest I/CCodecBufferChannel: [c2.mtk.avc.decoder#208] 8 initial input buffers available
2022-10-18 11:24:20.587 30634-30675/com.example.rtspbaselinetest D/RtspClient: RTSP/1.0 200 OK
    CSeq: 2
    Transport: RTP/AVP;unicast;client_port=41628-41629;server_port=48222-48223;ssrc=EAE2CE80;mode="PLAY"
    Server: GStreamer RTSP server
    Session: NQEgewEyD1UddByA
    Date: Tue, 18 Oct 2022 15:24:31 GMT
2022-10-18 11:24:20.590 30634-30675/com.example.rtspbaselinetest D/RtspClient: PLAY rtsp://192.168.8.1:8900/live RTSP/1.0
    User-Agent: ExoPlayerLib/2.18.1
    CSeq: 3
    Session: NQEgewEyD1UddByA
    Range: npt=0.000-
2022-10-18 11:24:20.599 30634-30689/com.example.rtspbaselinetest D/CCodecBufferChannel: [c2.mtk.avc.decoder#208] flushed work; ignored.
2022-10-18 11:24:20.599 30634-30689/com.example.rtspbaselinetest D/CCodecBufferChannel: [c2.mtk.avc.decoder#208] Discard frames from previous generation.
2022-10-18 11:24:20.599 30634-30689/com.example.rtspbaselinetest D/PipelineWatcher: onWorkDone: frameIndex not found (18446744073709551615); ignored
2022-10-18 11:24:20.603 30634-30689/com.example.rtspbaselinetest I/CCodecBufferChannel: [c2.mtk.avc.decoder#208] updating max output delay 19
2022-10-18 11:24:20.603 30634-30689/com.example.rtspbaselinetest D/Codec2-OutputBufferQueue: set max dequeue count 19 from update
2022-10-18 11:24:20.604 30634-30675/com.example.rtspbaselinetest D/RtspClient: RTSP/1.0 200 OK
    CSeq: 3
    RTP-Info: url=rtsp://192.168.8.1:8900/live/stream=0;seq=4422;rtptime=3900393905
    Range: npt=now-
    Server: GStreamer RTSP server
    Session: NQEgewEyD1UddByA
    Date: Tue, 18 Oct 2022 15:24:31 GMT
2022-10-18 11:24:20.627 30634-30689/com.example.rtspbaselinetest D/CCodecConfig: c2 config diff is   c2::u32 raw.crop.height = 480
      c2::u32 raw.crop.width = 640
      c2::u32 raw.pixel-format.value = 2130706433
2022-10-18 11:24:20.627 30634-30689/com.example.rtspbaselinetest D/CCodecBuffers: [c2.mtk.avc.decoder#208:2D-Output] popFromStashAndRegister: at 1000000000000us, output format changed to AMessage(what = 0x00000000) = {
      int32_t android._color-format = 2130706433
      int32_t android._video-scaling = 1
      int32_t sar-width = 1
      int32_t color-standard = 4
      int32_t color-range = 2
      int32_t color-transfer = 3
      int32_t android._dataspace = 259
      int32_t width = 640
      int32_t rotation-degrees = 0
      int32_t sar-height = 1
      int32_t max-width = 640
      int32_t max-height = 480
      int32_t priority = 0
      string mime = "video/raw"
      Rect crop(0, 0, 639, 479)
      Buffer hdr-static-info = {
        00000000:  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ................
        00000010:  00 00 00 00 00 00 00 00  00                       .........
      }
      int32_t frame-rate = 30
      int32_t height = 480
      int32_t color-format = 2130708361
    }
2022-10-18 11:24:20.630 30634-30688/com.example.rtspbaselinetest W/MediaCodec: mapFormat: no mediaType information
2022-10-18 11:24:20.633 30634-30688/com.example.rtspbaselinetest I/MediaCodec: setCodecState state(1), called in 6
2022-10-18 11:24:20.639 30634-30634/com.example.rtspbaselinetest I/SurfaceView@35eb940: pST: sr = Rect(0, 845 - 1080, 1655) sw = 1080 sh = 810
2022-10-18 11:24:20.640 30634-30634/com.example.rtspbaselinetest I/SurfaceView@35eb940: onSSPAndSRT: pl = 0 pt = 845 sx = 1.0 sy = 1.0
2022-10-18 11:24:20.640 30634-30634/com.example.rtspbaselinetest I/SurfaceView@35eb940: pST: mTmpTransaction.apply, mTmpTransaction = android.view.SurfaceControl$Transaction@8228e5
2022-10-18 11:24:20.641 30634-30634/com.example.rtspbaselinetest I/SurfaceView@35eb940: updateSurface: mVisible = true mSurface.isValid() = true
2022-10-18 11:24:20.641 30634-30634/com.example.rtspbaselinetest I/SurfaceView@35eb940: updateSurface: mSurfaceCreated = true surfaceChanged = false visibleChanged = false
2022-10-18 11:24:20.641 30634-30634/com.example.rtspbaselinetest I/SurfaceView@35eb940: surfaceChanged (1080,810) 1 #5 android.view.SurfaceView{35eb940 V.E...... ......ID 0,0-1080,810}
2022-10-18 11:24:20.642 30634-30634/com.example.rtspbaselinetest I/ViewRootImpl@da7fe98[MainActivity]: [DP] dp(1) 1 android.view.SurfaceView.updateSurface:1375 android.view.SurfaceView.setFrame:675 android.view.View.layout:24458 
2022-10-18 11:24:20.644 30634-30634/com.example.rtspbaselinetest I/ViewRootImpl@da7fe98[MainActivity]: [DP] pdf(0) 1 android.view.SurfaceView.notifyDrawFinished:599 android.view.SurfaceView.performDrawFinished:586 android.view.SurfaceView.$r8$lambda$st27mCkd9jfJkTrN_P3qIGKX6NY:0 
2022-10-18 11:24:20.644 30634-30634/com.example.rtspbaselinetest I/ViewRootImpl@da7fe98[MainActivity]: [DP] rdf()
2022-10-18 11:24:20.644 30634-30634/com.example.rtspbaselinetest D/ViewRootImpl@da7fe98[MainActivity]: reportDrawFinished (fn: -1) 
2022-10-18 11:24:20.647 30634-30680/com.example.rtspbaselinetest I/SurfaceView@35eb940: uSP: rtp = Rect(0, 845 - 1080, 1655) rtsw = 1080 rtsh = 810
2022-10-18 11:24:20.648 30634-30680/com.example.rtspbaselinetest I/SurfaceView@35eb940: onSSPAndSRT: pl = 0 pt = 845 sx = 1.0 sy = 1.0
2022-10-18 11:24:20.648 30634-30680/com.example.rtspbaselinetest I/SurfaceView@35eb940: aOrMT: uB = true t = android.view.SurfaceControl$Transaction@119fdc5 fN = 118 android.view.SurfaceView.access$500:124 android.view.SurfaceView$SurfaceViewPositionUpdateListener.positionChanged:1728 android.graphics.RenderNode$CompositePositionUpdateListener.positionChanged:319 
2022-10-18 11:24:20.648 30634-30680/com.example.rtspbaselinetest I/SurfaceView@35eb940: aOrMT: vR.mWNT, vR = ViewRootImpl@da7fe98[MainActivity]
2022-10-18 11:24:20.648 30634-30680/com.example.rtspbaselinetest I/ViewRootImpl@da7fe98[MainActivity]: mWNT: t = android.view.SurfaceControl$Transaction@119fdc5 fN = 118 android.view.SurfaceView.applyOrMergeTransaction:1628 android.view.SurfaceView.access$500:124 android.view.SurfaceView$SurfaceViewPositionUpdateListener.positionChanged:1728 
2022-10-18 11:24:20.648 30634-30680/com.example.rtspbaselinetest I/ViewRootImpl@da7fe98[MainActivity]: mWNT: merge t to BBQ
2022-10-18 11:24:24.584 30737-30737/? I/tspbaselinetes: Late-enabling -Xcheck:jni
2022-10-18 11:24:24.639 30737-30737/com.example.rtspbaselinetest E/USNET: USNET: appName: com.example.rtspbaselinetest
2022-10-18 11:24:24.642 30737-30737/com.example.rtspbaselinetest D/ProcessState: Binder ioctl to enable oneway spam detection failed: Invalid argument
2022-10-18 11:24:24.644 30737-30737/com.example.rtspbaselinetest D/ActivityThread: setConscryptValidator
2022-10-18 11:24:24.645 30737-30737/com.example.rtspbaselinetest D/ActivityThread: setConscryptValidator - put
2022-10-18 11:24:24.718 30737-30737/com.example.rtspbaselinetest W/ziparchive: Unable to open '/data/data/com.example.rtspbaselinetest/code_cache/.overlay/base.apk/classes3.dm': No such file or directory
2022-10-18 11:24:24.718 30737-30737/com.example.rtspbaselinetest W/ziparchive: Unable to open '/data/app/~~iFibBnPrmWhl0F3hCisIRw==/com.example.rtspbaselinetest-cou7UapT85sZ-P_hqOWwyw==/base.dm': No such file or directory
2022-10-18 11:24:24.718 30737-30737/com.example.rtspbaselinetest W/ziparchive: Unable to open '/data/app/~~iFibBnPrmWhl0F3hCisIRw==/com.example.rtspbaselinetest-cou7UapT85sZ-P_hqOWwyw==/base.dm': No such file or directory
2022-10-18 11:24:24.893 30737-30737/com.example.rtspbaselinetest V/GraphicsEnvironment: ANGLE Developer option for 'com.example.rtspbaselinetest' set to: 'default'
2022-10-18 11:24:24.894 30737-30737/com.example.rtspbaselinetest V/GraphicsEnvironment: Neither updatable production driver nor prerelease driver is supported.
2022-10-18 11:24:24.902 30737-30737/com.example.rtspbaselinetest D/LoadedApk: LoadedApk::makeApplication() appContext.mOpPackageName=com.example.rtspbaselinetest appContext.mBasePackageName=com.example.rtspbaselinetest
2022-10-18 11:24:24.902 30737-30737/com.example.rtspbaselinetest D/NetworkSecurityConfig: No Network Security Config specified, using platform default
2022-10-18 11:24:24.920 30737-30737/com.example.rtspbaselinetest D/NetworkSecurityConfig: No Network Security Config specified, using platform default
2022-10-18 11:24:24.940 30737-30737/com.example.rtspbaselinetest D/ActivityThread: handleBindApplication() --
2022-10-18 11:24:24.950 30737-30760/com.example.rtspbaselinetest D/OpenGLRenderer: RenderThread::requireGlContext()
2022-10-18 11:24:24.950 30737-30760/com.example.rtspbaselinetest D/libMEOW: meow new tls: 0xb400007c7b8e04c0
2022-10-18 11:24:24.950 30737-30760/com.example.rtspbaselinetest D/libMEOW: meow reload base cfg path: na
2022-10-18 11:24:24.950 30737-30760/com.example.rtspbaselinetest D/libMEOW: meow reload overlay cfg path: na
2022-10-18 11:24:24.952 30737-30760/com.example.rtspbaselinetest E/QT: [QT]file does not exist
2022-10-18 11:24:24.953 30737-30760/com.example.rtspbaselinetest D/libMEOW: applied 2 plugins for [com.example.rtspbaselinetest]:
2022-10-18 11:24:24.953 30737-30760/com.example.rtspbaselinetest D/libMEOW:   plugin 1: [libMEOW_gift.so]:
2022-10-18 11:24:24.953 30737-30760/com.example.rtspbaselinetest D/libMEOW:   plugin 2: [libMEOW_semaphore]:
2022-10-18 11:24:24.960 30737-30760/com.example.rtspbaselinetest D/hw-ProcessState: Binder ioctl to enable oneway spam detection failed: Invalid argument
2022-10-18 11:24:24.962 30737-30760/com.example.rtspbaselinetest E/OpenGLRenderer: Device claims wide gamut support, cannot find matching config, error = EGL_SUCCESS
2022-10-18 11:24:24.962 30737-30760/com.example.rtspbaselinetest W/OpenGLRenderer: Failed to initialize 101010-2 format, error = EGL_SUCCESS
2022-10-18 11:24:24.969 30737-30760/com.example.rtspbaselinetest D/OpenGLRenderer: RenderThread::setGrContext()
2022-10-18 11:24:25.043 30737-30737/com.example.rtspbaselinetest I/DecorView: [INFO] isPopOver=false, config=true
2022-10-18 11:24:25.043 30737-30737/com.example.rtspbaselinetest I/DecorView: updateCaptionType >> DecorView@5a941c4[], isFloating=false, isApplication=true, hasWindowControllerCallback=true, hasWindowDecorCaption=false
2022-10-18 11:24:25.043 30737-30737/com.example.rtspbaselinetest D/DecorView: setCaptionType = 0, this = DecorView@5a941c4[]
2022-10-18 11:24:25.059 30737-30737/com.example.rtspbaselinetest I/DecorView: getCurrentDensityDpi: from real metrics. densityDpi=420 msg=resources_loaded
2022-10-18 11:24:25.093 30737-30737/com.example.rtspbaselinetest W/tspbaselinetes: Accessing hidden method Landroid/view/View;->computeFitSystemWindows(Landroid/graphics/Rect;Landroid/graphics/Rect;)Z (unsupported, reflection, allowed)
2022-10-18 11:24:25.093 30737-30737/com.example.rtspbaselinetest W/tspbaselinetes: Accessing hidden method Landroid/view/ViewGroup;->makeOptionalFitsSystemWindows()V (unsupported, reflection, allowed)
2022-10-18 11:24:25.238 30737-30737/com.example.rtspbaselinetest D/CompatibilityChangeReporter: Compat change id reported: 171228096; UID 10356; state: ENABLED
2022-10-18 11:24:25.326 30737-30737/com.example.rtspbaselinetest I/ExoPlayerImpl: Init cfb28fa [ExoPlayerLib/2.18.1] [a32, SM-A325M, samsung, 31]
2022-10-18 11:24:25.348 30737-30737/com.example.rtspbaselinetest W/tspbaselinetes: Accessing hidden method Landroid/media/AudioTrack;->getLatency()I (unsupported, reflection, allowed)
2022-10-18 11:24:25.442 30737-30760/com.example.rtspbaselinetest D/NativeCustomFrequencyManager: [NativeCFMS] BpCustomFrequencyManager::BpCustomFrequencyManager()
2022-10-18 11:24:25.451 30737-30777/com.example.rtspbaselinetest D/RtspClient: OPTIONS rtsp://192.168.8.1:8900/live RTSP/1.0
    User-Agent: ExoPlayerLib/2.18.1
    CSeq: 0
2022-10-18 11:24:25.452 30737-30737/com.example.rtspbaselinetest I/ViewRootImpl@ee6e00a[MainActivity]: setView = com.android.internal.policy.DecorView@5a941c4 TM=true
2022-10-18 11:24:25.458 30737-30777/com.example.rtspbaselinetest D/RtspClient: RTSP/1.0 200 OK
    CSeq: 0
    Public: OPTIONS, DESCRIBE, ANNOUNCE, GET_PARAMETER, PAUSE, PLAY, RECORD, SETUP, SET_PARAMETER, TEARDOWN
    Server: GStreamer RTSP server
    Date: Tue, 18 Oct 2022 15:24:36 GMT
2022-10-18 11:24:25.460 30737-30777/com.example.rtspbaselinetest D/RtspClient: DESCRIBE rtsp://192.168.8.1:8900/live RTSP/1.0
    User-Agent: ExoPlayerLib/2.18.1
    CSeq: 1
2022-10-18 11:24:25.465 30737-30737/com.example.rtspbaselinetest I/SurfaceView@3469079: onWindowVisibilityChanged(0) true android.view.SurfaceView{3469079 V.E...... ......I. 0,0-0,0} of ViewRootImpl@ee6e00a[MainActivity]
2022-10-18 11:24:25.494 30737-30737/com.example.rtspbaselinetest I/BufferQueueConsumer: [](id:781100000000,api:0,p:-1,c:30737) connect: controlledByApp=false
2022-10-18 11:24:25.496 30737-30737/com.example.rtspbaselinetest I/BLASTBufferQueue: [ViewRootImpl@ee6e00a[MainActivity]#0] constructor()
2022-10-18 11:24:25.498 30737-30737/com.example.rtspbaselinetest I/ViewRootImpl@ee6e00a[MainActivity]: Relayout returned: old=(0,0,1080,2400) new=(0,0,1080,2400) req=(1080,2400)0 dur=9 res=0x7 s={true -5476376614095618048} ch=true fn=-1
2022-10-18 11:24:25.499 30737-30760/com.example.rtspbaselinetest I/BufferQueueProducer: [ViewRootImpl@ee6e00a[MainActivity]#0(BLAST Consumer)0](id:781100000000,api:1,p:30737,c:30737) connect: api=1 producerControlledByApp=true
2022-10-18 11:24:25.500 30737-30760/com.example.rtspbaselinetest D/OpenGLRenderer: eglCreateWindowSurface
2022-10-18 11:24:25.503 30737-30737/com.example.rtspbaselinetest I/SurfaceView@3469079: windowStopped(false) true android.view.SurfaceView{3469079 V.E...... ......ID 0,0-1080,2047} of ViewRootImpl@ee6e00a[MainActivity]
2022-10-18 11:24:25.504 30737-30737/com.example.rtspbaselinetest I/ViewRootImpl@ee6e00a[MainActivity]: [DP] dp(1) 1 android.view.ViewRootImpl.reportNextDraw:11387 android.view.ViewRootImpl.performTraversals:4185 android.view.ViewRootImpl.doTraversal:2911 
2022-10-18 11:24:25.507 30737-30737/com.example.rtspbaselinetest I/BufferQueueConsumer: [](id:781100000001,api:0,p:-1,c:30737) connect: controlledByApp=false
2022-10-18 11:24:25.508 30737-30737/com.example.rtspbaselinetest I/BLASTBufferQueue: [SurfaceView - com.example.rtspbaselinetest/com.example.rtspbaselinetest.MainActivity@3469079@0#1] constructor()
2022-10-18 11:24:25.508 30737-30737/com.example.rtspbaselinetest I/SurfaceView@3469079: pST: sr = Rect(0, 227 - 1080, 2274) sw = 1080 sh = 2047
2022-10-18 11:24:25.508 30737-30737/com.example.rtspbaselinetest I/SurfaceView@3469079: onSSPAndSRT: pl = 0 pt = 227 sx = 1.0 sy = 1.0
2022-10-18 11:24:25.508 30737-30737/com.example.rtspbaselinetest I/SurfaceView@3469079: pST: mTmpTransaction.apply, mTmpTransaction = android.view.SurfaceControl$Transaction@8ef8c4f
2022-10-18 11:24:25.509 30737-30737/com.example.rtspbaselinetest I/SurfaceView@3469079: updateSurface: mVisible = true mSurface.isValid() = true
2022-10-18 11:24:25.509 30737-30737/com.example.rtspbaselinetest I/SurfaceView@3469079: updateSurface: mSurfaceCreated = false surfaceChanged = true visibleChanged = true
2022-10-18 11:24:25.509 30737-30737/com.example.rtspbaselinetest I/SurfaceView@3469079: surfaceCreated 1 #8 android.view.SurfaceView{3469079 V.E...... ......ID 0,0-1080,2047}
2022-10-18 11:24:25.509 30737-30737/com.example.rtspbaselinetest I/SurfaceView@3469079: surfaceChanged (1080,2047) 1 #8 android.view.SurfaceView{3469079 V.E...... ......ID 0,0-1080,2047}
2022-10-18 11:24:25.510 30737-30737/com.example.rtspbaselinetest I/ViewRootImpl@ee6e00a[MainActivity]: [DP] dp(2) 1 android.view.SurfaceView.updateSurface:1375 android.view.SurfaceView.lambda$new$1$SurfaceView:254 android.view.SurfaceView$$ExternalSyntheticLambda2.onPreDraw:2 
2022-10-18 11:24:25.511 30737-30737/com.example.rtspbaselinetest I/ViewRootImpl@ee6e00a[MainActivity]: [DP] pdf(1) 1 android.view.SurfaceView.notifyDrawFinished:599 android.view.SurfaceView.performDrawFinished:586 android.view.SurfaceView.$r8$lambda$st27mCkd9jfJkTrN_P3qIGKX6NY:0 
2022-10-18 11:24:25.511 30737-30737/com.example.rtspbaselinetest D/ViewRootImpl@ee6e00a[MainActivity]: pendingDrawFinished. Waiting on draw reported mDrawsNeededToReport=1
2022-10-18 11:24:25.511 30737-30737/com.example.rtspbaselinetest D/ViewRootImpl@ee6e00a[MainActivity]: Creating frameDrawingCallback nextDrawUseBlastSync=false reportNextDraw=true hasBlurUpdates=false
2022-10-18 11:24:25.511 30737-30737/com.example.rtspbaselinetest D/ViewRootImpl@ee6e00a[MainActivity]: Creating frameCompleteCallback
2022-10-18 11:24:25.520 30737-30782/com.example.rtspbaselinetest I/SurfaceView@3469079: uSP: rtp = Rect(0, 227 - 1080, 2274) rtsw = 1080 rtsh = 2047
2022-10-18 11:24:25.521 30737-30782/com.example.rtspbaselinetest I/SurfaceView@3469079: onSSPAndSRT: pl = 0 pt = 227 sx = 1.0 sy = 1.0
2022-10-18 11:24:25.521 30737-30782/com.example.rtspbaselinetest I/SurfaceView@3469079: aOrMT: uB = true t = android.view.SurfaceControl$Transaction@5926fe3 fN = 1 android.view.SurfaceView.access$500:124 android.view.SurfaceView$SurfaceViewPositionUpdateListener.positionChanged:1728 android.graphics.RenderNode$CompositePositionUpdateListener.positionChanged:319 
2022-10-18 11:24:25.521 30737-30783/com.example.rtspbaselinetest D/ViewRootImpl@ee6e00a[MainActivity]: Received frameDrawingCallback frameNum=1. Creating transactionCompleteCallback=false
2022-10-18 11:24:25.521 30737-30782/com.example.rtspbaselinetest I/SurfaceView@3469079: aOrMT: vR.mWNT, vR = ViewRootImpl@ee6e00a[MainActivity]
2022-10-18 11:24:25.521 30737-30782/com.example.rtspbaselinetest I/ViewRootImpl@ee6e00a[MainActivity]: mWNT: t = android.view.SurfaceControl$Transaction@5926fe3 fN = 1 android.view.SurfaceView.applyOrMergeTransaction:1628 android.view.SurfaceView.access$500:124 android.view.SurfaceView$SurfaceViewPositionUpdateListener.positionChanged:1728 
2022-10-18 11:24:25.521 30737-30782/com.example.rtspbaselinetest I/ViewRootImpl@ee6e00a[MainActivity]: mWNT: merge t to BBQ
2022-10-18 11:24:25.525 30737-30760/com.example.rtspbaselinetest E/ion: ioctl c0044901 failed with code -1: Invalid argument
2022-10-18 11:24:25.525 30737-30760/com.example.rtspbaselinetest D/hw-ProcessState: Binder ioctl to enable oneway spam detection failed: Invalid argument
2022-10-18 11:24:25.553 30737-30760/com.example.rtspbaselinetest D/OpenGLRenderer: GPIS:: SetUp Pid : 30737    Tid : 30760
2022-10-18 11:24:25.553 30737-30760/com.example.rtspbaselinetest D/ViewRootImpl@ee6e00a[MainActivity]: Received frameCompleteCallback  lastAcquiredFrameNum=1 lastAttemptedDrawFrameNum=1
2022-10-18 11:24:25.556 30737-30737/com.example.rtspbaselinetest I/ViewRootImpl@ee6e00a[MainActivity]: [DP] pdf(0) 1 android.view.ViewRootImpl.lambda$addFrameCompleteCallbackIfNeeded$3$ViewRootImpl:4987 android.view.ViewRootImpl$$ExternalSyntheticLambda16.run:6 android.os.Handler.handleCallback:938 
2022-10-18 11:24:25.556 30737-30737/com.example.rtspbaselinetest I/ViewRootImpl@ee6e00a[MainActivity]: [DP] rdf()
2022-10-18 11:24:25.556 30737-30737/com.example.rtspbaselinetest D/ViewRootImpl@ee6e00a[MainActivity]: reportDrawFinished (fn: -1) 
2022-10-18 11:24:25.607 30737-30737/com.example.rtspbaselinetest D/InsetsSourceConsumer: ensureControlAlpha: for ITYPE_NAVIGATION_BAR on com.example.rtspbaselinetest/com.example.rtspbaselinetest.MainActivity
2022-10-18 11:24:25.608 30737-30737/com.example.rtspbaselinetest D/InsetsSourceConsumer: ensureControlAlpha: for ITYPE_STATUS_BAR on com.example.rtspbaselinetest/com.example.rtspbaselinetest.MainActivity
2022-10-18 11:24:25.614 30737-30737/com.example.rtspbaselinetest I/ViewRootImpl@ee6e00a[MainActivity]: MSG_WINDOW_FOCUS_CHANGED 1 1
2022-10-18 11:24:25.617 30737-30737/com.example.rtspbaselinetest D/InputMethodManager: startInputInner - Id : 0
2022-10-18 11:24:25.618 30737-30737/com.example.rtspbaselinetest I/InputMethodManager: startInputInner - mService.startInputOrWindowGainedFocus
2022-10-18 11:24:25.632 30737-30737/com.example.rtspbaselinetest D/InputMethodManager: startInputInner - Id : 0
2022-10-18 11:24:26.414 30737-30777/com.example.rtspbaselinetest D/RtspClient: RTSP/1.0 200 OK
    CSeq: 1
    Content-Type: application/sdp
    Content-Base: rtsp://192.168.8.1:8900/live/
    Server: GStreamer RTSP server
    Date: Tue, 18 Oct 2022 15:24:36 GMT
    Content-Length: 397

    v=0
    o=- 15077749790785449184 1 IN IP4 192.168.8.1
    s=Session streamed with GStreamer
    i=rtsp-server
    t=0 0
    a=tool:GStreamer
    a=type:broadcast
    a=control:*
    a=range:npt=now-
    m=video 0 RTP/AVP 96
    c=IN IP4 0.0.0.0
    a=rtpmap:96 H264/90000
    a=framerate:15
    a=fmtp:96 packetization-mode=1;sprop-parameter-sets=Z2QAFqy0BQHtANoUJqAA,aM4G4sA=
    a=control:stream=0
    a=ts-refclk:local
    a=mediaclk:sender
2022-10-18 11:24:26.500 30737-30777/com.example.rtspbaselinetest W/AudioCapabilities: Unsupported mime audio/x-ima
2022-10-18 11:24:26.502 30737-30777/com.example.rtspbaselinetest W/AudioCapabilities: Unsupported mime audio/mpeg-L1
2022-10-18 11:24:26.502 30737-30777/com.example.rtspbaselinetest W/AudioCapabilities: Unsupported mime audio/mpeg-L2
2022-10-18 11:24:26.503 30737-30777/com.example.rtspbaselinetest W/VideoCapabilities: Unsupported mime video/wvc1
2022-10-18 11:24:26.505 30737-30777/com.example.rtspbaselinetest W/VideoCapabilities: Unsupported mime video/x-ms-wmv
2022-10-18 11:24:26.507 30737-30777/com.example.rtspbaselinetest W/AudioCapabilities: Unsupported mime audio/x-adpcm-dvi-ima
2022-10-18 11:24:26.508 30737-30777/com.example.rtspbaselinetest W/AudioCapabilities: Unsupported mime audio/x-adpcm-dvi-ima
2022-10-18 11:24:26.508 30737-30777/com.example.rtspbaselinetest W/AudioCapabilities: Unsupported mime audio/x-adpcm-ms
2022-10-18 11:24:26.509 30737-30777/com.example.rtspbaselinetest W/AudioCapabilities: Unsupported mime audio/x-adpcm-ms
2022-10-18 11:24:26.510 30737-30777/com.example.rtspbaselinetest W/AudioCapabilities: Unsupported mime audio/alac
2022-10-18 11:24:26.510 30737-30777/com.example.rtspbaselinetest W/AudioCapabilities: Unsupported mime audio/alac
2022-10-18 11:24:26.540 30737-30777/com.example.rtspbaselinetest W/VideoCapabilities: Unsupported mime video/avc-wfd
2022-10-18 11:24:26.594 30737-30777/com.example.rtspbaselinetest D/RtspClient: SETUP rtsp://192.168.8.1:8900/live/stream=0 RTSP/1.0
    User-Agent: ExoPlayerLib/2.18.1
    CSeq: 2
    Transport: RTP/AVP;unicast;client_port=40360-40361
2022-10-18 11:24:26.598 30737-30777/com.example.rtspbaselinetest I/DMCodecAdapterFactory: Creating an asynchronous MediaCodec adapter for track type video
2022-10-18 11:24:26.602 30737-30790/com.example.rtspbaselinetest I/CCodec: state->set(ALLOCATING)
2022-10-18 11:24:26.604 30737-30791/com.example.rtspbaselinetest I/CCodec: allocate(c2.mtk.avc.decoder)
2022-10-18 11:24:26.606 30737-30791/com.example.rtspbaselinetest I/Codec2Client: Available Codec2 services: "default" "default0" "software"
2022-10-18 11:24:26.609 30737-30791/com.example.rtspbaselinetest I/CCodec: setting up 'default' as default (vendor) store
2022-10-18 11:24:26.619 30737-30791/com.example.rtspbaselinetest I/CCodec: Created component [c2.mtk.avc.decoder]
2022-10-18 11:24:26.619 30737-30791/com.example.rtspbaselinetest I/CCodec: state->set(ALLOCATED)
2022-10-18 11:24:26.620 30737-30791/com.example.rtspbaselinetest D/CCodecConfig: read media type: video/avc
2022-10-18 11:24:26.621 30737-30791/com.example.rtspbaselinetest D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.max-count.values
2022-10-18 11:24:26.622 30737-30791/com.example.rtspbaselinetest D/ReflectedParamUpdater: extent() != 1 for single value type: output.subscribed-indices.values
2022-10-18 11:24:26.622 30737-30791/com.example.rtspbaselinetest D/ReflectedParamUpdater: extent() != 1 for single value type: input.buffers.allocator-ids.values
2022-10-18 11:24:26.622 30737-30791/com.example.rtspbaselinetest D/ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.allocator-ids.values
2022-10-18 11:24:26.622 30737-30791/com.example.rtspbaselinetest D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.allocator-ids.values
2022-10-18 11:24:26.622 30737-30791/com.example.rtspbaselinetest D/ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.pool-ids.values
2022-10-18 11:24:26.622 30737-30791/com.example.rtspbaselinetest D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.pool-ids.values
2022-10-18 11:24:26.624 30737-30791/com.example.rtspbaselinetest D/ReflectedParamUpdater: ignored struct field coded.color-format.locations
2022-10-18 11:24:26.626 30737-30791/com.example.rtspbaselinetest D/CCodecConfig: ignoring local param raw.size (0xd2001800) as it is already supported
2022-10-18 11:24:26.626 30737-30791/com.example.rtspbaselinetest D/CCodecConfig: ignoring local param raw.crop (0xd2001801) as it is already supported
2022-10-18 11:24:26.626 30737-30791/com.example.rtspbaselinetest D/CCodecConfig: ignoring local param default.color (0x5200180b) as it is already supported
2022-10-18 11:24:26.626 30737-30791/com.example.rtspbaselinetest D/CCodecConfig: ignoring local param raw.hdr-static-info (0xd200180a) as it is already supported
2022-10-18 11:24:26.626 30737-30791/com.example.rtspbaselinetest I/CCodecConfig: query failed after returning 17 values (BAD_INDEX)
2022-10-18 11:24:26.627 30737-30791/com.example.rtspbaselinetest D/CCodecConfig: c2 config diff is Dict {
      c2::i32 algo.priority.value = 1
      c2::float algo.rate.value = 0
      c2::float coded.frame-rate.value = 30
      c2::u32 coded.pl.level = 20495
      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 = 4
      string input.media-type.value = "video/avc"
      c2::u32 output.delay.value = 12
      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.crop.height = 239
      c2::u32 raw.crop.left = 0
      c2::u32 raw.crop.top = 0
      c2::u32 raw.crop.width = 319
      c2::float raw.hdr-static-info.mastering.blue.x = 0
      c2::float raw.hdr-s
2022-10-18 11:24:26.627 30737-30791/com.example.rtspbaselinetest W/ColorUtils: expected specified color aspects (2:0:0:0)
2022-10-18 11:24:26.632 30737-30790/com.example.rtspbaselinetest I/MediaCodec: MediaCodec will operate in async mode
2022-10-18 11:24:26.633 30737-30790/com.example.rtspbaselinetest D/SurfaceUtils: connecting to surface 0xb400007c7f434010, reason connectToSurface
2022-10-18 11:24:26.633 30737-30790/com.example.rtspbaselinetest I/BufferQueueProducer: [SurfaceView - com.example.rtspbaselinetest/com.example.rtspbaselinetest.MainActivity@3469079@0#1(BLAST Consumer)1](id:781100000001,api:3,p:30737,c:30737) connect: api=3 producerControlledByApp=true
2022-10-18 11:24:26.633 30737-30790/com.example.rtspbaselinetest I/MediaCodec: [c2.mtk.avc.decoder] setting surface generation to 31474689
2022-10-18 11:24:26.633 30737-30790/com.example.rtspbaselinetest D/SurfaceUtils: disconnecting from surface 0xb400007c7f434010, reason connectToSurface(reconnect)
2022-10-18 11:24:26.633 30737-30790/com.example.rtspbaselinetest I/BufferQueueProducer: [SurfaceView - com.example.rtspbaselinetest/com.example.rtspbaselinetest.MainActivity@3469079@0#1(BLAST Consumer)1](id:781100000001,api:3,p:30737,c:30737) disconnect: api 3
2022-10-18 11:24:26.633 30737-30790/com.example.rtspbaselinetest D/SurfaceUtils: connecting to surface 0xb400007c7f434010, reason connectToSurface(reconnect)
2022-10-18 11:24:26.633 30737-30790/com.example.rtspbaselinetest I/BufferQueueProducer: [SurfaceView - com.example.rtspbaselinetest/com.example.rtspbaselinetest.MainActivity@3469079@0#1(BLAST Consumer)1](id:781100000001,api:3,p:30737,c:30737) connect: api=3 producerControlledByApp=true
2022-10-18 11:24:26.633 30737-30791/com.example.rtspbaselinetest D/CCodec: [c2.mtk.avc.decoder] buffers are bound to CCodec for this session
2022-10-18 11:24:26.634 30737-30791/com.example.rtspbaselinetest I/CCodec: appPid(30737) width(640) height(480)
2022-10-18 11:24:26.636 30737-30791/com.example.rtspbaselinetest I/CCodec: VideoController::setValues() isSet [0]
2022-10-18 11:24:26.636 30737-30791/com.example.rtspbaselinetest I/CCodec: set values for [MT6769T]
2022-10-18 11:24:26.636 30737-30791/com.example.rtspbaselinetest D/CCodecConfig: no c2 equivalents for csd-1
2022-10-18 11:24:26.636 30737-30791/com.example.rtspbaselinetest D/CCodecConfig: no c2 equivalents for log-session-id
2022-10-18 11:24:26.636 30737-30791/com.example.rtspbaselinetest D/CCodecConfig: no c2 equivalents for native-window
2022-10-18 11:24:26.636 30737-30791/com.example.rtspbaselinetest D/CCodecConfig: no c2 equivalents for flags
2022-10-18 11:24:26.637 30737-30791/com.example.rtspbaselinetest D/CCodecConfig: c2 config diff is   c2::i32 algo.priority.value = 0
      c2::u32 raw.max-size.height = 480
      c2::u32 raw.max-size.width = 640
      c2::u32 raw.pixel-format.value = 34
      c2::u32 raw.size.height = 480
      c2::u32 raw.size.width = 640
2022-10-18 11:24:26.638 30737-30791/com.example.rtspbaselinetest W/Codec2Client: query -- param skipped: index = 1107298332.
2022-10-18 11:24:26.638 30737-30791/com.example.rtspbaselinetest D/CCodec: client requested max input size 230400, which is smaller than what component recommended (2097152); overriding with component recommendation.
2022-10-18 11:24:26.638 30737-30791/com.example.rtspbaselinetest 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-10-18 11:24:26.638 30737-30791/com.example.rtspbaselinetest D/CCodec: setup formats input: AMessage(what = 0x00000000) = {
      string mime = "video/avc"
      int32_t width = 640
      int32_t profile = 65536
      int32_t priority = 0
      int32_t frame-rate = 30
      int32_t height = 480
      int32_t level = 32768
      int32_t max-input-size = 2097152
      Rect crop(0, 0, 318, 238)
    }
2022-10-18 11:24:26.638 30737-30791/com.example.rtspbaselinetest D/CCodec: setup formats output: AMessage(what = 0x00000000) = {
      int32_t android._color-format = 2130708361
      int32_t android._video-scaling = 1
      int32_t sar-width = 1
      int32_t color-standard = 4
      int32_t color-range = 2
      int32_t color-transfer = 3
      int32_t android._dataspace = 259
      int32_t width = 640
      int32_t rotation-degrees = 0
      int32_t sar-height = 1
      int32_t max-width = 640
      int32_t max-height = 480
      int32_t priority = 0
      string mime = "video/raw"
      Rect crop(0, 0, 318, 238)
      Buffer hdr-static-info = {
        00000000:  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ................
        00000010:  00 00 00 00 00 00 00 00  00                       .........
      }
      int32_t frame-rate = 30
      int32_t height = 480
      int32_t color-format = 2130708361
    }
2022-10-18 11:24:26.638 30737-30791/com.example.rtspbaselinetest I/CCodecConfig: query failed after returning 17 values (BAD_INDEX)
2022-10-18 11:24:26.640 30737-30777/com.example.rtspbaselinetest D/MediaCodec: keep callback message for reclaim
2022-10-18 11:24:26.641 30737-30790/com.example.rtspbaselinetest I/CCodec: state->set(STARTING)
2022-10-18 11:24:26.644 30737-30791/com.example.rtspbaselinetest W/Codec2Client: query -- param skipped: index = 1342179345.
2022-10-18 11:24:26.644 30737-30791/com.example.rtspbaselinetest W/Codec2Client: query -- param skipped: index = 2415921170.
2022-10-18 11:24:26.644 30737-30791/com.example.rtspbaselinetest W/Codec2Client: query -- param skipped: index = 1610614798.
2022-10-18 11:24:26.644 30737-30791/com.example.rtspbaselinetest D/C2Store: Using ION
2022-10-18 11:24:26.647 30737-30791/com.example.rtspbaselinetest D/CCodecBufferChannel: [c2.mtk.avc.decoder#981] Created input block pool with allocatorID 16 => poolID 17 - OK (0)
2022-10-18 11:24:26.647 30737-30791/com.example.rtspbaselinetest I/CCodecBufferChannel: [c2.mtk.avc.decoder#981] start: max output delay 19
2022-10-18 11:24:26.648 30737-30791/com.example.rtspbaselinetest D/CCodecBufferChannel: [c2.mtk.avc.decoder#981] Query output surface allocator returned 0 params => BAD_INDEX (6)
2022-10-18 11:24:26.648 30737-30791/com.example.rtspbaselinetest I/CCodecBufferChannel: [c2.mtk.avc.decoder#981] Created output block pool with allocatorID 18 => poolID 142 - OK
2022-10-18 11:24:26.649 30737-30791/com.example.rtspbaselinetest D/CCodecBufferChannel: [c2.mtk.avc.decoder#981] Configured output block pool ids 142 => OK
2022-10-18 11:24:26.649 30737-30791/com.example.rtspbaselinetest D/Codec2-OutputBufferQueue: C2SurfaceSyncMemory created 20(20)
2022-10-18 11:24:26.649 30737-30791/com.example.rtspbaselinetest D/Codec2-OutputBufferQueue: remote graphic buffer migration 0/0
2022-10-18 11:24:26.649 30737-30791/com.example.rtspbaselinetest D/Codec2Client: setOutputSurface -- generation=31474689 consumer usage=0x900 sync
2022-10-18 11:24:26.650 30737-30791/com.example.rtspbaselinetest D/Codec2Client: Surface configure completed
2022-10-18 11:24:26.650 30737-30791/com.example.rtspbaselinetest I/CCodec: state->set(RUNNING)
2022-10-18 11:24:26.651 30737-30791/com.example.rtspbaselinetest E/ion: ioctl c0044901 failed with code -1: Invalid argument
2022-10-18 11:24:26.652 30737-30790/com.example.rtspbaselinetest I/MediaCodec: setCodecState state(0), called in 6
2022-10-18 11:24:26.654 30737-30777/com.example.rtspbaselinetest D/RtspClient: RTSP/1.0 200 OK
    CSeq: 2
    Transport: RTP/AVP;unicast;client_port=40360-40361;server_port=42108-42109;ssrc=BF15EC43;mode="PLAY"
    Server: GStreamer RTSP server
    Session: sdGyD9-6Ar1--c+d
    Date: Tue, 18 Oct 2022 15:24:37 GMT
2022-10-18 11:24:26.654 30737-30791/com.example.rtspbaselinetest I/CCodecBufferChannel: [c2.mtk.avc.decoder#981] 8 initial input buffers available
2022-10-18 11:24:26.656 30737-30777/com.example.rtspbaselinetest D/RtspClient: PLAY rtsp://192.168.8.1:8900/live RTSP/1.0
    User-Agent: ExoPlayerLib/2.18.1
    CSeq: 3
    Session: sdGyD9-6Ar1--c+d
    Range: npt=0.000-
2022-10-18 11:24:26.674 30737-30791/com.example.rtspbaselinetest D/CCodecBufferChannel: [c2.mtk.avc.decoder#981] flushed work; ignored.
2022-10-18 11:24:26.674 30737-30791/com.example.rtspbaselinetest D/CCodecBufferChannel: [c2.mtk.avc.decoder#981] Discard frames from previous generation.
2022-10-18 11:24:26.674 30737-30791/com.example.rtspbaselinetest D/PipelineWatcher: onWorkDone: frameIndex not found (18446744073709551615); ignored
2022-10-18 11:24:26.676 30737-30791/com.example.rtspbaselinetest I/CCodecBufferChannel: [c2.mtk.avc.decoder#981] updating max output delay 19
2022-10-18 11:24:26.677 30737-30791/com.example.rtspbaselinetest D/Codec2-OutputBufferQueue: set max dequeue count 19 from update
2022-10-18 11:24:26.688 30737-30777/com.example.rtspbaselinetest D/RtspClient: RTSP/1.0 200 OK
    CSeq: 3
    RTP-Info: url=rtsp://192.168.8.1:8900/live/stream=0;seq=6482;rtptime=548377697
    Range: npt=now-
    Server: GStreamer RTSP server
    Session: sdGyD9-6Ar1--c+d
    Date: Tue, 18 Oct 2022 15:24:37 GMT
2022-10-18 11:24:26.703 30737-30791/com.example.rtspbaselinetest D/CCodecConfig: c2 config diff is   c2::u32 raw.crop.height = 480
      c2::u32 raw.crop.width = 640
      c2::u32 raw.pixel-format.value = 2130706433
2022-10-18 11:24:26.704 30737-30791/com.example.rtspbaselinetest D/CCodecBuffers: [c2.mtk.avc.decoder#981:2D-Output] popFromStashAndRegister: at 1000000000000us, output format changed to AMessage(what = 0x00000000) = {
      int32_t android._color-format = 2130706433
      int32_t android._video-scaling = 1
      int32_t sar-width = 1
      int32_t color-standard = 4
      int32_t color-range = 2
      int32_t color-transfer = 3
      int32_t android._dataspace = 259
      int32_t width = 640
      int32_t rotation-degrees = 0
      int32_t sar-height = 1
      int32_t max-width = 640
      int32_t max-height = 480
      int32_t priority = 0
      string mime = "video/raw"
      Rect crop(0, 0, 639, 479)
      Buffer hdr-static-info = {
        00000000:  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ................
        00000010:  00 00 00 00 00 00 00 00  00                       .........
      }
      int32_t frame-rate = 30
      int32_t height = 480
      int32_t color-format = 2130708361
    }
2022-10-18 11:24:26.708 30737-30790/com.example.rtspbaselinetest W/MediaCodec: mapFormat: no mediaType information
2022-10-18 11:24:26.711 30737-30790/com.example.rtspbaselinetest I/MediaCodec: setCodecState state(1), called in 6
2022-10-18 11:24:26.716 30737-30737/com.example.rtspbaselinetest I/SurfaceView@3469079: pST: sr = Rect(0, 845 - 1080, 1655) sw = 1080 sh = 810
2022-10-18 11:24:26.717 30737-30737/com.example.rtspbaselinetest I/SurfaceView@3469079: onSSPAndSRT: pl = 0 pt = 845 sx = 1.0 sy = 1.0
2022-10-18 11:24:26.717 30737-30737/com.example.rtspbaselinetest I/SurfaceView@3469079: pST: mTmpTransaction.apply, mTmpTransaction = android.view.SurfaceControl$Transaction@8ef8c4f
2022-10-18 11:24:26.718 30737-30737/com.example.rtspbaselinetest I/SurfaceView@3469079: updateSurface: mVisible = true mSurface.isValid() = true
2022-10-18 11:24:26.718 30737-30737/com.example.rtspbaselinetest I/SurfaceView@3469079: updateSurface: mSurfaceCreated = true surfaceChanged = false visibleChanged = false
2022-10-18 11:24:26.718 30737-30737/com.example.rtspbaselinetest I/SurfaceView@3469079: surfaceChanged (1080,810) 1 #5 android.view.SurfaceView{3469079 V.E...... ......ID 0,0-1080,810}
2022-10-18 11:24:26.719 30737-30737/com.example.rtspbaselinetest I/ViewRootImpl@ee6e00a[MainActivity]: [DP] dp(1) 1 android.view.SurfaceView.updateSurface:1375 android.view.SurfaceView.setFrame:675 android.view.View.layout:24458 
2022-10-18 11:24:26.720 30737-30737/com.example.rtspbaselinetest I/ViewRootImpl@ee6e00a[MainActivity]: [DP] pdf(0) 1 android.view.SurfaceView.notifyDrawFinished:599 android.view.SurfaceView.performDrawFinished:586 android.view.SurfaceView.$r8$lambda$st27mCkd9jfJkTrN_P3qIGKX6NY:0 
2022-10-18 11:24:26.721 30737-30737/com.example.rtspbaselinetest I/ViewRootImpl@ee6e00a[MainActivity]: [DP] rdf()
2022-10-18 11:24:26.721 30737-30737/com.example.rtspbaselinetest D/ViewRootImpl@ee6e00a[MainActivity]: reportDrawFinished (fn: -1) 
2022-10-18 11:24:26.724 30737-30783/com.example.rtspbaselinetest I/SurfaceView@3469079: uSP: rtp = Rect(0, 845 - 1080, 1655) rtsw = 1080 rtsh = 810
2022-10-18 11:24:26.724 30737-30783/com.example.rtspbaselinetest I/SurfaceView@3469079: onSSPAndSRT: pl = 0 pt = 845 sx = 1.0 sy = 1.0
2022-10-18 11:24:26.725 30737-30783/com.example.rtspbaselinetest I/SurfaceView@3469079: aOrMT: uB = true t = android.view.SurfaceControl$Transaction@7095e2f fN = 104 android.view.SurfaceView.access$500:124 android.view.SurfaceView$SurfaceViewPositionUpdateListener.positionChanged:1728 android.graphics.RenderNode$CompositePositionUpdateListener.positionChanged:319 
2022-10-18 11:24:26.725 30737-30783/com.example.rtspbaselinetest I/SurfaceView@3469079: aOrMT: vR.mWNT, vR = ViewRootImpl@ee6e00a[MainActivity]
2022-10-18 11:24:26.725 30737-30783/com.example.rtspbaselinetest I/ViewRootImpl@ee6e00a[MainActivity]: mWNT: t = android.view.SurfaceControl$Transaction@7095e2f fN = 104 android.view.SurfaceView.applyOrMergeTransaction:1628 android.view.SurfaceView.access$500:124 android.view.SurfaceView$SurfaceViewPositionUpdateListener.positionChanged:1728 
2022-10-18 11:24:26.725 30737-30783/com.example.rtspbaselinetest I/ViewRootImpl@ee6e00a[MainActivity]: mWNT: merge t to BBQ
2022-10-18 11:24:30.631 30737-30737/com.example.rtspbaselinetest I/ViewRootImpl@ee6e00a[MainActivity]: ViewPostIme pointer 0
2022-10-18 11:24:30.696 30737-30737/com.example.rtspbaselinetest I/ViewRootImpl@ee6e00a[MainActivity]: ViewPostIme pointer 1
2022-10-18 11:24:31.969 30737-30790/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c8578b428 : 9(18874368 size) total buffers - 8(16777216 size) used buffers - 80/89 (recycle/alloc) - 9/82 (fetch/transfer)
2022-10-18 11:24:34.729 30737-30749/com.example.rtspbaselinetest W/System: A resource failed to call close. 
2022-10-18 11:24:37.322 30737-30790/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c8578b428 : 9(18874368 size) total buffers - 8(16777216 size) used buffers - 161/170 (recycle/alloc) - 9/163 (fetch/transfer)
2022-10-18 11:24:42.639 30737-30790/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c8578b428 : 9(18874368 size) total buffers - 8(16777216 size) used buffers - 241/250 (recycle/alloc) - 9/243 (fetch/transfer)
2022-10-18 11:24:47.970 30737-30790/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c8578b428 : 9(18874368 size) total buffers - 8(16777216 size) used buffers - 321/330 (recycle/alloc) - 9/323 (fetch/transfer)
2022-10-18 11:24:53.278 30737-30790/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c8578b428 : 9(18874368 size) total buffers - 8(16777216 size) used buffers - 401/410 (recycle/alloc) - 9/403 (fetch/transfer)
2022-10-18 11:24:56.697 30737-30777/com.example.rtspbaselinetest D/RtspClient: OPTIONS rtsp://192.168.8.1:8900/live RTSP/1.0
    User-Agent: ExoPlayerLib/2.18.1
    CSeq: 4
    Session: sdGyD9-6Ar1--c+d
2022-10-18 11:24:56.714 30737-30777/com.example.rtspbaselinetest D/RtspClient: RTSP/1.0 200 OK
    CSeq: 4
    Public: OPTIONS, DESCRIBE, ANNOUNCE, GET_PARAMETER, PAUSE, PLAY, RECORD, SETUP, SET_PARAMETER, TEARDOWN
    Server: GStreamer RTSP server
    Session: sdGyD9-6Ar1--c+d
    Date: Tue, 18 Oct 2022 15:25:07 GMT
2022-10-18 11:24:58.617 30737-30790/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c8578b428 : 9(18874368 size) total buffers - 8(16777216 size) used buffers - 481/490 (recycle/alloc) - 9/483 (fetch/transfer)
2022-10-18 11:25:03.924 30737-30790/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c8578b428 : 9(18874368 size) total buffers - 8(16777216 size) used buffers - 561/570 (recycle/alloc) - 9/563 (fetch/transfer)
2022-10-18 11:25:09.245 30737-30790/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c8578b428 : 9(18874368 size) total buffers - 8(16777216 size) used buffers - 641/650 (recycle/alloc) - 9/643 (fetch/transfer)
2022-10-18 11:25:14.571 30737-30790/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c8578b428 : 9(18874368 size) total buffers - 8(16777216 size) used buffers - 721/730 (recycle/alloc) - 9/723 (fetch/transfer)
2022-10-18 11:25:19.893 30737-30790/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c8578b428 : 9(18874368 size) total buffers - 8(16777216 size) used buffers - 801/810 (recycle/alloc) - 9/803 (fetch/transfer)
2022-10-18 11:25:25.223 30737-30790/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c8578b428 : 9(18874368 size) total buffers - 8(16777216 size) used buffers - 881/890 (recycle/alloc) - 9/883 (fetch/transfer)
2022-10-18 11:25:26.700 30737-30777/com.example.rtspbaselinetest D/RtspClient: OPTIONS rtsp://192.168.8.1:8900/live RTSP/1.0
    User-Agent: ExoPlayerLib/2.18.1
    CSeq: 5
    Session: sdGyD9-6Ar1--c+d
2022-10-18 11:25:26.720 30737-30777/com.example.rtspbaselinetest D/RtspClient: RTSP/1.0 200 OK
    CSeq: 5
    Public: OPTIONS, DESCRIBE, ANNOUNCE, GET_PARAMETER, PAUSE, PLAY, RECORD, SETUP, SET_PARAMETER, TEARDOWN
    Server: GStreamer RTSP server
    Session: sdGyD9-6Ar1--c+d
    Date: Tue, 18 Oct 2022 15:25:37 GMT
2022-10-18 11:25:30.522 30737-30790/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c8578b428 : 9(18874368 size) total buffers - 8(16777216 size) used buffers - 961/970 (recycle/alloc) - 9/963 (fetch/transfer)
2022-10-18 11:25:35.922 30737-30790/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c8578b428 : 9(18874368 size) total buffers - 8(16777216 size) used buffers - 1042/1051 (recycle/alloc) - 9/1044 (fetch/transfer)
2022-10-18 11:25:41.321 30737-30790/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c8578b428 : 9(18874368 size) total buffers - 8(16777216 size) used buffers - 1123/1132 (recycle/alloc) - 9/1125 (fetch/transfer)
2022-10-18 11:25:46.631 30737-30790/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c8578b428 : 9(18874368 size) total buffers - 8(16777216 size) used buffers - 1203/1212 (recycle/alloc) - 9/1205 (fetch/transfer)
2022-10-18 11:25:51.890 30737-30790/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c8578b428 : 9(18874368 size) total buffers - 8(16777216 size) used buffers - 1282/1291 (recycle/alloc) - 9/1284 (fetch/transfer)
2022-10-18 11:25:56.705 30737-30777/com.example.rtspbaselinetest D/RtspClient: OPTIONS rtsp://192.168.8.1:8900/live RTSP/1.0
    User-Agent: ExoPlayerLib/2.18.1
    CSeq: 6
    Session: sdGyD9-6Ar1--c+d
2022-10-18 11:25:56.737 30737-30777/com.example.rtspbaselinetest D/RtspClient: RTSP/1.0 200 OK
    CSeq: 6
    Public: OPTIONS, DESCRIBE, ANNOUNCE, GET_PARAMETER, PAUSE, PLAY, RECORD, SETUP, SET_PARAMETER, TEARDOWN
    Server: GStreamer RTSP server
    Session: sdGyD9-6Ar1--c+d
    Date: Tue, 18 Oct 2022 15:26:07 GMT
2022-10-18 11:25:57.225 30737-30790/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c8578b428 : 9(18874368 size) total buffers - 8(16777216 size) used buffers - 1362/1371 (recycle/alloc) - 9/1364 (fetch/transfer)
2022-10-18 11:26:02.473 30737-30790/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c8578b428 : 9(18874368 size) total buffers - 8(16777216 size) used buffers - 1441/1450 (recycle/alloc) - 9/1443 (fetch/transfer)
2022-10-18 11:26:07.781 30737-30790/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c8578b428 : 9(18874368 size) total buffers - 8(16777216 size) used buffers - 1521/1530 (recycle/alloc) - 9/1523 (fetch/transfer)
2022-10-18 11:26:13.059 30737-30790/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c8578b428 : 9(18874368 size) total buffers - 8(16777216 size) used buffers - 1600/1609 (recycle/alloc) - 9/1602 (fetch/transfer)
2022-10-18 11:26:18.261 30737-30795/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c8578b428 : 9(18874368 size) total buffers - 9(18874368 size) used buffers - 1679/1688 (recycle/alloc) - 9/1680 (fetch/transfer)
2022-10-18 11:26:23.553 30737-30790/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c8578b428 : 9(18874368 size) total buffers - 8(16777216 size) used buffers - 1758/1767 (recycle/alloc) - 9/1760 (fetch/transfer)
2022-10-18 11:26:26.708 30737-30777/com.example.rtspbaselinetest D/RtspClient: OPTIONS rtsp://192.168.8.1:8900/live RTSP/1.0
    User-Agent: ExoPlayerLib/2.18.1
    CSeq: 7
    Session: sdGyD9-6Ar1--c+d
2022-10-18 11:26:26.726 30737-30777/com.example.rtspbaselinetest D/RtspClient: RTSP/1.0 200 OK
    CSeq: 7
    Public: OPTIONS, DESCRIBE, ANNOUNCE, GET_PARAMETER, PAUSE, PLAY, RECORD, SETUP, SET_PARAMETER, TEARDOWN
    Server: GStreamer RTSP server
    Session: sdGyD9-6Ar1--c+d
    Date: Tue, 18 Oct 2022 15:26:37 GMT
2022-10-18 11:26:28.883 30737-30790/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c8578b428 : 9(18874368 size) total buffers - 8(16777216 size) used buffers - 1837/1846 (recycle/alloc) - 9/1839 (fetch/transfer)
2022-10-18 11:26:34.273 30737-30790/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c8578b428 : 9(18874368 size) total buffers - 8(16777216 size) used buffers - 1919/1928 (recycle/alloc) - 9/1921 (fetch/transfer)
2022-10-18 11:26:39.591 30737-30790/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c8578b428 : 9(18874368 size) total buffers - 8(16777216 size) used buffers - 1999/2008 (recycle/alloc) - 9/2001 (fetch/transfer)
2022-10-18 11:26:44.899 30737-30790/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c8578b428 : 9(18874368 size) total buffers - 8(16777216 size) used buffers - 2079/2088 (recycle/alloc) - 9/2081 (fetch/transfer)
2022-10-18 11:26:50.237 30737-30790/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c8578b428 : 9(18874368 size) total buffers - 8(16777216 size) used buffers - 2159/2168 (recycle/alloc) - 9/2161 (fetch/transfer)
2022-10-18 11:26:55.546 30737-30790/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c8578b428 : 9(18874368 size) total buffers - 8(16777216 size) used buffers - 2239/2248 (recycle/alloc) - 9/2241 (fetch/transfer)
2022-10-18 11:26:56.712 30737-30777/com.example.rtspbaselinetest D/RtspClient: OPTIONS rtsp://192.168.8.1:8900/live RTSP/1.0
    User-Agent: ExoPlayerLib/2.18.1
    CSeq: 8
    Session: sdGyD9-6Ar1--c+d
2022-10-18 11:26:56.798 30737-30777/com.example.rtspbaselinetest D/RtspClient: RTSP/1.0 200 OK
    CSeq: 8
    Public: OPTIONS, DESCRIBE, ANNOUNCE, GET_PARAMETER, PAUSE, PLAY, RECORD, SETUP, SET_PARAMETER, TEARDOWN
    Server: GStreamer RTSP server
    Session: sdGyD9-6Ar1--c+d
    Date: Tue, 18 Oct 2022 15:27:07 GMT
2022-10-18 11:27:00.878 30737-30790/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c8578b428 : 9(18874368 size) total buffers - 8(16777216 size) used buffers - 2319/2328 (recycle/alloc) - 9/2321 (fetch/transfer)
2022-10-18 11:27:06.203 30737-30790/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c8578b428 : 9(18874368 size) total buffers - 8(16777216 size) used buffers - 2399/2408 (recycle/alloc) - 9/2401 (fetch/transfer)
2022-10-18 11:27:11.520 30737-30790/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c8578b428 : 9(18874368 size) total buffers - 8(16777216 size) used buffers - 2479/2488 (recycle/alloc) - 9/2481 (fetch/transfer)
2022-10-18 11:27:16.842 30737-30790/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c8578b428 : 9(18874368 size) total buffers - 8(16777216 size) used buffers - 2559/2568 (recycle/alloc) - 9/2561 (fetch/transfer)
2022-10-18 11:27:22.164 30737-30790/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c8578b428 : 9(18874368 size) total buffers - 8(16777216 size) used buffers - 2639/2648 (recycle/alloc) - 9/2641 (fetch/transfer)
2022-10-18 11:27:26.716 30737-30777/com.example.rtspbaselinetest D/RtspClient: OPTIONS rtsp://192.168.8.1:8900/live RTSP/1.0
    User-Agent: ExoPlayerLib/2.18.1
    CSeq: 9
    Session: sdGyD9-6Ar1--c+d
2022-10-18 11:27:26.795 30737-30777/com.example.rtspbaselinetest D/RtspClient: RTSP/1.0 200 OK
    CSeq: 9
    Public: OPTIONS, DESCRIBE, ANNOUNCE, GET_PARAMETER, PAUSE, PLAY, RECORD, SETUP, SET_PARAMETER, TEARDOWN
    Server: GStreamer RTSP server
    Session: sdGyD9-6Ar1--c+d
    Date: Tue, 18 Oct 2022 15:27:37 GMT
2022-10-18 11:27:27.414 30737-30790/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c8578b428 : 9(18874368 size) total buffers - 8(16777216 size) used buffers - 2718/2727 (recycle/alloc) - 9/2720 (fetch/transfer)
2022-10-18 11:27:32.742 30737-30790/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c8578b428 : 9(18874368 size) total buffers - 8(16777216 size) used buffers - 2798/2807 (recycle/alloc) - 9/2800 (fetch/transfer)
2022-10-18 11:27:38.056 30737-30790/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c8578b428 : 9(18874368 size) total buffers - 8(16777216 size) used buffers - 2878/2887 (recycle/alloc) - 9/2880 (fetch/transfer)
2022-10-18 11:27:43.381 30737-30790/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c8578b428 : 9(18874368 size) total buffers - 8(16777216 size) used buffers - 2958/2967 (recycle/alloc) - 9/2960 (fetch/transfer)
2022-10-18 11:27:48.842 30737-30790/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c8578b428 : 9(18874368 size) total buffers - 8(16777216 size) used buffers - 3040/3049 (recycle/alloc) - 9/3042 (fetch/transfer)
2022-10-18 11:27:54.290 30737-30790/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c8578b428 : 9(18874368 size) total buffers - 8(16777216 size) used buffers - 3122/3131 (recycle/alloc) - 9/3124 (fetch/transfer)
2022-10-18 11:27:56.719 30737-30777/com.example.rtspbaselinetest D/RtspClient: OPTIONS rtsp://192.168.8.1:8900/live RTSP/1.0
    User-Agent: ExoPlayerLib/2.18.1
    CSeq: 10
    Session: sdGyD9-6Ar1--c+d
2022-10-18 11:27:56.746 30737-30777/com.example.rtspbaselinetest D/RtspClient: RTSP/1.0 200 OK
    CSeq: 10
    Public: OPTIONS, DESCRIBE, ANNOUNCE, GET_PARAMETER, PAUSE, PLAY, RECORD, SETUP, SET_PARAMETER, TEARDOWN
    Server: GStreamer RTSP server
    Session: sdGyD9-6Ar1--c+d
    Date: Tue, 18 Oct 2022 15:28:07 GMT
2022-10-18 11:27:59.627 30737-30790/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c8578b428 : 9(18874368 size) total buffers - 8(16777216 size) used buffers - 3202/3211 (recycle/alloc) - 9/3204 (fetch/transfer)
2022-10-18 11:28:04.950 30737-30790/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c8578b428 : 9(18874368 size) total buffers - 8(16777216 size) used buffers - 3282/3291 (recycle/alloc) - 9/3284 (fetch/transfer)
2022-10-18 11:28:10.330 30737-30790/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c8578b428 : 9(18874368 size) total buffers - 8(16777216 size) used buffers - 3363/3372 (recycle/alloc) - 9/3365 (fetch/transfer)
2022-10-18 11:28:15.574 30737-30790/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c8578b428 : 9(18874368 size) total buffers - 8(16777216 size) used buffers - 3442/3451 (recycle/alloc) - 9/3444 (fetch/transfer)
2022-10-18 11:28:20.900 30737-30790/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c8578b428 : 9(18874368 size) total buffers - 8(16777216 size) used buffers - 3522/3531 (recycle/alloc) - 9/3524 (fetch/transfer)
2022-10-18 11:28:26.215 30737-30790/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c8578b428 : 9(18874368 size) total buffers - 8(16777216 size) used buffers - 3602/3611 (recycle/alloc) - 9/3604 (fetch/transfer)
2022-10-18 11:28:26.724 30737-30777/com.example.rtspbaselinetest D/RtspClient: OPTIONS rtsp://192.168.8.1:8900/live RTSP/1.0
    User-Agent: ExoPlayerLib/2.18.1
    CSeq: 11
    Session: sdGyD9-6Ar1--c+d
2022-10-18 11:28:26.747 30737-30777/com.example.rtspbaselinetest D/RtspClient: RTSP/1.0 200 OK
    CSeq: 11
    Public: OPTIONS, DESCRIBE, ANNOUNCE, GET_PARAMETER, PAUSE, PLAY, RECORD, SETUP, SET_PARAMETER, TEARDOWN
    Server: GStreamer RTSP server
    Session: sdGyD9-6Ar1--c+d
    Date: Tue, 18 Oct 2022 15:28:37 GMT
2022-10-18 11:28:31.554 30737-30790/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c8578b428 : 9(18874368 size) total buffers - 8(16777216 size) used buffers - 3682/3691 (recycle/alloc) - 9/3684 (fetch/transfer)
2022-10-18 11:28:36.873 30737-30790/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c8578b428 : 9(18874368 size) total buffers - 8(16777216 size) used buffers - 3762/3771 (recycle/alloc) - 9/3764 (fetch/transfer)
2022-10-18 11:28:42.210 30737-30790/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c8578b428 : 9(18874368 size) total buffers - 8(16777216 size) used buffers - 3842/3851 (recycle/alloc) - 9/3844 (fetch/transfer)
2022-10-18 11:28:47.507 30737-30790/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c8578b428 : 9(18874368 size) total buffers - 8(16777216 size) used buffers - 3922/3931 (recycle/alloc) - 9/3924 (fetch/transfer)
2022-10-18 11:28:52.832 30737-30790/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c8578b428 : 9(18874368 size) total buffers - 8(16777216 size) used buffers - 4002/4011 (recycle/alloc) - 9/4004 (fetch/transfer)
2022-10-18 11:28:56.728 30737-30777/com.example.rtspbaselinetest D/RtspClient: OPTIONS rtsp://192.168.8.1:8900/live RTSP/1.0
    User-Agent: ExoPlayerLib/2.18.1
    CSeq: 12
    Session: sdGyD9-6Ar1--c+d
2022-10-18 11:28:56.750 30737-30777/com.example.rtspbaselinetest D/RtspClient: RTSP/1.0 200 OK
    CSeq: 12
    Public: OPTIONS, DESCRIBE, ANNOUNCE, GET_PARAMETER, PAUSE, PLAY, RECORD, SETUP, SET_PARAMETER, TEARDOWN
    Server: GStreamer RTSP server
    Session: sdGyD9-6Ar1--c+d
    Date: Tue, 18 Oct 2022 15:29:07 GMT
2022-10-18 11:28:58.096 30737-30790/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c8578b428 : 9(18874368 size) total buffers - 8(16777216 size) used buffers - 4081/4090 (recycle/alloc) - 9/4083 (fetch/transfer)
2022-10-18 11:29:03.391 30737-30790/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c8578b428 : 9(18874368 size) total buffers - 8(16777216 size) used buffers - 4160/4169 (recycle/alloc) - 9/4162 (fetch/transfer)
2022-10-18 11:29:08.752 30737-30790/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c8578b428 : 9(18874368 size) total buffers - 8(16777216 size) used buffers - 4241/4250 (recycle/alloc) - 9/4243 (fetch/transfer)
2022-10-18 11:29:13.993 30737-30790/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c8578b428 : 9(18874368 size) total buffers - 8(16777216 size) used buffers - 4320/4329 (recycle/alloc) - 9/4322 (fetch/transfer)
2022-10-18 11:29:19.372 30737-30790/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c8578b428 : 9(18874368 size) total buffers - 8(16777216 size) used buffers - 4401/4410 (recycle/alloc) - 9/4403 (fetch/transfer)
2022-10-18 11:29:24.793 30737-30795/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c8578b428 : 9(18874368 size) total buffers - 9(18874368 size) used buffers - 4483/4492 (recycle/alloc) - 9/4484 (fetch/transfer)
2022-10-18 11:29:26.731 30737-30777/com.example.rtspbaselinetest D/RtspClient: OPTIONS rtsp://192.168.8.1:8900/live RTSP/1.0
    User-Agent: ExoPlayerLib/2.18.1
    CSeq: 13
    Session: sdGyD9-6Ar1--c+d
2022-10-18 11:29:26.754 30737-30777/com.example.rtspbaselinetest D/RtspClient: RTSP/1.0 200 OK
    CSeq: 13
    Public: OPTIONS, DESCRIBE, ANNOUNCE, GET_PARAMETER, PAUSE, PLAY, RECORD, SETUP, SET_PARAMETER, TEARDOWN
    Server: GStreamer RTSP server
    Session: sdGyD9-6Ar1--c+d
    Date: Tue, 18 Oct 2022 15:29:37 GMT
2022-10-18 11:29:30.161 30737-30790/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c8578b428 : 9(18874368 size) total buffers - 8(16777216 size) used buffers - 4563/4572 (recycle/alloc) - 9/4565 (fetch/transfer)
2022-10-18 11:29:35.593 30737-30790/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c8578b428 : 9(18874368 size) total buffers - 8(16777216 size) used buffers - 4644/4653 (recycle/alloc) - 9/4646 (fetch/transfer)
2022-10-18 11:29:40.938 30737-30790/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c8578b428 : 9(18874368 size) total buffers - 8(16777216 size) used buffers - 4725/4734 (recycle/alloc) - 9/4727 (fetch/transfer)
2022-10-18 11:29:46.319 30737-30790/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c8578b428 : 9(18874368 size) total buffers - 8(16777216 size) used buffers - 4806/4815 (recycle/alloc) - 9/4808 (fetch/transfer)
2022-10-18 11:29:51.634 30737-30790/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c8578b428 : 9(18874368 size) total buffers - 8(16777216 size) used buffers - 4886/4895 (recycle/alloc) - 9/4888 (fetch/transfer)
2022-10-18 11:29:56.734 30737-30777/com.example.rtspbaselinetest D/RtspClient: OPTIONS rtsp://192.168.8.1:8900/live RTSP/1.0
    User-Agent: ExoPlayerLib/2.18.1
    CSeq: 14
    Session: sdGyD9-6Ar1--c+d
2022-10-18 11:29:56.758 30737-30777/com.example.rtspbaselinetest D/RtspClient: RTSP/1.0 200 OK
    CSeq: 14
    Public: OPTIONS, DESCRIBE, ANNOUNCE, GET_PARAMETER, PAUSE, PLAY, RECORD, SETUP, SET_PARAMETER, TEARDOWN
    Server: GStreamer RTSP server
    Session: sdGyD9-6Ar1--c+d
    Date: Tue, 18 Oct 2022 15:30:07 GMT
2022-10-18 11:29:56.982 30737-30790/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c8578b428 : 9(18874368 size) total buffers - 8(16777216 size) used buffers - 4966/4975 (recycle/alloc) - 9/4968 (fetch/transfer)
2022-10-18 11:30:02.344 30737-30790/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c8578b428 : 9(18874368 size) total buffers - 8(16777216 size) used buffers - 5047/5056 (recycle/alloc) - 9/5049 (fetch/transfer)
2022-10-18 11:30:07.773 30737-30790/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c8578b428 : 9(18874368 size) total buffers - 8(16777216 size) used buffers - 5128/5137 (recycle/alloc) - 9/5130 (fetch/transfer)
2022-10-18 11:30:13.058 30737-30790/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c8578b428 : 9(18874368 size) total buffers - 8(16777216 size) used buffers - 5208/5217 (recycle/alloc) - 9/5210 (fetch/transfer)
2022-10-18 11:30:18.489 30737-30790/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c8578b428 : 9(18874368 size) total buffers - 8(16777216 size) used buffers - 5289/5298 (recycle/alloc) - 9/5291 (fetch/transfer)
2022-10-18 11:30:23.840 30737-30790/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c8578b428 : 9(18874368 size) total buffers - 8(16777216 size) used buffers - 5370/5379 (recycle/alloc) - 9/5372 (fetch/transfer)
2022-10-18 11:30:26.739 30737-30777/com.example.rtspbaselinetest D/RtspClient: OPTIONS rtsp://192.168.8.1:8900/live RTSP/1.0
    User-Agent: ExoPlayerLib/2.18.1
    CSeq: 15
    Session: sdGyD9-6Ar1--c+d
2022-10-18 11:30:26.763 30737-30777/com.example.rtspbaselinetest D/RtspClient: RTSP/1.0 200 OK
    CSeq: 15
    Public: OPTIONS, DESCRIBE, ANNOUNCE, GET_PARAMETER, PAUSE, PLAY, RECORD, SETUP, SET_PARAMETER, TEARDOWN
    Server: GStreamer RTSP server
    Session: sdGyD9-6Ar1--c+d
    Date: Tue, 18 Oct 2022 15:30:37 GMT
2022-10-18 11:30:29.192 30737-30790/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c8578b428 : 9(18874368 size) total buffers - 8(16777216 size) used buffers - 5450/5459 (recycle/alloc) - 9/5452 (fetch/transfer)
2022-10-18 11:30:34.553 30737-30790/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c8578b428 : 9(18874368 size) total buffers - 8(16777216 size) used buffers - 5531/5540 (recycle/alloc) - 9/5533 (fetch/transfer)
2022-10-18 11:30:39.891 30737-30790/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c8578b428 : 9(18874368 size) total buffers - 8(16777216 size) used buffers - 5611/5620 (recycle/alloc) - 9/5613 (fetch/transfer)
2022-10-18 11:30:45.197 30737-30790/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c8578b428 : 9(18874368 size) total buffers - 8(16777216 size) used buffers - 5691/5700 (recycle/alloc) - 9/5693 (fetch/transfer)
2022-10-18 11:30:50.584 30737-30790/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c8578b428 : 9(18874368 size) total buffers - 8(16777216 size) used buffers - 5771/5780 (recycle/alloc) - 9/5773 (fetch/transfer)
2022-10-18 11:30:55.964 30737-30790/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c8578b428 : 9(18874368 size) total buffers - 8(16777216 size) used buffers - 5853/5862 (recycle/alloc) - 9/5855 (fetch/transfer)
2022-10-18 11:30:56.742 30737-30777/com.example.rtspbaselinetest D/RtspClient: OPTIONS rtsp://192.168.8.1:8900/live RTSP/1.0
    User-Agent: ExoPlayerLib/2.18.1
    CSeq: 16
    Session: sdGyD9-6Ar1--c+d
2022-10-18 11:30:56.765 30737-30777/com.example.rtspbaselinetest D/RtspClient: RTSP/1.0 200 OK
    CSeq: 16
    Public: OPTIONS, DESCRIBE, ANNOUNCE, GET_PARAMETER, PAUSE, PLAY, RECORD, SETUP, SET_PARAMETER, TEARDOWN
    Server: GStreamer RTSP server
    Session: sdGyD9-6Ar1--c+d
    Date: Tue, 18 Oct 2022 15:31:07 GMT
2022-10-18 11:31:01.285 30737-30790/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c8578b428 : 9(18874368 size) total buffers - 8(16777216 size) used buffers - 5932/5941 (recycle/alloc) - 9/5934 (fetch/transfer)
2022-10-18 11:31:06.668 30737-30790/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c8578b428 : 9(18874368 size) total buffers - 8(16777216 size) used buffers - 6014/6023 (recycle/alloc) - 9/6016 (fetch/transfer)
2022-10-18 11:31:12.118 30737-30790/com.example.rtspbaselinetest D/BufferPoolAccessor2.0: bufferpool2 0xb400007c8578b428 : 9(18874368 size) total buffers - 8(16777216 size) used buffers - 6095/6104 (recycle/alloc) - 9/6097 (fetch/transfer)
claincly commented 2 years ago

It seems you are indeed using the UDP mode. (you can verify by not seeing Transport: RTP/AVP/TCP in RTSP SETUP.

I'm afraid there's nothing more to do on the RTSP side.

@christosts can you take a look if the LoadControl parameter makes sense to you?

christosts commented 2 years ago

can you take a look if the LoadControl parameter makes sense to you? They are quite low, I don't know if there's room for further improvement if you lower them further.

@kueselj: ExoPlayer was not designed for use-cases that require sub-second latency, such as real-time streaming (webcam viewing, video conferencing, etc). Therefore, several components are not tuned to work as-fast-as possible to achieve the best latency. The player aims to achieve smooth playback without re-buffers, for example, which might require additional buffering at the expense of latency. That said, if your use-case needs sub-second latency, it might be hard to debug several of the ExoPlayer involved components (we have not done this exercise ourselves) and maybe its better to switch to a library that is designed to meet your latency requirements.

@claincly: when the player starts listening to a UDP stream, does it wait until it receives a key-frame for video and drops any preceding data? Would the GOP size (how frequently the encoder inserts a key-frame) play a role in latency? Is there a way to debug this, for example log how many UDP packets are dropped until the first key-frame is received?

[added] If I read the log correctly, there's a ~1 second delay between sending the DESCRIBE message and receiving the response, according to the log timestamps. Now, the log timestamps are not necessarily reliable, but every other message exchange (e.g. OPTIONS, SETUP) is handled within milliseconds.

@claincly can you think of any delay specifically when waiting for the DESCRIBE message response? @kueselj can you monitor the server if/why the DESCRIBE message is sent with a delay?

Wolfleader101 commented 9 months ago

Wondering if anyone has any updates on this?

alexeyvasilyev commented 1 month ago

You can check this library designed specifically for low latency RTSP stream https://github.com/alexeyvasilyev/rtsp-client-android