Hi Ross, 

> 1. Are there any required API changes for the REGISTER functionality to work 
> in the latest version? 

Never mind, I found the bug and will submit a patch shortly.

> 2. The reason for the update to the latest live555 was that we were 
> investigating packet loss over RTP over RTSP/TCP when using the 
> REGISTER approach to circumventing firewalls on the RTSP server side. For 
> testing we used "openRTSP -d 5 -Q -t -R 8555". 
> In our past experience of using live555 streaming over RTSP/TCP, there is not 
> supposed to be any packet loss in the application layer 
> e.g. RTCP Receiver Reports. I did go through the change log and didn't see 
> any changes related to TCP-streaming. 
> What is the expected behaviour of TCP streaming over the REGISTER TCP 
> connection? RTCP RR loss should be zero? 
> I am aware that there may be issues if the bandwidth is not sufficient to 
> support the stream bitrate. 

Still seeing packet loss in the latest release after fixing the bug though. The 
openRTSP output is the following:

Awaiting an incoming "REGISTER" command on port 8555 
Sending request: OPTIONS rtsp://x.x.x.x:8554/live RTSP/1.0 
CSeq: 2 
User-Agent: openRTSP (LIVE555 Streaming Media v2016.10.21) 


Received 152 new bytes of response data. 
Received a complete OPTIONS response: 
RTSP/1.0 200 OK 
CSeq: 2 
Date: Wed, Nov 02 2016 14:17:25 GMT 
Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, GET_PARAMETER, 
SET_PARA 
METER 


Sending request: DESCRIBE rtsp://x.x.x.x:8554/live RTSP/1.0 
CSeq: 3 
User-Agent: openRTSP (LIVE555 Streaming Media v2016.10.21) 
Accept: application/sdp 


Received 717 new bytes of response data. 
Received a complete DESCRIBE response: 
RTSP/1.0 200 OK 
CSeq: 3 
Date: Wed, Nov 02 2016 14:17:25 GMT 
Content-Base: rtsp://x.x.x.x:8554/live/ 
Content-Type: application/sdp 
Content-Length: 554 

v=0 
o=- 1478096057940882 1 IN IP4 x.x.x.x 
s=Session streamed by "MSS" 
i=live 
t=0 0 
a=tool:LIVE555 Streaming Media v2016.10.21 
a=type:broadcast 
a=control:* 
a=range:npt=0- 
a=x-qt-text-nam:Session streamed by "MSS" 
a=x-qt-text-inf:live 
m=video 0 RTP/AVP 96 
c=IN IP4 0.0.0.0 
b=AS:500 
a=rtpmap:96 H264/90000 
a=fmtp:96 
packetization-mode=1;profile-level-id=304941;sprop-parameter-sets=Z0IA 
FI1oGB0Q,aM46gA== 
a=control:track1 
m=audio 0 RTP/AVP 97 
c=IN IP4 0.0.0.0 
b=AS:13 
a=rtpmap:97 AMR/8000 
a=fmtp:97 octet-align=1 
a=control:track2 

Opened URL "rtsp://x.x.x.x:8554/live/", returning a SDP description: v=0 
o=- 1478096057940882 1 IN IP4 x.x.x.x
s=Session streamed by "MSS" 
i=live 
t=0 0 
a=tool:LIVE555 Streaming Media v2016.10.21 
a=type:broadcast 
a=control:* 
a=range:npt=0- 
a=x-qt-text-nam:Session streamed by "MSS" 
a=x-qt-text-inf:live 
m=video 0 RTP/AVP 96 
c=IN IP4 0.0.0.0 
b=AS:500 
a=rtpmap:96 H264/90000 
a=fmtp:96 
packetization-mode=1;profile-level-id=304941;sprop-parameter-sets=Z0IA 
FI1oGB0Q,aM46gA== 
a=control:track1 
m=audio 0 RTP/AVP 97 
c=IN IP4 0.0.0.0 
b=AS:13 
a=rtpmap:97 AMR/8000 
a=fmtp:97 octet-align=1 
a=control:track2 

Created receiver for "video/H264" subsession (client ports 64138-64139) 
Created receiver for "audio/AMR" subsession (client ports 64140-64141) 
Sending request: SETUP rtsp://x.x.x.x:8554/live/track1 RTSP/1.0 
CSeq: 4 
User-Agent: openRTSP (LIVE555 Streaming Media v2016.10.21) 
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: Wed, Nov 02 2016 14:17:25 GMT 
Transport: RTP/AVP/TCP;unicast;destination=x.x.x.x;source=x.x.x.x;inte 
rleaved=0-1 
Session: C75A837F;timeout=45 


Setup "video/H264" subsession (client ports 64138-64139) 
Sending request: SETUP rtsp://x.x.x.x:8554/live/track2 RTSP/1.0 
CSeq: 5 
User-Agent: openRTSP (LIVE555 Streaming Media v2016.10.21) 
Transport: RTP/AVP/TCP;unicast;interleaved=2-3 
Session: C75A837F 


Received a complete SETUP response: 
RTSP/1.0 200 OK 
CSeq: 5 
Date: Wed, Nov 02 2016 14:17:25 GMT 
Transport: RTP/AVP/TCP;unicast;destination=x.x.x.x;source=x.x.x.x;inte 
rleaved=2-3 
Session: C75A837F;timeout=45 


Setup "audio/AMR" subsession (client ports 64140-64141) 
Created output file: "video-H264-1" 
Created output file: "audio-AMR-2" 
Sending request: PLAY rtsp://x.x.x.x:8554/live/ RTSP/1.0 
CSeq: 6 
User-Agent: openRTSP (LIVE555 Streaming Media v2016.10.21) 
Session: C75A837F 
Range: npt=0.000-5.000 


Received a complete PLAY response: 
RTSP/1.0 200 OK 
CSeq: 6 
Date: Wed, Nov 02 2016 14:17:25 GMT 
Range: npt=0.000- 
Session: C75A837F 
RTP-Info: url=rtsp://x.x.x.x:8554/live/track1;seq=41482;rtptime=4169899537, 
url=rtsp://x.x.x.x:8554/live/track2;seq=13145;rtptime=2615293157 


Started playing session 
Receiving streamed data (for up to 5.000000 seconds)... 
begin_QOS_statistics 
subsession video/H264 
num_packets_received 132 
num_packets_lost 1 
elapsed_measurement_time 5.000131 
kBytes_received_total 28.334000 
measurement_sampling_interval_ms 1000 
kbits_per_second_min 27.754880 
kbits_per_second_ave 45.333212 
kbits_per_second_max 105.354929 
packet_loss_percentage_min 0.000000 
packet_loss_percentage_ave 0.751880 
packet_loss_percentage_max 0.000000 
inter_packet_gap_ms_min 0.010000 
inter_packet_gap_ms_ave 37.347523 
inter_packet_gap_ms_max 268.540000 
subsession audio/AMR 
num_packets_received 50 
num_packets_lost 0 
elapsed_measurement_time 5.000131 
kBytes_received_total 8.050000 
measurement_sampling_interval_ms 1000 
kbits_per_second_min 12.877425 
kbits_per_second_ave 12.879663 
kbits_per_second_max 12.885051 
packet_loss_percentage_min -11.111111 
packet_loss_percentage_ave 0.000000 
packet_loss_percentage_max 0.000000 
inter_packet_gap_ms_min 0.029000 
inter_packet_gap_ms_ave 90.694580 
inter_packet_gap_ms_max 565.416000 
end_QOS_statistics 
Sending request: TEARDOWN rtsp://x.x.x.x:8554/live/ RTSP/1.0 
CSeq: 7 
User-Agent: openRTSP (LIVE555 Streaming Media v2016.10.21) 
Session: C75A837F 


Received a complete TEARDOWN response: 
RTSP/1.0 200 OK 
CSeq: 7 
Date: Wed, Nov 02 2016 14:17:30 GMT 



Regards, 
Ralf 




--

This message is subject to the CSIR's copyright terms and conditions, e-mail 
legal notice, and implemented Open Document Format (ODF) standard. 
The full disclaimer details can be found at 
http://www.csir.co.za/disclaimer.html. 

Please consider the environment before printing this email. 

_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to