The first time I tried it I got this
[URL:"rtsp://usr:pwd@192.168.1.40:554/Preview_01_sub"]: Failed to get a SDP description: 401 Unauthorized
Then I created another account - tested in VLC which worked and that gave me the below.
root@orin:~/vst_release/tools# ./testRTSPClient rtsp://usr:pwd@192.168.1.40:554/Preview_01_sub
RTSP url = rtsp://usr:pwd@192.168.1.40:554/Preview_01_sub
rtspURL = rtsp://usr:pwd@192.168.1.40:554/Preview_01_sub, progName = stream_0
[2024-7-2T5:55:35.486Z] RTSP-REQUEST Sending DESCRIBE
Created new TCP socket 3 for connection
Connecting to 192.168.1.40, port 554 on socket 3...
...remote connection opened
Sending request: DESCRIBE rtsp://usr:pwd@192.168.1.40:554/Preview_01_sub RTSP/1.0
CSeq: 2
User-Agent: stream_0 (LIVE555 Streaming Media v2023.07.24)
Accept: application/sdp
Received 170 new bytes of response data.
Received a complete DESCRIBE response:
RTSP/1.0 401 Unauthorized
CSeq: 2
Date: Tue, Jul 02 2024 05:55:36 GMT
WWW-Authenticate: Digest realm="BC Streaming Media", nonce="f526c9798797931f602b9df787f622dc"
Resending...
Sending request: DESCRIBE rtsp://usr:pwd@192.168.1.40:554/Preview_01_sub RTSP/1.0
CSeq: 3
Authorization: Digest username="usr", realm="BC Streaming Media", nonce="f526c9798797931f602b9df787f622dc", uri="rtsp://usr:pwd@192.168.1.40:554/Preview_01_sub", response="52e2e35106d40c3a22bd61de7386bd41"
User-Agent: stream_0 (LIVE555 Streaming Media v2023.07.24)
Accept: application/sdp
Received 848 new bytes of response data.
Received a complete DESCRIBE response:
RTSP/1.0 200 OK
CSeq: 3
Date: Tue, Jul 02 2024 05:55:37 GMT
Content-Base: rtsp://192.168.1.40/Preview_01_sub/
Content-Type: application/sdp
Content-Length: 680
v=0
o=- 1719735273702346 1 IN IP4 172.16.25.1
s=Session streamed by "preview"
t=0 0
a=tool:BC Streaming Media v202210012022.10.01
a=type:broadcast
a=control:*
a=range:npt=now-
a=x-qt-text-nam:Session streamed by "preview"
m=video 0 RTP/AVP 96
c=IN IP4 0.0.0.0
b=AS:8192
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1;profile-level-id=640016;sprop-parameter-sets=Z2QAFqzSAoD2hAAAD6QAATjQEA==,aOqPLA==
a=recvonly
a=control:track1
m=audio 0 RTP/AVP 97
c=IN IP4 0.0.0.0
b=AS:8192
a=rtpmap:97 MPEG4-GENERIC/16000
a=fmtp:97 streamtype=5;profile-level-id=1;mode=AAC-hbr;sizelength=13;indexlength=3;indexdeltalength=3;config=1408
a=recvonly
a=control:track2
[2024-7-2T5:55:35.583Z] RTSP-RESPONSE for DESCRIBE
[URL:"rtsp://192.168.1.40/Preview_01_sub/"]: Got a SDP description:
v=0
o=- 1719735273702346 1 IN IP4 172.16.25.1
s=Session streamed by "preview"
t=0 0
a=tool:BC Streaming Media v202210012022.10.01
a=type:broadcast
a=control:*
a=range:npt=now-
a=x-qt-text-nam:Session streamed by "preview"
m=video 0 RTP/AVP 96
c=IN IP4 0.0.0.0
b=AS:8192
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1;profile-level-id=640016;sprop-parameter-sets=Z2QAFqzSAoD2hAAAD6QAATjQEA==,aOqPLA==
a=recvonly
a=control:track1
m=audio 0 RTP/AVP 97
c=IN IP4 0.0.0.0
b=AS:8192
a=rtpmap:97 MPEG4-GENERIC/16000
a=fmtp:97 streamtype=5;profile-level-id=1;mode=AAC-hbr;sizelength=13;indexlength=3;indexdeltalength=3;config=1408
a=recvonly
a=control:track2
===== scs.subsession->mediumName():video
RTSP-server: Preferred network is not set, Selecting first valid interface
[URL:"rtsp://192.168.1.40/Preview_01_sub/"]: Initiated the "video/H264" subsession (client ports 56940-56941)
current reciever socket buffer size = 212992
New reciever socket buffer size = 425984
[2024-7-2T5:55:35.584Z] RTSP-REQUEST for SETUP video
Sending request: SETUP rtsp://192.168.1.40/Preview_01_sub/track1 RTSP/1.0
CSeq: 4
Authorization: Digest username="usr", realm="BC Streaming Media", nonce="f526c9798797931f602b9df787f622dc", uri="rtsp://192.168.1.40/Preview_01_sub/", response="94fda72677bd9e660746ecb96ccff78b"
User-Agent: stream_0 (LIVE555 Streaming Media v2023.07.24)
Transport: RTP/AVP;unicast;client_port=56940-56941
Received 214 new bytes of response data.
Received a complete SETUP response:
RTSP/1.0 200 OK
CSeq: 4
Date: Tue, Jul 02 2024 05:55:37 GMT
Transport: RTP/AVP;unicast;destination=192.168.1.60;source=192.168.1.40;client_port=56940-56941;server_port=6970-6971
Session: BF1F3829;timeout=65
[2024-7-2T5:55:35.605Z] RTSP-RESPONSE for SETUP video
[URL:"rtsp://192.168.1.40/Preview_01_sub/"]: Set up the "video/H264" subsession (client ports 56940-56941)
[URL:"rtsp://192.168.1.40/Preview_01_sub/"]: Created a data sink for the "video/H264" subsession
===== scs.subsession->mediumName():audio
[URL:"rtsp://192.168.1.40/Preview_01_sub/"]: Initiated the "audio/MPEG4-GENERIC" subsession (client ports 33362-33363)
[2024-7-2T5:55:35.605Z] RTSP-REQUEST for SETUP audio
Sending request: SETUP rtsp://192.168.1.40/Preview_01_sub/track2 RTSP/1.0
CSeq: 5
Authorization: Digest username="usr", realm="BC Streaming Media", nonce="f526c9798797931f602b9df787f622dc", uri="rtsp://192.168.1.40/Preview_01_sub/", response="94fda72677bd9e660746ecb96ccff78b"
User-Agent: stream_0 (LIVE555 Streaming Media v2023.07.24)
Transport: RTP/AVP;unicast;client_port=33362-33363
Session: BF1F3829
Received 214 new bytes of response data.
Received a complete SETUP response:
RTSP/1.0 200 OK
CSeq: 5
Date: Tue, Jul 02 2024 05:55:37 GMT
Transport: RTP/AVP;unicast;destination=192.168.1.60;source=192.168.1.40;client_port=33362-33363;server_port=6972-6973
Session: BF1F3829;timeout=65
[2024-7-2T5:55:35.607Z] RTSP-RESPONSE for SETUP audio
[URL:"rtsp://192.168.1.40/Preview_01_sub/"]: Set up the "audio/MPEG4-GENERIC" subsession (client ports 33362-33363)
[URL:"rtsp://192.168.1.40/Preview_01_sub/"]: Created a data sink for the "audio/MPEG4-GENERIC" subsession
[2024-7-2T5:55:35.607Z] RTSP-REQUEST for PLAY
Sending request: PLAY rtsp://192.168.1.40/Preview_01_sub/ RTSP/1.0
CSeq: 6
Authorization: Digest username="usr", realm="BC Streaming Media", nonce="f526c9798797931f602b9df787f622dc", uri="rtsp://192.168.1.40/Preview_01_sub/", response="566ab377ee945659332ac49acdd5d47f"
User-Agent: stream_0 (LIVE555 Streaming Media v2023.07.24)
Session: BF1F3829
Range: npt=0.000-
==============================================================================
[2024-7-2T5:55:35.610Z] Received RTCP SR video
NTP time = 2024-07-02T05:55:37.102Z
Received at = 2024-07-02T05:55:35.610Z
==============================================================================
==============================================================================
[2024-7-2T5:55:35.610Z] Received RTCP SR audio
NTP time = 2024-07-02T05:55:37.102Z
Received at = 2024-07-02T05:55:35.610Z
==============================================================================
Received 263 new bytes of response data.
Received a complete PLAY response:
RTSP/1.0 200 OK
CSeq: 6
Date: Tue, Jul 02 2024 05:55:37 GMT
Range: npt=0.000-
Session: BF1F3829
RTP-Info: url=rtsp://192.168.1.40/Preview_01_sub/track1;seq=40561;rtptime=950135048,url=rtsp://192.168.1.40/Preview_01_sub/track2;seq=22405;rtptime=2841563567
[2024-7-2T5:55:35.610Z] RTSP-RESPONSE for PLAY
[URL:"rtsp://192.168.1.40/Preview_01_sub/"]: Started playing session...
[2024-7-2T5:55:36.250Z] : [stream_0] total_frameCount:0 video/H264 size: 23 pts: 1719899737.102 nalType:7
[2024-7-2T5:55:36.250Z] : [stream_0] total_frameCount:0 video/H264 size: 8 pts: 1719899737.102 nalType:8
[2024-7-2T5:55:36.262Z] : [stream_0] total_frameCount:0 audio/MPEG4-GENERIC size: 252 pts: 1719899737.102
[2024-7-2T5:55:36.322Z] : [stream_0] total_frameCount:1 audio/MPEG4-GENERIC size: 283 pts: 1719899737.162
[2024-7-2T5:55:36.364Z] : [stream_0] total_frameCount:0 video/H264 size: 38543 pts: 1719899737.102 nalType:5 framediff: 1912818702 latency: -738 sys_diff: 1719899736364 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:55:36.384Z] : [stream_0] total_frameCount:2 audio/MPEG4-GENERIC size: 203 pts: 1719899737.222
[2024-7-2T5:55:36.441Z] : [stream_0] total_frameCount:1 video/H264 size: 474 pts: 1719899737.222 nalType:1 framediff: 120 latency: -781 sys_diff: 77 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:55:36.441Z] : [stream_0] total_frameCount:3 audio/MPEG4-GENERIC size: 223 pts: 1719899737.282
[2024-7-2T5:55:36.501Z] : [stream_0] total_frameCount:4 audio/MPEG4-GENERIC size: 230 pts: 1719899737.342
[2024-7-2T5:55:36.561Z] : [stream_0] total_frameCount:2 video/H264 size: 168 pts: 1719899737.302 nalType:1 framediff: 80 latency: -741 sys_diff: 120 [alert-LargeFrameGap] [alert-futureTs]
########################## Video QoS Data ##############################
Current Time = 2024-7-2T5:55:36.605Z, Name = stream_0
fps = 2.13136e-13, frame count = 3
Packet_loss = 0%
Video_bit_rate = 313.992
packet_gap min = 0ms, max = 119ms, avg = 10ms
#####################################################################
########################## Audio QoS Data ##############################
Current Time = 2024-7-2T5:55:36.607Z, Name = stream_0
Audio_bit_rate = 9.528
#####################################################################
[2024-7-2T5:55:36.624Z] : [stream_0] total_frameCount:5 audio/MPEG4-GENERIC size: 220 pts: 1719899737.462
[2024-7-2T5:55:36.624Z] : [stream_0] total_frameCount:6 audio/MPEG4-GENERIC size: 229 pts: 1719899737.462
[2024-7-2T5:55:36.647Z] : [stream_0] total_frameCount:3 video/H264 size: 124 pts: 1719899737.422 nalType:1 framediff: 120 latency: -775 sys_diff: 86 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:55:36.681Z] : [stream_0] total_frameCount:7 audio/MPEG4-GENERIC size: 321 pts: 1719899737.522
[2024-7-2T5:55:36.741Z] : [stream_0] total_frameCount:8 audio/MPEG4-GENERIC size: 334 pts: 1719899737.582
[2024-7-2T5:55:36.762Z] : [stream_0] total_frameCount:4 video/H264 size: 139 pts: 1719899737.502 nalType:1 framediff: 80 latency: -740 sys_diff: 115 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:55:36.832Z] : [stream_0] total_frameCount:5 video/H264 size: 117 pts: 1719899737.622 nalType:1 framediff: 120 latency: -790 sys_diff: 70 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:55:36.852Z] : [stream_0] total_frameCount:9 audio/MPEG4-GENERIC size: 339 pts: 1719899737.693
[2024-7-2T5:55:36.912Z] : [stream_0] total_frameCount:10 audio/MPEG4-GENERIC size: 267 pts: 1719899737.753
[2024-7-2T5:55:36.956Z] : [stream_0] total_frameCount:6 video/H264 size: 115 pts: 1719899737.692 nalType:1 framediff: 70 latency: -736 sys_diff: 124 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:55:36.971Z] : [stream_0] total_frameCount:11 audio/MPEG4-GENERIC size: 304 pts: 1719899737.812
[2024-7-2T5:55:37.33Z] : [stream_0] total_frameCount:12 audio/MPEG4-GENERIC size: 309 pts: 1719899737.873
[2024-7-2T5:55:37.33Z] : [stream_0] total_frameCount:7 video/H264 size: 103 pts: 1719899737.813 nalType:1 framediff: 121 latency: -780 sys_diff: 77 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:55:37.91Z] : [stream_0] total_frameCount:13 audio/MPEG4-GENERIC size: 307 pts: 1719899737.932
[2024-7-2T5:55:37.158Z] : [stream_0] total_frameCount:14 audio/MPEG4-GENERIC size: 211 pts: 1719899737.993
[2024-7-2T5:55:37.158Z] : [stream_0] total_frameCount:8 video/H264 size: 102 pts: 1719899737.893 nalType:1 framediff: 80 latency: -735 sys_diff: 125 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:55:37.214Z] : [stream_0] total_frameCount:15 audio/MPEG4-GENERIC size: 164 pts: 1719899738.052
[2024-7-2T5:55:37.239Z] : [stream_0] total_frameCount:9 video/H264 size: 120 pts: 1719899738.013 nalType:1 framediff: 120 latency: -774 sys_diff: 81 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:55:37.239Z] : [stream_0] total_frameCount:10 video/H264 size: 23 pts: 1719899738.093 nalType:7
[2024-7-2T5:55:37.239Z] : [stream_0] total_frameCount:10 video/H264 size: 8 pts: 1719899738.093 nalType:8
[2024-7-2T5:55:37.280Z] : [stream_0] total_frameCount:16 audio/MPEG4-GENERIC size: 200 pts: 1719899738.113
[2024-7-2T5:55:37.333Z] : [stream_0] total_frameCount:17 audio/MPEG4-GENERIC size: 319 pts: 1719899738.173
[2024-7-2T5:55:37.354Z] : [stream_0] total_frameCount:10 video/H264 size: 38443 pts: 1719899738.093 nalType:5 framediff: 80 latency: -739 sys_diff: 115 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:55:37.392Z] : [stream_0] total_frameCount:18 audio/MPEG4-GENERIC size: 297 pts: 1719899738.233
[2024-7-2T5:55:37.436Z] : [stream_0] total_frameCount:11 video/H264 size: 432 pts: 1719899738.213 nalType:1 framediff: 120 latency: -777 sys_diff: 82 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:55:37.451Z] : [stream_0] total_frameCount:19 audio/MPEG4-GENERIC size: 204 pts: 1719899738.293
[2024-7-2T5:55:37.511Z] : [stream_0] total_frameCount:20 audio/MPEG4-GENERIC size: 217 pts: 1719899738.352
[2024-7-2T5:55:37.551Z] : [stream_0] total_frameCount:12 video/H264 size: 123 pts: 1719899738.293 nalType:1 framediff: 80 latency: -742 sys_diff: 115 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:55:37.570Z] : [stream_0] total_frameCount:21 audio/MPEG4-GENERIC size: 340 pts: 1719899738.412
########################## Video QoS Data ##############################
Current Time = 2024-7-2T5:55:37.605Z, Name = stream_0
fps = 10.101, frame count = 10
Packet_loss = 0%
Video_bit_rate = 318.832
packet_gap min = 0ms, max = 124ms, avg = 26ms
#####################################################################
########################## Audio QoS Data ##############################
Current Time = 2024-7-2T5:55:37.608Z, Name = stream_0
Audio_bit_rate = 36.656
#####################################################################
[2024-7-2T5:55:37.631Z] : [stream_0] total_frameCount:13 video/H264 size: 92 pts: 1719899738.412 nalType:1 framediff: 119 latency: -781 sys_diff: 80 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:55:37.694Z] : [stream_0] total_frameCount:22 audio/MPEG4-GENERIC size: 228 pts: 1719899738.532
[2024-7-2T5:55:37.755Z] : [stream_0] total_frameCount:23 audio/MPEG4-GENERIC size: 206 pts: 1719899738.592
[2024-7-2T5:55:37.756Z] : [stream_0] total_frameCount:14 video/H264 size: 93 pts: 1719899738.492 nalType:1 framediff: 80 latency: -736 sys_diff: 125 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:55:37.815Z] : [stream_0] total_frameCount:24 audio/MPEG4-GENERIC size: 323 pts: 1719899738.652
[2024-7-2T5:55:37.836Z] : [stream_0] total_frameCount:15 video/H264 size: 157 pts: 1719899738.612 nalType:1 framediff: 120 latency: -776 sys_diff: 80 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:55:37.874Z] : [stream_0] total_frameCount:25 audio/MPEG4-GENERIC size: 331 pts: 1719899738.712
[2024-7-2T5:55:37.931Z] : [stream_0] total_frameCount:26 audio/MPEG4-GENERIC size: 324 pts: 1719899738.772
[2024-7-2T5:55:37.951Z] : [stream_0] total_frameCount:16 video/H264 size: 80 pts: 1719899738.693 nalType:1 framediff: 81 latency: -742 sys_diff: 115 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:55:37.991Z] : [stream_0] total_frameCount:27 audio/MPEG4-GENERIC size: 296 pts: 1719899738.832
[2024-7-2T5:55:38.31Z] : [stream_0] total_frameCount:17 video/H264 size: 146 pts: 1719899738.813 nalType:1 framediff: 120 latency: -782 sys_diff: 80 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:55:38.52Z] : [stream_0] total_frameCount:28 audio/MPEG4-GENERIC size: 307 pts: 1719899738.892
[2024-7-2T5:55:38.111Z] : [stream_0] total_frameCount:29 audio/MPEG4-GENERIC size: 307 pts: 1719899738.952
[2024-7-2T5:55:38.153Z] : [stream_0] total_frameCount:18 video/H264 size: 126 pts: 1719899738.893 nalType:1 framediff: 80 latency: -740 sys_diff: 122 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:55:38.184Z] : [stream_0] total_frameCount:30 audio/MPEG4-GENERIC size: 261 pts: 1719899739.012
[2024-7-2T5:55:38.236Z] : [stream_0] total_frameCount:19 video/H264 size: 103 pts: 1719899739.012 nalType:1 framediff: 119 latency: -776 sys_diff: 83 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:55:38.236Z] : [stream_0] total_frameCount:31 audio/MPEG4-GENERIC size: 282 pts: 1719899739.073
[2024-7-2T5:55:38.236Z] : [stream_0] total_frameCount:20 video/H264 size: 23 pts: 1719899739.093 nalType:7
[2024-7-2T5:55:38.236Z] : [stream_0] total_frameCount:20 video/H264 size: 8 pts: 1719899739.093 nalType:8
[2024-7-2T5:55:38.305Z] : [stream_0] total_frameCount:32 audio/MPEG4-GENERIC size: 260 pts: 1719899739.132
==============================================================================
[2024-7-2T5:55:38.313Z] Received RTCP SR audio
NTP time = 2024-07-02T05:55:39.805Z
Received at = 2024-07-02T05:55:38.313Z
==============================================================================
[2024-7-2T5:55:38.357Z] : [stream_0] total_frameCount:33 audio/MPEG4-GENERIC size: 210 pts: 1719899739.844
[2024-7-2T5:55:38.367Z] : [stream_0] total_frameCount:20 video/H264 size: 35987 pts: 1719899739.093 nalType:5 framediff: 81 latency: -726 sys_diff: 131 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:55:38.414Z] : [stream_0] total_frameCount:34 audio/MPEG4-GENERIC size: 211 pts: 1719899739.904
==============================================================================
[2024-7-2T5:55:38.414Z] Received RTCP SR video
NTP time = 2024-07-02T05:55:39.884Z
Received at = 2024-07-02T05:55:38.414Z
==============================================================================
[2024-7-2T5:55:38.431Z] : [stream_0] total_frameCount:21 video/H264 size: 651 pts: 1719899739.844 nalType:1 framediff: 751 latency: -1413 sys_diff: 64 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:55:38.471Z] : [stream_0] total_frameCount:35 audio/MPEG4-GENERIC size: 209 pts: 1719899739.964
[2024-7-2T5:55:38.530Z] : [stream_0] total_frameCount:36 audio/MPEG4-GENERIC size: 314 pts: 1719899740.024
[2024-7-2T5:55:38.551Z] : [stream_0] total_frameCount:22 video/H264 size: 468 pts: 1719899739.925 nalType:1 framediff: 81 latency: -1374 sys_diff: 120 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:55:38.591Z] : [stream_0] total_frameCount:37 audio/MPEG4-GENERIC size: 224 pts: 1719899740.084
########################## Video QoS Data ##############################
Current Time = 2024-7-2T5:55:38.605Z, Name = stream_0
fps = 10, frame count = 10
Packet_loss = 0%
Video_bit_rate = 303.496
packet_gap min = 0ms, max = 124ms, avg = 27ms
#####################################################################
########################## Audio QoS Data ##############################
Current Time = 2024-7-2T5:55:38.608Z, Name = stream_0
Audio_bit_rate = 34.344
#####################################################################
[2024-7-2T5:55:38.631Z] : [stream_0] total_frameCount:23 video/H264 size: 159 pts: 1719899740.044 nalType:1 framediff: 119 latency: -1413 sys_diff: 80 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:55:38.711Z] : [stream_0] total_frameCount:38 audio/MPEG4-GENERIC size: 203 pts: 1719899740.204
[2024-7-2T5:55:38.711Z] : [stream_0] total_frameCount:39 audio/MPEG4-GENERIC size: 193 pts: 1719899740.204
[2024-7-2T5:55:38.751Z] : [stream_0] total_frameCount:24 video/H264 size: 166 pts: 1719899740.125 nalType:1 framediff: 81 latency: -1374 sys_diff: 120 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:55:38.831Z] : [stream_0] total_frameCount:25 video/H264 size: 180 pts: 1719899740.244 nalType:1 framediff: 119 latency: -1413 sys_diff: 80 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:55:38.831Z] : [stream_0] total_frameCount:40 audio/MPEG4-GENERIC size: 215 pts: 1719899740.324
[2024-7-2T5:55:38.897Z] : [stream_0] total_frameCount:41 audio/MPEG4-GENERIC size: 241 pts: 1719899740.384
[2024-7-2T5:55:38.950Z] : [stream_0] total_frameCount:26 video/H264 size: 139 pts: 1719899740.324 nalType:1 framediff: 80 latency: -1374 sys_diff: 119 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:55:38.950Z] : [stream_0] total_frameCount:42 audio/MPEG4-GENERIC size: 319 pts: 1719899740.444
[2024-7-2T5:55:39.42Z] : [stream_0] total_frameCount:43 audio/MPEG4-GENERIC size: 377 pts: 1719899740.504
[2024-7-2T5:55:39.42Z] : [stream_0] total_frameCount:27 video/H264 size: 112 pts: 1719899740.444 nalType:1 framediff: 120 latency: -1402 sys_diff: 92 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:55:39.75Z] : [stream_0] total_frameCount:44 audio/MPEG4-GENERIC size: 235 pts: 1719899740.564
[2024-7-2T5:55:39.130Z] : [stream_0] total_frameCount:45 audio/MPEG4-GENERIC size: 203 pts: 1719899740.624
[2024-7-2T5:55:39.151Z] : [stream_0] total_frameCount:28 video/H264 size: 98 pts: 1719899740.524 nalType:1 framediff: 80 latency: -1373 sys_diff: 109 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:55:39.192Z] : [stream_0] total_frameCount:46 audio/MPEG4-GENERIC size: 350 pts: 1719899740.684
[2024-7-2T5:55:39.231Z] : [stream_0] total_frameCount:29 video/H264 size: 139 pts: 1719899740.645 nalType:1 framediff: 121 latency: -1414 sys_diff: 80 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:55:39.231Z] : [stream_0] total_frameCount:30 video/H264 size: 23 pts: 1719899740.725 nalType:7
[2024-7-2T5:55:39.231Z] : [stream_0] total_frameCount:30 video/H264 size: 8 pts: 1719899740.725 nalType:8
[2024-7-2T5:55:39.310Z] : [stream_0] total_frameCount:47 audio/MPEG4-GENERIC size: 235 pts: 1719899740.804
[2024-7-2T5:55:39.324Z] : [stream_0] total_frameCount:48 audio/MPEG4-GENERIC size: 167 pts: 1719899740.804
[2024-7-2T5:55:39.353Z] : [stream_0] total_frameCount:30 video/H264 size: 38387 pts: 1719899740.725 nalType:5 framediff: 80 latency: -1372 sys_diff: 122 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:55:39.370Z] : [stream_0] total_frameCount:49 audio/MPEG4-GENERIC size: 237 pts: 1719899740.864
[2024-7-2T5:55:39.430Z] : [stream_0] total_frameCount:31 video/H264 size: 453 pts: 1719899740.844 nalType:1 framediff: 119 latency: -1414 sys_diff: 77 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:55:39.430Z] : [stream_0] total_frameCount:50 audio/MPEG4-GENERIC size: 268 pts: 1719899740.924
########################## Video QoS Data ##############################
Current Time = 2024-7-2T5:55:39.605Z, Name = stream_0
fps = 10.3093, frame count = 9
Packet_loss = 0%
Video_bit_rate = 318.984
packet_gap min = 0ms, max = 124ms, avg = 23ms
#####################################################################
########################## Audio QoS Data ##############################
Current Time = 2024-7-2T5:55:39.608Z, Name = stream_0
Audio_bit_rate = 25.944
#####################################################################
[2024-7-2T5:55:39.706Z] : [stream_0] total_frameCount:51 audio/MPEG4-GENERIC size: 339 pts: 1719899740.984
[2024-7-2T5:55:39.706Z] : [stream_0] total_frameCount:32 video/H264 size: 134 pts: 1719899740.924 nalType:1 framediff: 80 latency: -1218 sys_diff: 276 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:55:39.706Z] : [stream_0] total_frameCount:52 audio/MPEG4-GENERIC size: 302 pts: 1719899741.103
[2024-7-2T5:55:39.706Z] : [stream_0] total_frameCount:33 video/H264 size: 154 pts: 1719899741.044 nalType:1 framediff: 120 latency: -1338 sys_diff: 0 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:55:39.706Z] : [stream_0] total_frameCount:53 audio/MPEG4-GENERIC size: 262 pts: 1719899741.104
[2024-7-2T5:55:39.731Z] : [stream_0] total_frameCount:54 audio/MPEG4-GENERIC size: 314 pts: 1719899741.224
[2024-7-2T5:55:39.751Z] : [stream_0] total_frameCount:34 video/H264 size: 118 pts: 1719899741.124 nalType:1 framediff: 80 latency: -1373 sys_diff: 45 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:55:39.794Z] : [stream_0] total_frameCount:55 audio/MPEG4-GENERIC size: 311 pts: 1719899741.284
[2024-7-2T5:55:39.835Z] : [stream_0] total_frameCount:35 video/H264 size: 142 pts: 1719899741.245 nalType:1 framediff: 121 latency: -1410 sys_diff: 84 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:55:39.853Z] : [stream_0] total_frameCount:56 audio/MPEG4-GENERIC size: 309 pts: 1719899741.344
[2024-7-2T5:55:39.910Z] : [stream_0] total_frameCount:57 audio/MPEG4-GENERIC size: 250 pts: 1719899741.404
[2024-7-2T5:55:39.951Z] : [stream_0] total_frameCount:36 video/H264 size: 124 pts: 1719899741.325 nalType:1 framediff: 80 latency: -1374 sys_diff: 116 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:55:39.970Z] : [stream_0] total_frameCount:58 audio/MPEG4-GENERIC size: 246 pts: 1719899741.464
[2024-7-2T5:55:40.41Z] : [stream_0] total_frameCount:59 audio/MPEG4-GENERIC size: 309 pts: 1719899741.524
[2024-7-2T5:55:40.41Z] : [stream_0] total_frameCount:37 video/H264 size: 108 pts: 1719899741.444 nalType:1 framediff: 119 latency: -1403 sys_diff: 90 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:55:40.93Z] : [stream_0] total_frameCount:60 audio/MPEG4-GENERIC size: 319 pts: 1719899741.584
[2024-7-2T5:55:40.448Z] : [stream_0] total_frameCount:38 video/H264 size: 108 pts: 1719899741.524 nalType:1 framediff: 80 latency: -1076 sys_diff: 407 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:55:40.449Z] : [stream_0] total_frameCount:61 audio/MPEG4-GENERIC size: 325 pts: 1719899741.644
[2024-7-2T5:55:40.449Z] : [stream_0] total_frameCount:39 video/H264 size: 97 pts: 1719899741.644 nalType:1 framediff: 120 latency: -1194 sys_diff: 2 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:55:40.450Z] : [stream_0] total_frameCount:62 audio/MPEG4-GENERIC size: 210 pts: 1719899741.704
[2024-7-2T5:55:40.450Z] : [stream_0] total_frameCount:40 video/H264 size: 23 pts: 1719899741.724 nalType:7
[2024-7-2T5:55:40.450Z] : [stream_0] total_frameCount:63 audio/MPEG4-GENERIC size: 193 pts: 1719899741.764
[2024-7-2T5:55:40.450Z] : [stream_0] total_frameCount:40 video/H264 size: 8 pts: 1719899741.724 nalType:8
[2024-7-2T5:55:40.450Z] : [stream_0] total_frameCount:64 audio/MPEG4-GENERIC size: 219 pts: 1719899741.824
[2024-7-2T5:55:40.450Z] : [stream_0] total_frameCount:65 audio/MPEG4-GENERIC size: 171 pts: 1719899741.884
[2024-7-2T5:55:40.450Z] : [stream_0] total_frameCount:40 video/H264 size: 38600 pts: 1719899741.724 nalType:5 framediff: 80 latency: -1274 sys_diff: 0 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:55:40.450Z] : [stream_0] total_frameCount:41 video/H264 size: 398 pts: 1719899741.844 nalType:1 framediff: 120 latency: -1394 sys_diff: 0 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:55:40.509Z] : [stream_0] total_frameCount:66 audio/MPEG4-GENERIC size: 297 pts: 1719899742.003
[2024-7-2T5:55:40.549Z] : [stream_0] total_frameCount:42 video/H264 size: 235 pts: 1719899741.925 nalType:1 framediff: 81 latency: -1376 sys_diff: 99 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:55:40.569Z] : [stream_0] total_frameCount:67 audio/MPEG4-GENERIC size: 274 pts: 1719899742.064
########################## Video QoS Data ##############################
Current Time = 2024-7-2T5:55:40.606Z, Name = stream_0
fps = 9.90099, frame count = 11
Packet_loss = 0%
Video_bit_rate = 322
packet_gap min = 0ms, max = 406ms, avg = 28ms
#####################################################################
########################## Audio QoS Data ##############################
Current Time = 2024-7-2T5:55:40.608Z, Name = stream_0
Audio_bit_rate = 37.2
#####################################################################
[2024-7-2T5:55:40.638Z] : [stream_0] total_frameCount:68 audio/MPEG4-GENERIC size: 281 pts: 1719899742.124
[2024-7-2T5:55:40.638Z] : [stream_0] total_frameCount:43 video/H264 size: 118 pts: 1719899742.044 nalType:1 framediff: 119 latency: -1405 sys_diff: 90 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:55:40.639Z] : [stream_0] total_frameCount:69 audio/MPEG4-GENERIC size: 265 pts: 1719899742.124
[2024-7-2T5:55:40.756Z] : [stream_0] total_frameCount:70 audio/MPEG4-GENERIC size: 292 pts: 1719899742.244
[2024-7-2T5:55:40.790Z] : [stream_0] total_frameCount:44 video/H264 size: 74 pts: 1719899742.124 nalType:1 framediff: 80 latency: -1334 sys_diff: 151 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:55:40.814Z] : [stream_0] total_frameCount:71 audio/MPEG4-GENERIC size: 325 pts: 1719899742.304
[2024-7-2T5:55:40.829Z] : [stream_0] total_frameCount:45 video/H264 size: 152 pts: 1719899742.284 nalType:1 framediff: 160 latency: -1455 sys_diff: 39 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:55:41.182Z] : [stream_0] total_frameCount:72 audio/MPEG4-GENERIC size: 301 pts: 1719899742.364
[2024-7-2T5:55:41.182Z] : [stream_0] total_frameCount:46 video/H264 size: 70 pts: 1719899742.324 nalType:1 framediff: 40 latency: -1141 sys_diff: 354 [alert-futureTs]
[2024-7-2T5:55:41.183Z] : [stream_0] total_frameCount:73 audio/MPEG4-GENERIC size: 311 pts: 1719899742.424
[2024-7-2T5:55:41.183Z] : [stream_0] total_frameCount:47 video/H264 size: 126 pts: 1719899742.444 nalType:1 framediff: 120 latency: -1261 sys_diff: 0 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:55:41.183Z] : [stream_0] total_frameCount:74 audio/MPEG4-GENERIC size: 314 pts: 1719899742.484
[2024-7-2T5:55:41.183Z] : [stream_0] total_frameCount:48 video/H264 size: 52 pts: 1719899742.524 nalType:1 framediff: 80 latency: -1341 sys_diff: 0 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:55:41.183Z] : [stream_0] total_frameCount:75 audio/MPEG4-GENERIC size: 265 pts: 1719899742.544
[2024-7-2T5:55:41.183Z] : [stream_0] total_frameCount:76 audio/MPEG4-GENERIC size: 273 pts: 1719899742.604
[2024-7-2T5:55:41.232Z] : [stream_0] total_frameCount:77 audio/MPEG4-GENERIC size: 171 pts: 1719899742.724
[2024-7-2T5:55:41.232Z] : [stream_0] total_frameCount:49 video/H264 size: 112 pts: 1719899742.644 nalType:1 framediff: 120 latency: -1412 sys_diff: 49 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:55:41.232Z] : [stream_0] total_frameCount:78 audio/MPEG4-GENERIC size: 212 pts: 1719899742.724
[2024-7-2T5:55:41.233Z] : [stream_0] total_frameCount:50 video/H264 size: 23 pts: 1719899742.724 nalType:7
[2024-7-2T5:55:41.233Z] : [stream_0] total_frameCount:50 video/H264 size: 8 pts: 1719899742.724 nalType:8
[2024-7-2T5:55:41.290Z] : [stream_0] total_frameCount:79 audio/MPEG4-GENERIC size: 287 pts: 1719899742.784
[2024-7-2T5:55:41.354Z] : [stream_0] total_frameCount:80 audio/MPEG4-GENERIC size: 299 pts: 1719899742.844
[2024-7-2T5:55:41.398Z] : [stream_0] total_frameCount:50 video/H264 size: 36081 pts: 1719899742.724 nalType:5 framediff: 80 latency: -1326 sys_diff: 166 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:55:41.459Z] : [stream_0] total_frameCount:81 audio/MPEG4-GENERIC size: 320 pts: 1719899742.904
[2024-7-2T5:55:41.460Z] : [stream_0] total_frameCount:51 video/H264 size: 614 pts: 1719899742.844 nalType:1 framediff: 120 latency: -1384 sys_diff: 62 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:55:41.474Z] : [stream_0] total_frameCount:82 audio/MPEG4-GENERIC size: 320 pts: 1719899742.964
[2024-7-2T5:55:41.549Z] : [stream_0] total_frameCount:52 video/H264 size: 324 pts: 1719899742.925 nalType:1 framediff: 81 latency: -1376 sys_diff: 89 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:55:41.589Z] : [stream_0] total_frameCount:83 audio/MPEG4-GENERIC size: 275 pts: 1719899743.084
########################## Video QoS Data ##############################
Current Time = 2024-7-2T5:55:41.606Z, Name = stream_0
fps = 10, frame count = 10
Packet_loss = 0%
Video_bit_rate = 302.056
packet_gap min = 0ms, max = 406ms, avg = 27ms
#####################################################################
########################## Audio QoS Data ##############################
Current Time = 2024-7-2T5:55:41.608Z, Name = stream_0
Audio_bit_rate = 36.088
#####################################################################
[2024-7-2T5:55:41.915Z] : [stream_0] total_frameCount:84 audio/MPEG4-GENERIC size: 217 pts: 1719899743.144
[2024-7-2T5:55:41.915Z] : [stream_0] total_frameCount:53 video/H264 size: 165 pts: 1719899743.044 nalType:1 framediff: 119 latency: -1129 sys_diff: 366 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:55:41.915Z] : [stream_0] total_frameCount:85 audio/MPEG4-GENERIC size: 164 pts: 1719899743.204
[2024-7-2T5:55:41.916Z] : [stream_0] total_frameCount:54 video/H264 size: 111 pts: 1719899743.124 nalType:1 framediff: 80 latency: -1208 sys_diff: 1 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:55:41.916Z] : [stream_0] total_frameCount:86 audio/MPEG4-GENERIC size: 180 pts: 1719899743.263
[2024-7-2T5:55:41.916Z] : [stream_0] total_frameCount:55 video/H264 size: 148 pts: 1719899743.284 nalType:1 framediff: 160 latency: -1368 sys_diff: 0 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:55:41.916Z] : [stream_0] total_frameCount:87 audio/MPEG4-GENERIC size: 321 pts: 1719899743.324
[2024-7-2T5:55:41.916Z] : [stream_0] total_frameCount:88 audio/MPEG4-GENERIC size: 336 pts: 1719899743.383
[2024-7-2T5:55:41.949Z] : [stream_0] total_frameCount:89 audio/MPEG4-GENERIC size: 326 pts: 1719899743.444
[2024-7-2T5:55:41.950Z] : [stream_0] total_frameCount:56 video/H264 size: 91 pts: 1719899743.325 nalType:1 framediff: 41 latency: -1375 sys_diff: 34 [alert-futureTs]
[2024-7-2T5:55:42.8Z] : [stream_0] total_frameCount:90 audio/MPEG4-GENERIC size: 322 pts: 1719899743.504
[2024-7-2T5:55:42.28Z] : [stream_0] total_frameCount:57 video/H264 size: 101 pts: 1719899743.444 nalType:1 framediff: 119 latency: -1416 sys_diff: 78 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:55:42.70Z] : [stream_0] total_frameCount:91 audio/MPEG4-GENERIC size: 323 pts: 1719899743.564
^C
root@orin:~/vst_release/tools# ./testRTSPClient --tcp rtsp://usr:pwd@192.168.1.40:554/Preview_01_sub
tcp option is enabled
RTSP url = rtsp://usr:pwd@192.168.1.40:554/Preview_01_sub
rtspURL = rtsp://usr:pwd@192.168.1.40:554/Preview_01_sub, progName = stream_0
[2024-7-2T5:56:10.8Z] RTSP-REQUEST Sending DESCRIBE
Created new TCP socket 3 for connection
Connecting to 192.168.1.40, port 554 on socket 3...
...remote connection opened
Sending request: DESCRIBE rtsp://usr:pwd@192.168.1.40:554/Preview_01_sub RTSP/1.0
CSeq: 2
User-Agent: stream_0 (LIVE555 Streaming Media v2023.07.24)
Accept: application/sdp
Received 170 new bytes of response data.
Received a complete DESCRIBE response:
RTSP/1.0 401 Unauthorized
CSeq: 2
Date: Tue, Jul 02 2024 05:56:11 GMT
WWW-Authenticate: Digest realm="BC Streaming Media", nonce="98fce63a7ce806a65b84c07563678d80"
Resending...
Sending request: DESCRIBE rtsp://usr:pwd@192.168.1.40:554/Preview_01_sub RTSP/1.0
CSeq: 3
Authorization: Digest username="usr", realm="BC Streaming Media", nonce="98fce63a7ce806a65b84c07563678d80", uri="rtsp://usr:pwd@192.168.1.40:554/Preview_01_sub", response="9c67f556acb02eb4da3bf1ec6a0c10f0"
User-Agent: stream_0 (LIVE555 Streaming Media v2023.07.24)
Accept: application/sdp
Received 848 new bytes of response data.
Received a complete DESCRIBE response:
RTSP/1.0 200 OK
CSeq: 3
Date: Tue, Jul 02 2024 05:56:11 GMT
Content-Base: rtsp://192.168.1.40/Preview_01_sub/
Content-Type: application/sdp
Content-Length: 680
v=0
o=- 1719735273702346 1 IN IP4 172.16.25.1
s=Session streamed by "preview"
t=0 0
a=tool:BC Streaming Media v202210012022.10.01
a=type:broadcast
a=control:*
a=range:npt=now-
a=x-qt-text-nam:Session streamed by "preview"
m=video 0 RTP/AVP 96
c=IN IP4 0.0.0.0
b=AS:8192
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1;profile-level-id=640016;sprop-parameter-sets=Z2QAFqzSAoD2hAAAD6QAATjQEA==,aOqPLA==
a=recvonly
a=control:track1
m=audio 0 RTP/AVP 97
c=IN IP4 0.0.0.0
b=AS:8192
a=rtpmap:97 MPEG4-GENERIC/16000
a=fmtp:97 streamtype=5;profile-level-id=1;mode=AAC-hbr;sizelength=13;indexlength=3;indexdeltalength=3;config=1408
a=recvonly
a=control:track2
[2024-7-2T5:56:10.104Z] RTSP-RESPONSE for DESCRIBE
[URL:"rtsp://192.168.1.40/Preview_01_sub/"]: Got a SDP description:
v=0
o=- 1719735273702346 1 IN IP4 172.16.25.1
s=Session streamed by "preview"
t=0 0
a=tool:BC Streaming Media v202210012022.10.01
a=type:broadcast
a=control:*
a=range:npt=now-
a=x-qt-text-nam:Session streamed by "preview"
m=video 0 RTP/AVP 96
c=IN IP4 0.0.0.0
b=AS:8192
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1;profile-level-id=640016;sprop-parameter-sets=Z2QAFqzSAoD2hAAAD6QAATjQEA==,aOqPLA==
a=recvonly
a=control:track1
m=audio 0 RTP/AVP 97
c=IN IP4 0.0.0.0
b=AS:8192
a=rtpmap:97 MPEG4-GENERIC/16000
a=fmtp:97 streamtype=5;profile-level-id=1;mode=AAC-hbr;sizelength=13;indexlength=3;indexdeltalength=3;config=1408
a=recvonly
a=control:track2
===== scs.subsession->mediumName():video
RTSP-server: Preferred network is not set, Selecting first valid interface
[URL:"rtsp://192.168.1.40/Preview_01_sub/"]: Initiated the "video/H264" subsession (client ports 43942-43943)
current reciever socket buffer size = 212992
New reciever socket buffer size = 425984
[2024-7-2T5:56:10.105Z] RTSP-REQUEST for SETUP video
Sending request: SETUP rtsp://192.168.1.40/Preview_01_sub/track1 RTSP/1.0
CSeq: 4
Authorization: Digest username="usr", realm="BC Streaming Media", nonce="98fce63a7ce806a65b84c07563678d80", uri="rtsp://192.168.1.40/Preview_01_sub/", response="24ced48dccb90661dc8842446597bde2"
User-Agent: stream_0 (LIVE555 Streaming Media v2023.07.24)
Transport: RTP/AVP/TCP;unicast;interleaved=0-1
Received 188 new bytes of response data.
Received a complete SETUP response:
RTSP/1.0 200 OK
CSeq: 4
Date: Tue, Jul 02 2024 05:56:11 GMT
Transport: RTP/AVP/TCP;unicast;destination=192.168.1.60;source=192.168.1.40;interleaved=0-1
Session: E43EE8A1;timeout=65
[2024-7-2T5:56:10.155Z] RTSP-RESPONSE for SETUP video
[URL:"rtsp://192.168.1.40/Preview_01_sub/"]: Set up the "video/H264" subsession (client ports 43942-43943)
[URL:"rtsp://192.168.1.40/Preview_01_sub/"]: Created a data sink for the "video/H264" subsession
===== scs.subsession->mediumName():audio
[URL:"rtsp://192.168.1.40/Preview_01_sub/"]: Initiated the "audio/MPEG4-GENERIC" subsession (client ports 57764-57765)
[2024-7-2T5:56:10.155Z] RTSP-REQUEST for SETUP audio
Sending request: SETUP rtsp://192.168.1.40/Preview_01_sub/track2 RTSP/1.0
CSeq: 5
Authorization: Digest username="usr", realm="BC Streaming Media", nonce="98fce63a7ce806a65b84c07563678d80", uri="rtsp://192.168.1.40/Preview_01_sub/", response="24ced48dccb90661dc8842446597bde2"
User-Agent: stream_0 (LIVE555 Streaming Media v2023.07.24)
Transport: RTP/AVP/TCP;unicast;interleaved=2-3
Session: E43EE8A1
Received a complete SETUP response:
RTSP/1.0 200 OK
CSeq: 5
Date: Tue, Jul 02 2024 05:56:11 GMT
Transport: RTP/AVP/TCP;unicast;destination=192.168.1.60;source=192.168.1.40;interleaved=2-3
Session: E43EE8A1;timeout=65
[2024-7-2T5:56:10.158Z] RTSP-RESPONSE for SETUP audio
[URL:"rtsp://192.168.1.40/Preview_01_sub/"]: Set up the "audio/MPEG4-GENERIC" subsession (client ports 57764-57765)
[URL:"rtsp://192.168.1.40/Preview_01_sub/"]: Created a data sink for the "audio/MPEG4-GENERIC" subsession
[2024-7-2T5:56:10.158Z] RTSP-REQUEST for PLAY
Sending request: PLAY rtsp://192.168.1.40/Preview_01_sub/ RTSP/1.0
CSeq: 6
Authorization: Digest username="usr", realm="BC Streaming Media", nonce="98fce63a7ce806a65b84c07563678d80", uri="rtsp://192.168.1.40/Preview_01_sub/", response="b7f89edadd3f42e81b43f17a5a8466eb"
User-Agent: stream_0 (LIVE555 Streaming Media v2023.07.24)
Session: E43EE8A1
Range: npt=0.000-
==============================================================================
[2024-7-2T5:56:10.241Z] Received RTCP SR video
NTP time = 2024-07-02T05:56:11.481Z
Received at = 2024-07-02T05:56:10.241Z
==============================================================================
==============================================================================
[2024-7-2T5:56:10.241Z] Received RTCP SR audio
NTP time = 2024-07-02T05:56:11.481Z
Received at = 2024-07-02T05:56:10.241Z
==============================================================================
Received a complete PLAY response:
RTSP/1.0 200 OK
CSeq: 6
Date: Tue, Jul 02 2024 05:56:11 GMT
Range: npt=0.000-
Session: E43EE8A1
RTP-Info: url=rtsp://192.168.1.40/Preview_01_sub/track1;seq=20350;rtptime=959015950,url=rtsp://192.168.1.40/Preview_01_sub/track2;seq=28121;rtptime=4129882664
[2024-7-2T5:56:10.242Z] RTSP-RESPONSE for PLAY
[URL:"rtsp://192.168.1.40/Preview_01_sub/"]: Started playing session...
[2024-7-2T5:56:10.709Z] : [stream_0] total_frameCount:0 video/H264 size: 23 pts: 1719899771.481 nalType:7
[2024-7-2T5:56:10.710Z] : [stream_0] total_frameCount:0 video/H264 size: 8 pts: 1719899771.481 nalType:8
[2024-7-2T5:56:10.710Z] : [stream_0] total_frameCount:0 audio/MPEG4-GENERIC size: 224 pts: 1719899771.482
[2024-7-2T5:56:10.710Z] : [stream_0] total_frameCount:1 audio/MPEG4-GENERIC size: 234 pts: 1719899771.541
[2024-7-2T5:56:10.743Z] : [stream_0] total_frameCount:0 video/H264 size: 38721 pts: 1719899771.481 nalType:5 framediff: 1912853081 latency: -738 sys_diff: 1719899770743 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:56:10.743Z] : [stream_0] total_frameCount:2 audio/MPEG4-GENERIC size: 208 pts: 1719899771.601
[2024-7-2T5:56:10.743Z] : [stream_0] total_frameCount:1 video/H264 size: 455 pts: 1719899771.601 nalType:1 framediff: 120 latency: -858 sys_diff: 0 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:56:10.743Z] : [stream_0] total_frameCount:3 audio/MPEG4-GENERIC size: 222 pts: 1719899771.721
[2024-7-2T5:56:10.757Z] : [stream_0] total_frameCount:4 audio/MPEG4-GENERIC size: 224 pts: 1719899771.781
[2024-7-2T5:56:10.757Z] : [stream_0] total_frameCount:2 video/H264 size: 149 pts: 1719899771.681 nalType:1 framediff: 80 latency: -924 sys_diff: 14 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:56:10.818Z] : [stream_0] total_frameCount:5 audio/MPEG4-GENERIC size: 313 pts: 1719899771.841
[2024-7-2T5:56:10.847Z] : [stream_0] total_frameCount:3 video/H264 size: 85 pts: 1719899771.801 nalType:1 framediff: 120 latency: -954 sys_diff: 90 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:56:10.879Z] : [stream_0] total_frameCount:6 audio/MPEG4-GENERIC size: 326 pts: 1719899771.901
[2024-7-2T5:56:10.950Z] : [stream_0] total_frameCount:7 audio/MPEG4-GENERIC size: 281 pts: 1719899771.961
[2024-7-2T5:56:11.7Z] : [stream_0] total_frameCount:4 video/H264 size: 98 pts: 1719899771.881 nalType:1 framediff: 80 latency: -874 sys_diff: 160 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:56:11.7Z] : [stream_0] total_frameCount:8 audio/MPEG4-GENERIC size: 267 pts: 1719899772.021
[2024-7-2T5:56:11.53Z] : [stream_0] total_frameCount:5 video/H264 size: 148 pts: 1719899772.041 nalType:1 framediff: 160 latency: -988 sys_diff: 46 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:56:11.59Z] : [stream_0] total_frameCount:9 audio/MPEG4-GENERIC size: 306 pts: 1719899772.081
########################## Video QoS Data ##############################
Current Time = 2024-7-2T5:56:11.155Z, Name = stream_0
fps = 9.26428e-13, frame count = 6
Packet_loss = 0%
Video_bit_rate = 317.664
packet_gap min = 0ms, max = 160ms, avg = 10ms
#####################################################################
########################## Audio QoS Data ##############################
Current Time = 2024-7-2T5:56:11.158Z, Name = stream_0
Audio_bit_rate = 20.84
#####################################################################
[2024-7-2T5:56:11.472Z] : [stream_0] total_frameCount:10 audio/MPEG4-GENERIC size: 313 pts: 1719899772.143
[2024-7-2T5:56:11.472Z] : [stream_0] total_frameCount:6 video/H264 size: 137 pts: 1719899772.081 nalType:1 framediff: 40 latency: -609 sys_diff: 419 [alert-futureTs]
[2024-7-2T5:56:11.472Z] : [stream_0] total_frameCount:11 audio/MPEG4-GENERIC size: 338 pts: 1719899772.201
[2024-7-2T5:56:11.472Z] : [stream_0] total_frameCount:12 audio/MPEG4-GENERIC size: 276 pts: 1719899772.261
[2024-7-2T5:56:11.473Z] : [stream_0] total_frameCount:7 video/H264 size: 125 pts: 1719899772.202 nalType:1 framediff: 121 latency: -729 sys_diff: 1 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:56:11.473Z] : [stream_0] total_frameCount:13 audio/MPEG4-GENERIC size: 246 pts: 1719899772.321
[2024-7-2T5:56:11.475Z] : [stream_0] total_frameCount:14 audio/MPEG4-GENERIC size: 264 pts: 1719899772.381
[2024-7-2T5:56:11.475Z] : [stream_0] total_frameCount:8 video/H264 size: 83 pts: 1719899772.281 nalType:1 framediff: 79 latency: -806 sys_diff: 2 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:56:11.475Z] : [stream_0] total_frameCount:15 audio/MPEG4-GENERIC size: 214 pts: 1719899772.441
[2024-7-2T5:56:11.475Z] : [stream_0] total_frameCount:9 video/H264 size: 99 pts: 1719899772.401 nalType:1 framediff: 120 latency: -926 sys_diff: 0 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:56:11.475Z] : [stream_0] total_frameCount:10 video/H264 size: 23 pts: 1719899772.481 nalType:7
[2024-7-2T5:56:11.475Z] : [stream_0] total_frameCount:10 video/H264 size: 8 pts: 1719899772.481 nalType:8
[2024-7-2T5:56:11.483Z] : [stream_0] total_frameCount:16 audio/MPEG4-GENERIC size: 172 pts: 1719899772.502
[2024-7-2T5:56:11.558Z] : [stream_0] total_frameCount:17 audio/MPEG4-GENERIC size: 176 pts: 1719899772.561
[2024-7-2T5:56:11.584Z] : [stream_0] total_frameCount:10 video/H264 size: 36071 pts: 1719899772.481 nalType:5 framediff: 80 latency: -897 sys_diff: 109 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:56:11.604Z] : [stream_0] total_frameCount:18 audio/MPEG4-GENERIC size: 331 pts: 1719899772.622
[2024-7-2T5:56:11.645Z] : [stream_0] total_frameCount:11 video/H264 size: 707 pts: 1719899772.601 nalType:1 framediff: 120 latency: -956 sys_diff: 61 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:56:11.673Z] : [stream_0] total_frameCount:19 audio/MPEG4-GENERIC size: 365 pts: 1719899772.681
[2024-7-2T5:56:11.772Z] : [stream_0] total_frameCount:12 video/H264 size: 252 pts: 1719899772.682 nalType:1 framediff: 81 latency: -910 sys_diff: 127 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:56:11.784Z] : [stream_0] total_frameCount:20 audio/MPEG4-GENERIC size: 304 pts: 1719899772.801
########################## Video QoS Data ##############################
Current Time = 2024-7-2T5:56:12.155Z, Name = stream_0
fps = 9.80392, frame count = 7
Packet_loss = 0%
Video_bit_rate = 300.16
packet_gap min = 0ms, max = 418ms, avg = 21ms
#####################################################################
########################## Audio QoS Data ##############################
Current Time = 2024-7-2T5:56:12.159Z, Name = stream_0
Audio_bit_rate = 23.992
#####################################################################
[2024-7-2T5:56:12.188Z] : [stream_0] total_frameCount:13 video/H264 size: 176 pts: 1719899772.800 nalType:1 framediff: 118 latency: -612 sys_diff: 416 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:56:12.188Z] : [stream_0] total_frameCount:21 audio/MPEG4-GENERIC size: 329 pts: 1719899772.861
[2024-7-2T5:56:12.188Z] : [stream_0] total_frameCount:22 audio/MPEG4-GENERIC size: 293 pts: 1719899772.921
[2024-7-2T5:56:12.188Z] : [stream_0] total_frameCount:23 audio/MPEG4-GENERIC size: 309 pts: 1719899772.981
[2024-7-2T5:56:12.188Z] : [stream_0] total_frameCount:14 video/H264 size: 131 pts: 1719899772.881 nalType:1 framediff: 81 latency: -692 sys_diff: 1 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:56:12.189Z] : [stream_0] total_frameCount:24 audio/MPEG4-GENERIC size: 318 pts: 1719899773.042
[2024-7-2T5:56:12.189Z] : [stream_0] total_frameCount:15 video/H264 size: 137 pts: 1719899773.001 nalType:1 framediff: 120 latency: -812 sys_diff: 0 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:56:12.191Z] : [stream_0] total_frameCount:25 audio/MPEG4-GENERIC size: 276 pts: 1719899773.101
[2024-7-2T5:56:12.191Z] : [stream_0] total_frameCount:26 audio/MPEG4-GENERIC size: 322 pts: 1719899773.161
[2024-7-2T5:56:12.192Z] : [stream_0] total_frameCount:16 video/H264 size: 91 pts: 1719899773.081 nalType:1 framediff: 80 latency: -889 sys_diff: 3 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:56:12.197Z] : [stream_0] total_frameCount:27 audio/MPEG4-GENERIC size: 272 pts: 1719899773.211
[2024-7-2T5:56:12.245Z] : [stream_0] total_frameCount:17 video/H264 size: 122 pts: 1719899773.200 nalType:1 framediff: 119 latency: -955 sys_diff: 53 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:56:12.259Z] : [stream_0] total_frameCount:28 audio/MPEG4-GENERIC size: 264 pts: 1719899773.272
[2024-7-2T5:56:12.319Z] : [stream_0] total_frameCount:29 audio/MPEG4-GENERIC size: 304 pts: 1719899773.331
[2024-7-2T5:56:12.359Z] : [stream_0] total_frameCount:18 video/H264 size: 110 pts: 1719899773.271 nalType:1 framediff: 71 latency: -911 sys_diff: 115 [alert-LargeFrameGap] [alert-futureTs]
==============================================================================
[2024-7-2T5:56:12.394Z] Received RTCP SR audio
NTP time = 2024-07-02T05:56:13.683Z
Received at = 2024-07-02T05:56:12.394Z
==============================================================================
[2024-7-2T5:56:12.440Z] : [stream_0] total_frameCount:30 audio/MPEG4-GENERIC size: 228 pts: 1719899773.734
[2024-7-2T5:56:12.440Z] : [stream_0] total_frameCount:19 video/H264 size: 110 pts: 1719899773.391 nalType:1 framediff: 120 latency: -951 sys_diff: 80 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:56:12.440Z] : [stream_0] total_frameCount:20 video/H264 size: 23 pts: 1719899773.471 nalType:7
[2024-7-2T5:56:12.440Z] : [stream_0] total_frameCount:20 video/H264 size: 8 pts: 1719899773.471 nalType:8
[2024-7-2T5:56:12.500Z] : [stream_0] total_frameCount:31 audio/MPEG4-GENERIC size: 284 pts: 1719899773.794
[2024-7-2T5:56:12.500Z] : [stream_0] total_frameCount:32 audio/MPEG4-GENERIC size: 207 pts: 1719899773.794
[2024-7-2T5:56:12.570Z] : [stream_0] total_frameCount:20 video/H264 size: 38535 pts: 1719899773.471 nalType:5 framediff: 80 latency: -901 sys_diff: 130 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:56:12.930Z] : [stream_0] total_frameCount:33 audio/MPEG4-GENERIC size: 203 pts: 1719899773.913
[2024-7-2T5:56:12.930Z] : [stream_0] total_frameCount:21 video/H264 size: 419 pts: 1719899773.591 nalType:1 framediff: 120 latency: -660 sys_diff: 361 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:56:12.931Z] : [stream_0] total_frameCount:34 audio/MPEG4-GENERIC size: 224 pts: 1719899773.974
[2024-7-2T5:56:12.931Z] : [stream_0] total_frameCount:35 audio/MPEG4-GENERIC size: 214 pts: 1719899774.033
[2024-7-2T5:56:12.931Z] : [stream_0] total_frameCount:22 video/H264 size: 133 pts: 1719899773.670 nalType:1 framediff: 79 latency: -739 sys_diff: 0 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:56:12.931Z] : [stream_0] total_frameCount:36 audio/MPEG4-GENERIC size: 216 pts: 1719899774.094
[2024-7-2T5:56:12.932Z] : [stream_0] total_frameCount:23 video/H264 size: 146 pts: 1719899773.791 nalType:1 framediff: 121 latency: -859 sys_diff: 1 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:56:12.932Z] : [stream_0] total_frameCount:37 audio/MPEG4-GENERIC size: 316 pts: 1719899774.154
==============================================================================
[2024-7-2T5:56:12.932Z] Received RTCP SR video
NTP time = 2024-07-02T05:56:14.164Z
Received at = 2024-07-02T05:56:12.932Z
==============================================================================
[2024-7-2T5:56:12.933Z] : [stream_0] total_frameCount:38 audio/MPEG4-GENERIC size: 299 pts: 1719899774.215
[2024-7-2T5:56:13.13Z] : [stream_0] total_frameCount:24 video/H264 size: 124 pts: 1719899774.134 nalType:1 framediff: 343 latency: -1121 sys_diff: 81 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:56:13.56Z] : [stream_0] total_frameCount:25 video/H264 size: 146 pts: 1719899774.294 nalType:1 framediff: 160 latency: -1238 sys_diff: 43 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:56:13.56Z] : [stream_0] total_frameCount:39 audio/MPEG4-GENERIC size: 203 pts: 1719899774.334
[2024-7-2T5:56:13.56Z] : [stream_0] total_frameCount:40 audio/MPEG4-GENERIC size: 205 pts: 1719899774.334
[2024-7-2T5:56:13.145Z] : [stream_0] total_frameCount:41 audio/MPEG4-GENERIC size: 297 pts: 1719899774.394
########################## Video QoS Data ##############################
Current Time = 2024-7-2T5:56:13.155Z, Name = stream_0
fps = 10.2041, frame count = 13
Packet_loss = 0%
Video_bit_rate = 323.232
packet_gap min = 0ms, max = 418ms, avg = 31ms
#####################################################################
########################## Audio QoS Data ##############################
Current Time = 2024-7-2T5:56:13.159Z, Name = stream_0
Audio_bit_rate = 44.664
#####################################################################
[2024-7-2T5:56:13.173Z] : [stream_0] total_frameCount:26 video/H264 size: 113 pts: 1719899774.334 nalType:1 framediff: 40 latency: -1161 sys_diff: 117 [alert-futureTs]
[2024-7-2T5:56:13.173Z] : [stream_0] total_frameCount:42 audio/MPEG4-GENERIC size: 284 pts: 1719899774.454
[2024-7-2T5:56:13.224Z] : [stream_0] total_frameCount:43 audio/MPEG4-GENERIC size: 223 pts: 1719899774.514
[2024-7-2T5:56:13.245Z] : [stream_0] total_frameCount:27 video/H264 size: 123 pts: 1719899774.454 nalType:1 framediff: 120 latency: -1209 sys_diff: 72 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:56:13.288Z] : [stream_0] total_frameCount:44 audio/MPEG4-GENERIC size: 219 pts: 1719899774.575
[2024-7-2T5:56:13.686Z] : [stream_0] total_frameCount:28 video/H264 size: 125 pts: 1719899774.534 nalType:1 framediff: 80 latency: -848 sys_diff: 441 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:56:13.686Z] : [stream_0] total_frameCount:45 audio/MPEG4-GENERIC size: 347 pts: 1719899774.694
[2024-7-2T5:56:13.687Z] : [stream_0] total_frameCount:46 audio/MPEG4-GENERIC size: 271 pts: 1719899774.694
[2024-7-2T5:56:13.687Z] : [stream_0] total_frameCount:29 video/H264 size: 85 pts: 1719899774.654 nalType:1 framediff: 120 latency: -967 sys_diff: 1 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:56:13.687Z] : [stream_0] total_frameCount:30 video/H264 size: 23 pts: 1719899774.774 nalType:7
[2024-7-2T5:56:13.687Z] : [stream_0] total_frameCount:30 video/H264 size: 8 pts: 1719899774.774 nalType:8
[2024-7-2T5:56:13.687Z] : [stream_0] total_frameCount:47 audio/MPEG4-GENERIC size: 309 pts: 1719899774.814
[2024-7-2T5:56:13.687Z] : [stream_0] total_frameCount:48 audio/MPEG4-GENERIC size: 277 pts: 1719899774.814
[2024-7-2T5:56:13.701Z] : [stream_0] total_frameCount:30 video/H264 size: 38639 pts: 1719899774.774 nalType:5 framediff: 120 latency: -1072 sys_diff: 15 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:56:13.702Z] : [stream_0] total_frameCount:49 audio/MPEG4-GENERIC size: 295 pts: 1719899774.934
[2024-7-2T5:56:13.702Z] : [stream_0] total_frameCount:31 video/H264 size: 505 pts: 1719899774.854 nalType:1 framediff: 80 latency: -1152 sys_diff: 0 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:56:13.715Z] : [stream_0] total_frameCount:50 audio/MPEG4-GENERIC size: 253 pts: 1719899774.994
[2024-7-2T5:56:13.773Z] : [stream_0] total_frameCount:51 audio/MPEG4-GENERIC size: 260 pts: 1719899775.054
[2024-7-2T5:56:13.773Z] : [stream_0] total_frameCount:32 video/H264 size: 160 pts: 1719899774.935 nalType:1 framediff: 81 latency: -1162 sys_diff: 71 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:56:13.836Z] : [stream_0] total_frameCount:52 audio/MPEG4-GENERIC size: 307 pts: 1719899775.114
[2024-7-2T5:56:13.849Z] : [stream_0] total_frameCount:33 video/H264 size: 114 pts: 1719899775.054 nalType:1 framediff: 119 latency: -1205 sys_diff: 76 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:56:13.894Z] : [stream_0] total_frameCount:53 audio/MPEG4-GENERIC size: 303 pts: 1719899775.174
[2024-7-2T5:56:13.949Z] : [stream_0] total_frameCount:54 audio/MPEG4-GENERIC size: 266 pts: 1719899775.234
[2024-7-2T5:56:14.11Z] : [stream_0] total_frameCount:34 video/H264 size: 86 pts: 1719899775.134 nalType:1 framediff: 80 latency: -1123 sys_diff: 162 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:56:14.11Z] : [stream_0] total_frameCount:55 audio/MPEG4-GENERIC size: 278 pts: 1719899775.294
[2024-7-2T5:56:14.50Z] : [stream_0] total_frameCount:35 video/H264 size: 114 pts: 1719899775.294 nalType:1 framediff: 160 latency: -1244 sys_diff: 39 [alert-LargeFrameGap] [alert-futureTs]
[2024-7-2T5:56:14.70Z] : [stream_0] total_frameCount:56 audio/MPEG4-GENERIC size: 300 pts: 1719899775.354
########################## Video QoS Data ##############################
Current Time = 2024-7-2T5:56:14.155Z, Name = stream_0
fps = 10.101, frame count = 10
Packet_loss = 0%
Video_bit_rate = 320.8
packet_gap min = 0ms, max = 441ms, avg = 26ms
#####################################################################
########################## Audio QoS Data ##############################
Current Time = 2024-7-2T5:56:14.159Z, Name = stream_0
Audio_bit_rate = 33.536
#####################################################################
After that I was also able to add the stream. Not sure why - and I can’t create steps to replicate.
Adding the 2k stream only works when removing the port
rtsp://usr:pwd@192.168.10.92/Preview_01_main
Resolved but not sure what did it. Pretty sure the rtsp url was working as I copy pasted in vlc and in vst.
Thanks for support.