使用Live555的openClient读到mediaServer上媒体文件的日志:
TCP
Java代码 - E:\source\C\RTP_RTCP\Live555\live.2013.04.30\live\Debug>playCommon.exe -t rtsp://192.168.1.107:554/test.mkv
- Opening connection to 192.168.1.107, port 554...
- ...remote connection opened
- Sending request: OPTIONS rtsp://192.168.1.107:554/test.mkv RTSP/1.0
- CSeq: 2
- User-Agent: playCommon.exe (LIVE555 Streaming Media v2013.04.30)
-
-
- Received 152 new bytes of response data.
- Received a complete OPTIONS response:
- RTSP/1.0 200 OK
- CSeq: 2
- Date: Sat, Oct 05 2013 05:05:31 GMT
- Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, GET_PARAMETER, SET_PARAMETER
-
-
- Sending request: DESCRIBE rtsp://192.168.1.107:554/test.mkv RTSP/1.0
- CSeq: 3
- User-Agent: playCommon.exe (LIVE555 Streaming Media v2013.04.30)
- Accept: application/sdp
-
-
- Received 961 new bytes of response data.
- Received a complete DESCRIBE response:
- RTSP/1.0 200 OK
- CSeq: 3
- Date: Sat, Oct 05 2013 05:05:31 GMT
- Content-Base: rtsp://192.168.1.107/test.mkv/
- Content-Type: application/sdp
- Content-Length: 798
-
- v=0
- o=- 1380948674223678 1 IN IP4 192.168.1.107
- s=Matroska video+audio+(optional)subtitles, streamed by the LIVE555 Media Server
- i=test.mkv
- t=0 0
- a=tool:LIVE555 Streaming Media v2011.12.23
- a=type:broadcast
- a=control:*
- a=range:npt=0-60.511
- a=x-qt-text-nam:Matroska video+audio+(optional)subtitles, streamed by the LIVE555 Media Server
- a=x-qt-text-inf:test.mkv
- 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=42C00D;sprop-parameter-sets=Z0LADZp0OXzyQgAAAwACAAADACkeKFVA,aM4yyA==
- a=control:track1
- m=audio 0 RTP/AVP 97
- c=IN IP4 0.0.0.0
- b=AS:96
- a=rtpmap:97 MPEG4-GENERIC/44100/2
- a=fmtp:97 streamtype=5;profile-level-id=1;mode=AAC-hbr;sizelength=13;indexlength=3;indexdeltalength=3;config=0A10
- a=control:track2
-
- Opened URL "rtsp://192.168.1.107:554/test.mkv", returning a SDP description:
- v=0
- o=- 1380948674223678 1 IN IP4 192.168.1.107
- s=Matroska video+audio+(optional)subtitles, streamed by the LIVE555 Media Server
- i=test.mkv
- t=0 0
- a=tool:LIVE555 Streaming Media v2011.12.23
- a=type:broadcast
- a=control:*
- a=range:npt=0-60.511
- a=x-qt-text-nam:Matroska video+audio+(optional)subtitles, streamed by the LIVE555 Media Server
- a=x-qt-text-inf:test.mkv
- 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=42C00D;sprop-parameter-sets=Z0LADZp0OXzyQgAAAwACAAADACkeKFVA,aM4yyA==
- a=control:track1
- m=audio 0 RTP/AVP 97
- c=IN IP4 0.0.0.0
- b=AS:96
- a=rtpmap:97 MPEG4-GENERIC/44100/2
- a=fmtp:97 streamtype=5;profile-level-id=1;mode=AAC-hbr;sizelength=13;indexlength=3;indexdeltalength=3;config=0A10
- a=control:track2
-
- Created receiver for "video/H264" subsession (client ports 12574-12575)
- Created receiver for "audio/MPEG4-GENERIC" subsession (client ports 12576-12577)
- Sending request: SETUP rtsp://192.168.1.107/test.mkv/track1 RTSP/1.0
- CSeq: 4
- User-Agent: playCommon.exe (LIVE555 Streaming Media v2013.04.30)
- Transport: RTP/AVP/TCP;unicast;interleaved=0-1
-
-
- Received 179 new bytes of response data.
- Received a complete SETUP response:
- RTSP/1.0 200 OK
- CSeq: 4
- Date: Sat, Oct 05 2013 05:05:31 GMT
- Transport: RTP/AVP/TCP;unicast;destination=192.168.1.107;source=192.168.1.107;interleaved=0-1
- Session: 5E0C0061
-
-
- Setup "video/H264" subsession (client ports 12574-12575)
- Sending request: SETUP rtsp://192.168.1.107/test.mkv/track2 RTSP/1.0
- CSeq: 5
- User-Agent: playCommon.exe (LIVE555 Streaming Media v2013.04.30)
- Transport: RTP/AVP/TCP;unicast;interleaved=2-3
- Session: 5E0C0061
-
-
- Received a complete SETUP response:
- RTSP/1.0 200 OK
- CSeq: 5
- Date: Sat, Oct 05 2013 05:05:31 GMT
- Transport: RTP/AVP/TCP;unicast;destination=192.168.1.107;source=192.168.1.107;interleaved=2-3
- Session: 5E0C0061
-
-
- Setup "audio/MPEG4-GENERIC" subsession (client ports 12576-12577)
- Created output file: "video-H264-1"
- Created output file: "audio-MPEG4-GENERIC-2"
- Sending request: PLAY rtsp://192.168.1.107/test.mkv/ RTSP/1.0
- CSeq: 6
- User-Agent: playCommon.exe (LIVE555 Streaming Media v2013.04.30)
- Session: 5E0C0061
- Range: npt=0.000-60.511
-
-
- Received a complete PLAY response:
- RTSP/1.0 200 OK
- CSeq: 6
- Date: Sat, Oct 05 2013 05:05:31 GMT
- Range: npt=0.000-60.511
- Session: 5E0C0061
- RTP-Info: url=rtsp://192.168.1.107/test.mkv/track1;seq=28522;rtptime=3173087908,url=rtsp://192.168.1.107/test.mkv/track2;seq=51818;rtptime=2747140000
-
-
- Started playing session
- Receiving streamed data (for up to 65.511000 seconds)...
- Sending request: TEARDOWN rtsp://192.168.1.107/test.mkv/ RTSP/1.0
- CSeq: 7
- User-Agent: playCommon.exe (LIVE555 Streaming Media v2013.04.30)
- Session: 5E0C0061
-
-
- Received a complete TEARDOWN response:
- RTSP/1.0 200 OK
- CSeq: 7
- Date: Sat, Oct 05 2013 05:06:37 GMT
UDP
Java代码 - E:\source\C\RTP_RTCP\Live555\live.2013.04.30\live\Debug>playCommon.exe rtsp://192.168.1.107:554/test.mkv
- Opening connection to 192.168.1.107, port 554...
- ...remote connection opened
- Sending request: OPTIONS rtsp://192.168.1.107:554/test.mkv RTSP/1.0
- CSeq: 2
- User-Agent: playCommon.exe (LIVE555 Streaming Media v2013.04.30)
-
-
- Received 152 new bytes of response data.
- Received a complete OPTIONS response:
- RTSP/1.0 200 OK
- CSeq: 2
- Date: Sat, Oct 05 2013 05:02:11 GMT
- Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, GET_PARAMETER, SET_PARAMETER
-
-
- Sending request: DESCRIBE rtsp://192.168.1.107:554/test.mkv RTSP/1.0
- CSeq: 3
- User-Agent: playCommon.exe (LIVE555 Streaming Media v2013.04.30)
- Accept: application/sdp
-
-
- Received 961 new bytes of response data.
- Received a complete DESCRIBE response:
- RTSP/1.0 200 OK
- CSeq: 3
- Date: Sat, Oct 05 2013 05:02:11 GMT
- Content-Base: rtsp://192.168.1.107/test.mkv/
- Content-Type: application/sdp
- Content-Length: 798
-
- v=0
- o=- 1380948674223678 1 IN IP4 192.168.1.107
- s=Matroska video+audio+(optional)subtitles, streamed by the LIVE555 Media Server
- i=test.mkv
- t=0 0
- a=tool:LIVE555 Streaming Media v2011.12.23
- a=type:broadcast
- a=control:*
- a=range:npt=0-60.511
- a=x-qt-text-nam:Matroska video+audio+(optional)subtitles, streamed by the LIVE555 Media Server
- a=x-qt-text-inf:test.mkv
- 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=42C00D;sprop-parameter-sets=Z0LADZp0OXzyQgAAAwACAAADACkeKFVA,aM4yyA==
- a=control:track1
- m=audio 0 RTP/AVP 97
- c=IN IP4 0.0.0.0
- b=AS:96
- a=rtpmap:97 MPEG4-GENERIC/44100/2
- a=fmtp:97 streamtype=5;profile-level-id=1;mode=AAC-hbr;sizelength=13;indexlength=3;indexdeltalength=3;config=0A10
- a=control:track2
-
- Opened URL "rtsp://192.168.1.107:554/test.mkv", returning a SDP description:
- v=0
- o=- 1380948674223678 1 IN IP4 192.168.1.107
- s=Matroska video+audio+(optional)subtitles, streamed by the LIVE555 Media Server
- i=test.mkv
- t=0 0
- a=tool:LIVE555 Streaming Media v2011.12.23
- a=type:broadcast
- a=control:*
- a=range:npt=0-60.511
- a=x-qt-text-nam:Matroska video+audio+(optional)subtitles, streamed by the LIVE555 Media Server
- a=x-qt-text-inf:test.mkv
- 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=42C00D;sprop-parameter-sets=Z0LADZp0OXzyQgAAAwACAAADACkeKFVA,aM4yyA==
- a=control:track1
- m=audio 0 RTP/AVP 97
- c=IN IP4 0.0.0.0
- b=AS:96
- a=rtpmap:97 MPEG4-GENERIC/44100/2
- a=fmtp:97 streamtype=5;profile-level-id=1;mode=AAC-hbr;sizelength=13;indexlength=3;indexdeltalength=3;config=0A10
- a=control:track2
-
- Created receiver for "video/H264" subsession (client ports 12566-12567)
- Created receiver for "audio/MPEG4-GENERIC" subsession (client ports 12568-12569)
- Sending request: SETUP rtsp://192.168.1.107/test.mkv/track1 RTSP/1.0
- CSeq: 4
- User-Agent: playCommon.exe (LIVE555 Streaming Media v2013.04.30)
- Transport: RTP/AVP;unicast;client_port=12566-12567
-
-
- Received 205 new bytes of response data.
- Received a complete SETUP response:
- RTSP/1.0 200 OK
- CSeq: 4
- Date: Sat, Oct 05 2013 05:02:12 GMT
- Transport: RTP/AVP;unicast;destination=192.168.1.107;source=192.168.1.107;client_port=12566-12567;server_port=6974-6975
- Session: 5DBD3416
-
-
- Setup "video/H264" subsession (client ports 12566-12567)
- Sending request: SETUP rtsp://192.168.1.107/test.mkv/track2 RTSP/1.0
- CSeq: 5
- User-Agent: playCommon.exe (LIVE555 Streaming Media v2013.04.30)
- Transport: RTP/AVP;unicast;client_port=12568-12569
- Session: 5DBD3416
-
-
- Received 205 new bytes of response data.
- Received a complete SETUP response:
- RTSP/1.0 200 OK
- CSeq: 5
- Date: Sat, Oct 05 2013 05:02:12 GMT
- Transport: RTP/AVP;unicast;destination=192.168.1.107;source=192.168.1.107;client_port=12568-12569;server_port=6976-6977
- Session: 5DBD3416
-
-
- Setup "audio/MPEG4-GENERIC" subsession (client ports 12568-12569)
- Created output file: "video-H264-1"
- Created output file: "audio-MPEG4-GENERIC-2"
- Sending request: PLAY rtsp://192.168.1.107/test.mkv/ RTSP/1.0
- CSeq: 6
- User-Agent: playCommon.exe (LIVE555 Streaming Media v2013.04.30)
- Session: 5DBD3416
- Range: npt=0.000-60.511
-
-
- Received 259 new bytes of response data.
- Received a complete PLAY response:
- RTSP/1.0 200 OK
- CSeq: 6
- Date: Sat, Oct 05 2013 05:02:12 GMT
- Range: npt=0.000-60.511
- Session: 5DBD3416
- RTP-Info: url=rtsp://192.168.1.107/test.mkv/track1;seq=32252;rtptime=2700761571,url=rtsp://192.168.1.107/test.mkv/track2;seq=22188;rtptime=648106684
-
-
- Started playing session
- Receiving streamed data (for up to 65.511000 seconds)...
- Sending request: TEARDOWN rtsp://192.168.1.107/test.mkv/ RTSP/1.0
- CSeq: 7
- User-Agent: playCommon.exe (LIVE555 Streaming Media v2013.04.30)
- Session: 5DBD3416
-
-
- Received 65 new bytes of response data.
- Received a complete TEARDOWN response:
- RTSP/1.0 200 OK
- CSeq: 7
- Date: Sat, Oct 05 2013 05:03:17 GMT
附件:
RTSPClient_log_UDP.txt
RTSTClient_log_TCP.txt
timer.mkv
|