Thank you for reply!
According to your suggestion, I just tested the newest openRTSP with VLC 2.1.0. Still, VLC closed the stream traffic after
60s, here is the log of openRTSP with -V parameter:
(Note I have replaced my IP with XXX.XXX.XXX.XXX)
Code: Select all
Opened URL "rtsp://XXX.XXX.XXX.XXX:8554/1", returning a SDP description:
v=0
o=- 15436484369615762705 15436484369615762705 IN IP4 SSOCR16
s=Unnamed
i=N/A
c=IN IP4 0.0.0.0
t=0 0
a=tool:vlc 2.1.0
a=recvonly
a=type:broadcast
a=charset:UTF-8
a=control:rtsp://XXX.XXX.XXX.XXX:8554/1
m=audio 0 RTP/AVP 96
b=RR:0
a=rtpmap:96 mpeg4-generic/24000/2
a=fmtp:96 streamtype=5; profile-level-id=15; mode=AAC-hbr; config=131056e59d4800
; SizeLength=13; IndexLength=3; IndexDeltaLength=3; Profile=1;
a=control:rtsp://XXX.XXX.XXX.XXX:8554/1/trackID=0
m=video 0 RTP/AVP 96
b=RR:0
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1;profile-level-id=640029;sprop-parameter-sets=Z2QA
Kaw05gLAQ6EAAZdPAExLQI8YMZo=,aO68sA==;
a=control:rtsp://XXX.XXX.XXX.XXX:8554/1/trackID=1
Created receiver for "audio/MPEG4-GENERIC" subsession (client ports 58810-58811)
Created receiver for "video/H264" subsession (client ports 58812-58813)
Setup "audio/MPEG4-GENERIC" subsession (client ports 58810-58811)
Setup "video/H264" subsession (client ports 58812-58813)
Created output file: "audio-MPEG4-GENERIC-1"
Created output file: "video-H264-2"
Started playing session
Receiving streamed data...
Received RTCP "BYE" on "audio/MPEG4-GENERIC" subsession (after 60 seconds)
Received RTCP "BYE" on "video/H264" subsession (after 60 seconds)
The above test is implemented on a single PC, i.e., the VLC (as server) and openRTSP (as client) run on the same PC.
I'll analyse the network traffic later with VLC and openRTSP run on different PCs.