RTSP streaming terminating prematurely

Unanswered Question
Apr 10th, 2014
User Badges:

We are requesting RTSP streams from MediaSense (audio is being forked by the CM  BiB method). The streams terminate after 120 seconds.

 

We are sending a request for an RTSP stream and receiving the stream for 120 seconds, at which point the stream suddenly stops. Since in the response to the initial play request we get “timeout=120” this appears to be an issue with the session timing out. We have tried sending both Play and Options messages for the same session  prior to the 120 seconds in order to prevent the session from timing out, but this has not worked.

Example pcap trace

 

Highlighted in yellow = Coming from Uptivity   Highlighted in green = Coming from Mediasense

 

 

OPTIONS rtsp://10.105.30.196/eca1454785bdad1 RTSP/1.0

CSeq: 1

User-Agent: CC_RTSP_Client

Authorization: Basic Y3RpdXNlcjpjdGl1c2Vy

        

RTSP/1.0 200 OK

Server: Cisco MediaSense Media Server

CSeq: 1

Public: DESCRIBE, PLAY, SETUP, SET_PARAMETER, GET_PARAMETER, TEARDOWN, PAUSE, RECORD, OPTIONS

 

DESCRIBE rtsp://10.105.30.196/eca1454785bdad1 RTSP/1.0

CSeq: 2

User-Agent: CC_RTSP_Client

Accept: application/sdp

Accept-Language: en-US

Authorization: Basic Y3RpdXNlcjpjdGl1c2Vy

 

RTSP/1.0 302 Moved Temporarily

Server: Cisco MediaSense Media Server

CSeq: 2

Location: rtsp://10.105.30.196:9554/eca1454785bdad1?token=eca1454785bdad1^LA^0^0^0^1397064633^d0ab401d956c9fd0ae23ec7e8c1915f49cb6e9e8

 

DESCRIBE rtsp://10.105.30.196:9554/eca1454785bdad1?token=eca1454785bdad1^LA^0^0^0^1397064634^e5833cdd052f0b8f1f9aa63d530c08922d641822 RTSP/1.0

CSeq: 3

User-Agent: CC_RTSP_Client

Accept: application/sdp

Accept-Language: en-US

Authorization: Basic Y3RpdXNlcjpjdGl1c2Vy

        RTSP/1.0 200 OK

CSeq: 3

Content-Base: rtsp://10.105.30.196:9554/eca1454785bdad1/

Content-Type: application/sdp

Content-Length: 743

 

v=0

o=- 15487880279310217208 15487880279310217808 IN IP4 10.105.30.196

s=Cisco Live Media Streaming Session

e=NONE

c=IN IP4 10.105.30.196

u=rtsp://10.105.30.196:9554/eca1454785bdad1

t=0 0

a=control:rtsp://10.105.30.196:9554/eca1454785bdad1?token=eca1454785bdad1^LA^0^0^0^1397064634^e5833cdd052f0b8f1f9aa63d530c08922d641822

m=audio 0 RTP/AVP 0 13

a=range:npt=now-

b=AS:8000

a=control:rtsp://10.105.30.196:9554/Pool_Device_122/Audio_Pool_122?token=eca145478...^LA^0^0^0^1397064634^e5833cdd052f0b8f1f9aa63d530c08922d641822

m=audio 0 RTP/AVP 0 13

a=range:npt=now-

b=AS:8000

a=control:rtsp://10.105.30.196:9554/Pool_Device_123/Audio_Pool_123?token=eca145478...^LA^0^0^0^1397064634^e5833cdd052f0b8f1f9aa63d530c08922d641822

 

SETUP rtsp://10.105.30.196:9554/Pool_Device_122/Audio_Pool_122?token=eca145478...^LA^0^0^0^1397064634^e5833cdd052f0b8f1f9aa63d530c08922d641822 RTSP/1.0

CSeq: 4

User-Agent: CC_RTSP_Client

Accept-Language: en-US

Authorization: Basic Y3RpdXNlcjpjdGl1c2Vy

Transport: RTP/AVP;unicast;client_port=6970-6971

x-retransmit: our-retransmit

x-dynamic-rate: 1

x-transport-options: late-tolerance=2.900000

        

RTSP/1.0 200 OK

CSeq: 4

Session: 747595639;timeout=120

Transport: RTP/AVP;unicast;client_port=6970-6971;server_port=24576-24577;mode="PLAY";ssrc=516173345

 

SETUP rtsp://10.105.30.196:9554/Pool_Device_123/Audio_Pool_123?token=eca145478...^LA^0^0^0^1397064634^e5833cdd052f0b8f1f9aa63d530c08922d641822 RTSP/1.0

CSeq: 5

User-Agent: CC_RTSP_Client

Accept-Language: en-US

Authorization: Basic Y3RpdXNlcjpjdGl1c2Vy

Transport: RTP/AVP;unicast;client_port=6972-6973

Session: 747595639

x-retransmit: our-retransmit

x-dynamic-rate: 1

x-transport-options: late-tolerance=2.900000

        

RTSP/1.0 200 OK

CSeq: 5

Session: 747595639;timeout=120

Transport: RTP/AVP;unicast;client_port=6972-6973;server_port=24578-24579;mode="PLAY";ssrc=516173346

 

PLAY rtsp://10.105.30.196:9554/eca1454785bdad1?token=eca1454785bdad1^LA^0^0^0^1397064634^e5833cdd052f0b8f1f9aa63d530c08922d641822 RTSP/1.0

CSeq: 6

User-Agent: CC_RTSP_Client

Authorization: Basic Y3RpdXNlcjpjdGl1c2Vy

Session: 747595639

Range: npt=0.000000-

x-prebuffer: maxtime=2.000000

 

RTSP/1.0 200 OK

CSeq: 6

Session: 747595639

RTP-Info: url=rtsp://10.105.30.196:9554/Pool_Device_122/Audio_Pool_122;seqno=61268,url...

Range: npt=0.00-

 

 

OPTIONS rtsp://10.105.30.196:9554/eca1454785bdad1?token=eca1454785bdad1^LA^0^0^0^1397064634^e5833cdd052f0b8f1f9aa63d530c08922d641822 RTSP/1.0

CSeq: 7

User-Agent: CC_RTSP_Client

Authorization: Basic Y3RpdXNlcjpjdGl1c2Vy

Session: 747595639

 

RTSP/1.0 200 OK

CSeq: 7

Session: 747595639

Public: DESCRIBE, SETUP, PLAY, PAUSE, TEARDOWN, PAUSE, GET_PARAMETER, SET_PARAMETER, ANNOUNCE

 

TEARDOWN rtsp://10.105.30.196:9554/eca1454785bdad1?token=eca1454785bdad1^LA^0^0^0^1397064634^e5833cdd052f0b8f1f9aa63d530c08922d641822 RTSP/1.0

CSeq: 10

User-Agent: CC_RTSP_Client

Session: 747595639

 

RTSP/1.0 454 Session Not Found (Session <747595639> not found)

CSeq: 10

Session: 747595639

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.

Actions

This Discussion