Skip to content

Instantly share code, notes, and snippets.

@hanxue
Created November 28, 2013 11:05
Show Gist options
  • Save hanxue/7690269 to your computer and use it in GitHub Desktop.
Save hanxue/7690269 to your computer and use it in GitHub Desktop.
Opening connection to 192.168.1.102, port 554...
...remote connection opened
Sending request: OPTIONS rtsp://192.168.1.102/profile2/media.smp RTSP/1.0
CSeq: 2
User-Agent: openRTSP (LIVE555 Streaming Media v2013.11.26)
Received 207 new bytes of response data.
Received a complete OPTIONS response:
RTSP/1.0 200 OK
CSeq: 2
Date: Wed Feb 27 12:09:52 2013 GMT
Expires: Wed Feb 27 12:09:52 2013 GMT
Cache-Control: must-revalidate
Public: DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, OPTIONS, GET_PARAMETER
Sending request: DESCRIBE rtsp://192.168.1.102/profile2/media.smp RTSP/1.0
CSeq: 3
User-Agent: openRTSP (LIVE555 Streaming Media v2013.11.26)
Accept: application/sdp
Received 943 new bytes of response data.
Received a complete DESCRIBE response:
RTSP/1.0 200 OK
CSeq: 3
Date: Wed Feb 27 12:09:52 2013 GMT
Expires: Wed Feb 27 12:09:52 2013 GMT
Content-Base: rtsp://192.168.1.102:554/unicast/h264/media.smp/
Content-Type: application/sdp
Content-Length: 629
x-Accept-Retransmit: our-retransmit
x-Accept-Dynamic-Rate: 1
Cache-Control: must-revalidate
v=0
i=samsung
o=- 0 0 IN IP4 192.168.1.227
s=Media Presentation
c=IN IP4 0.0.0.0
b=AS:384128
t=0 0
a=control:rtsp://192.168.1.102:554/unicast/h264/media.smp
a=range:npt=now-
m=video 0 RTP/AVP 98
b=AS:384000
a=rtpmap:98 H264/90000
a=control:rtsp://192.168.1.102:554/unicast/h264/media.smp/trackID=v
a=cliprect:0,0,576,704
a=framesize:98 704-576
a=fmtp:98 packetization-mode=1;profile-level-id=42401E;sprop-parameter-sets=Z0JAHvQFgJNgDRAAAAMAEAAAAwMu/AHbPve+B4gRUA==,aM4DlCA=
a=framerate:25.0
m=audio 0 RTP/AVP 0
b=AS:64
a=rtpmap:0 PCMU/8000
a=control:rtsp://192.168.1.102:554/unicast/h264/media.smp/trackID=a
Opened URL "rtsp://192.168.1.102/profile2/media.smp", returning a SDP description:
v=0
i=samsung
o=- 0 0 IN IP4 192.168.1.227
s=Media Presentation
c=IN IP4 0.0.0.0
b=AS:384128
t=0 0
a=control:rtsp://192.168.1.102:554/unicast/h264/media.smp
a=range:npt=now-
m=video 0 RTP/AVP 98
b=AS:384000
a=rtpmap:98 H264/90000
a=control:rtsp://192.168.1.102:554/unicast/h264/media.smp/trackID=v
a=cliprect:0,0,576,704
a=framesize:98 704-576
a=fmtp:98 packetization-mode=1;profile-level-id=42401E;sprop-parameter-sets=Z0JAHvQFgJNgDRAAAAMAEAAAAwMu/AHbPve+B4gRUA==,aM4DlCA=
a=framerate:25.0
m=audio 0 RTP/AVP 0
b=AS:64
a=rtpmap:0 PCMU/8000
a=control:rtsp://192.168.1.102:554/unicast/h264/media.smp/trackID=a
Created receiver for "video/H264" subsession (client ports 51426-51427)
Created receiver for "audio/PCMU" subsession (client ports 59532-59533)
Sending request: SETUP rtsp://192.168.1.102:554/unicast/h264/media.smp/trackID=v RTSP/1.0
CSeq: 4
User-Agent: openRTSP (LIVE555 Streaming Media v2013.11.26)
Transport: RTP/AVP;unicast;client_port=51426-51427
Received 238 new bytes of response data.
Received a complete SETUP response:
RTSP/1.0 200 OK
CSeq: 4
Date: Wed Feb 27 12:09:53 2013 GMT
Expires: Wed Feb 27 12:09:53 2013 GMT
Session: 0;timeout=60
Cache-Control: must-revalidate
Transport: RTP/AVP/UDP;unicast;client_port=51426-51427;server_port=61000-61001
Setup "video/H264" subsession (client ports 51426-51427)
Sending request: SETUP rtsp://192.168.1.102:554/unicast/h264/media.smp/trackID=a RTSP/1.0
CSeq: 5
User-Agent: openRTSP (LIVE555 Streaming Media v2013.11.26)
Transport: RTP/AVP;unicast;client_port=59532-59533
Session: 0
Received 238 new bytes of response data.
Received a complete SETUP response:
RTSP/1.0 200 OK
CSeq: 5
Date: Wed Feb 27 12:09:53 2013 GMT
Expires: Wed Feb 27 12:09:53 2013 GMT
Session: 0;timeout=60
Cache-Control: must-revalidate
Transport: RTP/AVP/UDP;unicast;client_port=59532-59533;server_port=61002-61003
Setup "audio/PCMU" subsession (client ports 59532-59533)
Created output file: "video-H264-1"
Created output file: "audio-PCMU-2"
Sending request: PLAY rtsp://192.168.1.102:554/unicast/h264/media.smp RTSP/1.0
CSeq: 6
User-Agent: openRTSP (LIVE555 Streaming Media v2013.11.26)
Session: 0
Range: npt=0.000-
Received 313 new bytes of response data.
Received a complete PLAY response:
RTSP/1.0 200 OK
CSeq: 6
Date: Wed Feb 27 12:09:53 2013 GMT
Expires: Wed Feb 27 12:09:53 2013 GMT
Session: 0
Cache-Control: must-revalidate
Range: ntp=0.000-
RTP-Info: url=rtsp://192.168.1.102:554/unicast/h264/media.smp/trackID=v;seq=0,url=rtsp://192.168.1.102:554/unicast/h264/media.smp/trackID=a;seq=0
Failed to start playing session: Bad "Range:" header
Sending request: TEARDOWN rtsp://192.168.1.102:554/unicast/h264/media.smp RTSP/1.0
CSeq: 7
User-Agent: openRTSP (LIVE555 Streaming Media v2013.11.26)
Session: 0
openRTSP(32995,0x7fff7371e310) malloc: *** error for object 0x7f8db3500040: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment