Hi,
Please find attached output generated by tcpdump from rtsp sessions
between an Axis IP camera and a host running VLC and openRTSP (obviously
not simultaneously).
Does this help finding out why live555 generates the "StreamClose"
message only while running VLC, and not while running openRTSP?
cheers, Erik
Erik van Dort wrote:
Hi,
I could agree to that if this would happen everytime running openRTSP,
like it does happen everytime running VLC. But this shutdown by the Axis
camera happened only during the first openRTSP session, and normally in
VLC it took longer than 5 seconds until VLC showed the "StreamClose"
message.
After this first openRTSP session, I tried maybe up to 10 to 15 times to
reproduce the problem in openRTSP, but the problem did not appear again.
So my conclusion is that VLC shows different behavior than openRTSP
during an rtsp session with my Axis camera.
cheers, Erik
Ross Finlayson wrote:
Very interesting:
only during the first run of openRTSP streaming was aborted
spontaneously after a very few seconds. See openRTSP.log.1 attached.
This the key part:
Started playing session
Receiving streamed data (signal with "kill -HUP 45822" or "kill -USR1
45822" to terminate)...
Received RTCP "BYE" on "audio/MPEG4-GENERIC" subsession (after 5
seconds)
Your server (the Axis camera) is signalling - after just 5 seconds of
streaming - that the stream has shut down. The client ("openRTSP" in
this case, but also VLC) is then - quite properly - honoring the
server's request, by shutting down the RTSP connection.
So, you need to figure out why your server is signalling shutdown
after just 5 seconds.
--
EvD
armada: host running VLC or openRTSP
192.168.1.26: Axis IP camera
the following is generated by tcpdump.
LAST PART OF VLC SESSION, BEFORE "live555 debug: StreamClose" message:
18:35:11.386392 IP 192.168.1.26.50030 > armada.50422: udp/rtp 300 c96 * 21077
2903936942
18:35:11.497635 IP 192.168.1.26.50030 > armada.50422: udp/rtp 401 c96 * 21078
2903946948
18:35:11.609855 IP 192.168.1.26.50030 > armada.50422: udp/rtp 317 c96 * 21079
2903957011
18:35:11.721474 IP 192.168.1.26.50031 > armada.50423: udp/rtp 44 c72 * 6
1699527836
18:35:11.722461 IP 192.168.1.26.50030 > armada.50422: udp/rtp 256 c96 * 21080
2903967075
18:35:11.834708 IP 192.168.1.26.50030 > armada.50422: udp/rtp 224 c96 * 21081
2903977254
18:35:11.947304 IP 192.168.1.26.50030 > armada.50422: udp/rtp 242 c96 * 21082
2903987434
18:35:12.061613 IP 192.168.1.26.50030 > armada.50422: udp/rtp 245 c96 * 21083
2903997672
18:35:12.279266 IP 192.168.1.26.50030 > armada.50422: udp/rtp 560 c96 * 21084
2904007909
18:35:12.286796 IP 192.168.1.26.50030 > armada.50422: udp/rtp 4 c96 * 21085
2904007909
18:35:12.287529 IP 192.168.1.26.50031 > armada.50423: udp/rtp 4 c73 * 1
1699527836
18:35:12.291651 IP 192.168.1.26.rtsp > armada.50821: F 1249:1249(0) ack 743 win
4504 <nop,nop,timestamp 2458415 476343>
18:35:12.291729 IP armada.50821 > 192.168.1.26.rtsp: . ack 1250 win 8326
<nop,nop,timestamp 485414 2458415>
18:35:12.292335 IP armada.50821 > 192.168.1.26.rtsp: . ack 1250 win 8326
<nop,nop,timestamp 485414 2458415>
18:35:12.590270 IP armada.50821 > 192.168.1.26.rtsp: P 743:903(160) ack 1250
win 8326 <nop,nop,timestamp 485713 2458415>
18:35:12.590881 IP armada.50821 > 192.168.1.26.rtsp: F 903:903(0) ack 1250 win
8326 <nop,nop,timestamp 485714 2458415>
18:35:12.591030 IP armada.50821 > 192.168.1.26.rtsp: P 743:903(160) ack 1250
win 8326 <nop,nop,timestamp 485713 2458415>
18:35:12.591692 IP armada.50821 > 192.168.1.26.rtsp: F 903:903(0) ack 1250 win
8326 <nop,nop,timestamp 485714 2458415>
18:35:12.592976 IP 192.168.1.26.rtsp > armada.50821: R 608046215:608046215(0)
win 0
18:35:12.593748 IP 192.168.1.26.rtsp > armada.50821: R 608046215:608046215(0)
win 0
LAST PART OF openRTSP SESSION, before aborted by "kill -HUP <process-id>"
18:54:59.813002 IP 192.168.1.26.50002 > armada.65170: udp/rtp 215 c96 * 62661
444724126
18:54:59.924073 IP 192.168.1.26.50002 > armada.65170: udp/rtp 191 c96 * 62662
444734132
18:55:00.035385 IP 192.168.1.26.50002 > armada.65170: udp/rtp 179 c96 * 62663
444744137
18:55:00.146492 IP 192.168.1.26.50002 > armada.65170: udp/rtp 195 c96 * 62664
444754143
18:55:00.259935 IP armada.65171 > 192.168.1.26.50003: udp/rtp 56 c73 * 7
3852084357
18:55:00.260604 IP armada.65171 > 192.168.1.26.50003: udp/rtp 56 c73 * 7
3852084357
18:55:00.369638 IP 192.168.1.26.50002 > armada.65170: udp/rtp 421 c96 * 62665
444774154
18:55:00.480176 IP 192.168.1.26.50002 > armada.65170: udp/rtp 208 c96 * 62666
444784159
18:55:00.591398 IP 192.168.1.26.50002 > armada.65170: udp/rtp 183 c96 * 62667
444794165
18:55:00.703862 IP 192.168.1.26.50003 > armada.65171: udp/rtp 44 c72 * 6
102832471
18:55:00.705241 IP 192.168.1.26.50002 > armada.65170: udp/rtp 396 c96 * 62668
444804170
18:55:00.813404 IP 192.168.1.26.50002 > armada.65170: udp/rtp 194 c96 * 62669
444814176
18:55:00.924689 IP 192.168.1.26.50002 > armada.65170: udp/rtp 194 c96 * 62670
444824181
18:55:01.036024 IP 192.168.1.26.50002 > armada.65170: udp/rtp 205 c96 * 62671
444834187
18:55:01.264516 IP 192.168.1.26.50002 > armada.65170: udp/rtp 196 c96 * 62672
444854198
18:55:01.375690 IP 192.168.1.26.50002 > armada.65170: udp/rtp 301 c96 * 62673
444864202
18:55:01.485800 IP 192.168.1.26.50002 > armada.65170: udp/rtp 200 c96 * 62674
444874209
18:55:01.596011 IP 192.168.1.26.50002 > armada.65170: udp/rtp 228 c96 * 62675
444884214
18:55:01.706313 IP 192.168.1.26.50002 > armada.65170: udp/rtp 408 c96 * 62676
444894220
18:55:01.816042 IP 192.168.1.26.50002 > armada.65170: udp/rtp 196 c96 * 62677
444904225
18:55:01.927882 IP 192.168.1.26.50002 > armada.65170: udp/rtp 194 c96 * 62678
444914231
18:55:02.038832 IP 192.168.1.26.50002 > armada.65170: udp/rtp 334 c96 * 62679
444924236
18:55:02.101596 IP armada.57231 > 192.168.1.26.rtsp: P 957:1148(191) ack 1321
win 8326 <nop,nop,timestamp 1675405 4294941019>
18:55:02.102368 IP armada.57231 > 192.168.1.26.rtsp: P 957:1148(191) ack 1321
win 8326 <nop,nop,timestamp 1675405 4294941019>
18:55:02.107288 IP 192.168.1.26.rtsp > armada.57231: P 1321:1370(49) ack 1148
win 4504 <nop,nop,timestamp 4294943590 1675405>
18:55:02.107936 IP armada.65171 > 192.168.1.26.50003: udp/rtp 28 c73 * 7
3852084357
18:55:02.108212 IP armada.57231 > 192.168.1.26.rtsp: F 1148:1148(0) ack 1370
win 8326 <nop,nop,timestamp 1675412 4294943590>
18:55:02.108621 IP armada.65171 > 192.168.1.26.50003: udp/rtp 28 c73 * 7
3852084357
18:55:02.108966 IP armada.57231 > 192.168.1.26.rtsp: F 1148:1148(0) ack 1370
win 8326 <nop,nop,timestamp 1675412 4294943590>
18:55:02.109896 IP 192.168.1.26.50002 > armada.65170: udp/rtp 4 c96 * 62680
444924236
18:55:02.109951 IP armada > 192.168.1.26: ICMP armada udp port 65170
unreachable, length 36
18:55:02.110626 IP armada > 192.168.1.26: ICMP armada udp port 65170
unreachable, length 36
18:55:02.110950 IP 192.168.1.26.50003 > armada.65171: udp/rtp 4 c73 * 1
102832471
18:55:02.110991 IP armada > 192.168.1.26: ICMP armada udp port 65171
unreachable, length 36
18:55:02.111603 IP armada > 192.168.1.26: ICMP armada udp port 65171
unreachable, length 36
18:55:02.113062 IP 192.168.1.26.rtsp > armada.57231: F 1370:1370(0) ack 1149
win 4504 <nop,nop,timestamp 4294943590 1675412>
18:55:02.113149 IP armada.57231 > 192.168.1.26.rtsp: . ack 1371 win 8325
<nop,nop,timestamp 1675417 4294943590>
18:55:02.113748 IP armada.57231 > 192.168.1.26.rtsp: . ack 1371 win 8325
<nop,nop,timestamp 1675417 4294943590>
LAST PART OF ANOTHER (DIFFERENT) VLC SESSION, BEFORE "live555 debug:
StreamClose" message:
18:58:10.240524 IP 192.168.1.26.50004 > armada.61868: udp/rtp 392 c96 * 56738
421994864
18:58:10.349700 IP 192.168.1.26.50004 > armada.61868: udp/rtp 210 c96 * 56739
422004870
18:58:10.460728 IP 192.168.1.26.50004 > armada.61868: udp/rtp 223 c96 * 56740
422014876
18:58:10.572019 IP 192.168.1.26.50004 > armada.61868: udp/rtp 201 c96 * 56741
422024881
18:58:10.683700 IP 192.168.1.26.50004 > armada.61868: udp/rtp 273 c96 * 56742
422034887
18:58:10.905647 IP 192.168.1.26.50004 > armada.61868: udp/rtp 214 c96 * 56743
422054898
18:58:11.016711 IP 192.168.1.26.50004 > armada.61868: udp/rtp 216 c96 * 56744
422064903
18:58:11.127853 IP 192.168.1.26.50004 > armada.61868: udp/rtp 199 c96 * 56745
422074909
18:58:11.239527 IP 192.168.1.26.50004 > armada.61868: udp/rtp 285 c96 * 56746
422084914
18:58:11.350122 IP 192.168.1.26.50004 > armada.61868: udp/rtp 216 c96 * 56747
422094920
18:58:11.461214 IP 192.168.1.26.50004 > armada.61868: udp/rtp 198 c96 * 56748
422104925
18:58:11.572593 IP 192.168.1.26.50004 > armada.61868: udp/rtp 222 c96 * 56749
422114931
18:58:11.686950 IP 192.168.1.26.50004 > armada.61868: udp/rtp 336 c96 * 56750
422124937
18:58:11.795258 IP 192.168.1.26.50004 > armada.61868: udp/rtp 238 c96 * 56751
422134942
18:58:12.022883 IP 192.168.1.26.50004 > armada.61868: udp/rtp 232 c96 * 56752
422154953
18:58:12.133252 IP 192.168.1.26.50004 > armada.61868: udp/rtp 184 c96 * 56753
422164958
18:58:12.243258 IP 192.168.1.26.50004 > armada.61868: udp/rtp 217 c96 * 56754
422174964
18:58:12.353360 IP 192.168.1.26.50004 > armada.61868: udp/rtp 333 c96 * 56755
422184969
18:58:12.463200 IP 192.168.1.26.50004 > armada.61868: udp/rtp 208 c96 * 56756
422194975
18:58:12.575550 IP 192.168.1.26.50004 > armada.61868: udp/rtp 230 c96 * 56757
422204980
18:58:12.687077 IP 192.168.1.26.50004 > armada.61868: udp/rtp 186 c96 * 56758
422214986
18:58:12.796782 IP 192.168.1.26.50004 > armada.61868: udp/rtp 198 c96 * 56759
422224991
18:58:12.908819 IP 192.168.1.26.50004 > armada.61868: udp/rtp 291 c96 * 56760
422234997
18:58:13.018943 IP 192.168.1.26.50004 > armada.61868: udp/rtp 195 c96 * 56761
422245002
18:58:13.130142 IP 192.168.1.26.50004 > armada.61868: udp/rtp 193 c96 * 56762
422255008
18:58:13.240269 IP 192.168.1.26.50004 > armada.61868: udp/rtp 245 c96 * 56763
422265013
18:58:13.351003 IP 192.168.1.26.50004 > armada.61868: udp/rtp 211 c96 * 56764
422275019
18:58:13.462244 IP 192.168.1.26.50004 > armada.61868: udp/rtp 185 c96 * 56765
422285024
18:58:13.514977 IP 192.168.1.26.50004 > armada.61868: udp/rtp 4 c96 * 56766
422285024
18:58:13.515311 IP 192.168.1.26.50005 > armada.61869: udp/rtp 4 c73 * 1
824126297
18:58:13.517567 IP 192.168.1.26.rtsp > armada.65147: F 1248:1248(0) ack 743 win
4504 <nop,nop,timestamp 4294962732 1806947>
18:58:13.517642 IP armada.65147 > 192.168.1.26.rtsp: . ack 1249 win 8326
<nop,nop,timestamp 1866851 4294962732>
18:58:13.518267 IP armada.65147 > 192.168.1.26.rtsp: . ack 1249 win 8326
<nop,nop,timestamp 1866851 4294962732>
18:58:14.075363 IP armada.65147 > 192.168.1.26.rtsp: P 743:903(160) ack 1249
win 8326 <nop,nop,timestamp 1867408 4294962732>
18:58:14.076053 IP armada.65147 > 192.168.1.26.rtsp: F 903:903(0) ack 1249 win
8326 <nop,nop,timestamp 1867409 4294962732>
18:58:14.076142 IP armada.65147 > 192.168.1.26.rtsp: P 743:903(160) ack 1249
win 8326 <nop,nop,timestamp 1867408 4294962732>
18:58:14.076798 IP armada.65147 > 192.168.1.26.rtsp: F 903:903(0) ack 1249 win
8326 <nop,nop,timestamp 1867409 4294962732>
18:58:14.078541 IP 192.168.1.26.rtsp > armada.65147: R 561836431:561836431(0)
win 0
18:58:14.078879 IP 192.168.1.26.rtsp > armada.65147: R 561836431:561836431(0)
win 0
_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel