[Live-devel] Live555 Library based H.264 Streaming Server Connection Problem.
S.W Hwang
embedded at gmail.com
Mon Aug 9 02:10:50 PDT 2010
Hi.
I've been written some code to make a H.264 streaming server.
The server is running on Embedded Device (arm linux).
The embedded device has H.264 hardware encoder.
I attached some code which is initializing the streaming server.
On the other hands, I used VLC player in Linux version.
I have problems with below code.
VLC player is possible to access the H.264 streaming server.
But, H.264 streaming server send a message which is "Reply: RTSP/1.0 461
Unsupported Transport".
I got a some hint that is "my source code is for H.264 muliticasting
streaming server."
1. I want to make a Unicast streaming server. I don't know how to make a
Unicast Streaming server with live555 library.
Would you tell me how to make it?
I have one more question about H.264 encoding data.
2. After H.264 encoding, Do I need another job to send H.264 through
RTP/RTSP protocol?
//////////////////////////////////////// log message
/////////////////////////////////
Play this stream using the URL "rtsp://192.168.10.10:8554/testStream"
Beginning streaming...
constructing an x264 StreamFramer:411824
-------------------------
///////////////////////////////////////// Main Code
///////////////////////////////////////////////////
int mServerPort = 8000;
mEventLoopController = 0;
// Begin by setting up our usage environment:
mScheduler = BasicTaskScheduler::createNew();
mEnv = BasicUsageEnvironment::createNew(*mScheduler);
const unsigned estimatedSessionBandwidth = DEFAULT_RTP_BANDWIDTH_KBPS; //
in kbps; for RTCP b/w share
const unsigned maxCNAMElen = 100;
unsigned char CNAME[maxCNAMElen + 1];
gethostname((char*) CNAME, maxCNAMElen);
CNAME[maxCNAMElen] = '\0'; // just in case
printf("gethostname=%s", CNAME);
// Create 'groupsocks' for RTP and RTCP:
const unsigned short rtpPortNum = mServerPort;
const unsigned short rtcpPortNum = rtpPortNum + 1;
const unsigned char ttl = DEFAULT_RTP_TTL; // low, in case routers don't
admin scope
struct in_addr destinationAddress;
destinationAddress.s_addr = our_inet_addr("192.168.10.10"); //put in
destination IP
mRtpPort = new Port(rtpPortNum);
mRtcpPort = new Port(rtcpPortNum);
mRtpGroupsock = new Groupsock(*mEnv, destinationAddress, *mRtpPort, ttl);
mRtcpGroupsock = new Groupsock(*mEnv, destinationAddress, *mRtcpPort,
ttl);
// Create an 'H264 Video RTP' sink from the RTP 'groupsock':
mVideoSenderSink = H264VideoRTPSink::createNew(*mEnv, mRtpGroupsock, 96,
0x41, "H264");
// Create (and start) a 'RTCP instance' for this RTP sink:
mRtcpInstance = RTCPInstance::createNew(*mEnv, mRtcpGroupsock,
estimatedSessionBandwidth, CNAME, mVideoSenderSink, NULL, true);
// Note: This starts RTCP running automatically
RTSPServer* rtspServer = RTSPServer::createNew(*mEnv, 8554);
if (rtspServer == NULL)
{
*mEnv << "Failed to create RTSP server: " << mEnv->getResultMsg() <<
"\n";
exit(1);
}
ServerMediaSession* sms = ServerMediaSession::createNew(*mEnv,
"testStream",
"embedded", "embedded", true);
sms->addSubsession(PassiveServerMediaSubsession::createNew(*mVideoSenderSink,
mRtcpInstance));
rtspServer->addServerMediaSession(sms);
char* url = rtspServer->rtspURL(sms);
*mEnv << "Play this stream using the URL \"" << url << "\"\n";
delete[] url;
// Finally, start the streaming:
*mEnv << "Beginning streaming...\n";
// Create a framer for the Video Elementary Stream:
//StreamFramer does not need a source, it gets the AUs from a buffer queue
mVideoSenderSource = x264VideoStreamFramer::createNew(*mEnv, NULL);
mVideoSenderSink->startPlaying(*mVideoSenderSource, AfterPlaying,
mVideoSenderSink);
//schedule the dummy task
ScheduleDummyTask();
//does not return until mEvenLoopController = none-zero value
mEnv->taskScheduler().doEventLoop(&mEventLoopController);
///////////////////////////////////////// Main Code End
///////////////////////////////////////////////////
x264VideoStreamFramer::doGetNextFrame()
{
/////// H.264 Encoding ///////////
..............
//////////// the Encoded data -> insert -> buffer ///////////////////////
///////////////////////////////////////////////////////////
unsigned char* pInputBuffer = (unsigned char*) encoded_buf;
//this is the size of data to be sent
unsigned int sizeBytes = encoded_size;
if (sizeBytes < fMaxSize)
{
memcpy(fTo, pInputBuffer, sizeBytes);
}
else
{
//this probably does not work!
memcpy(fTo, pInputBuffer, fMaxSize);
fNumTruncatedBytes = sizeBytes - fMaxSize;
}
fFrameSize = sizeBytes;
afterGetting(this);
}
//////////////////////////////////////////// Packet
//////////////////////////////////////////////////////////////////////////////////
192.168.10.4 ( Linux PC / Client)
192.168.10.10 ( Embedded Linux / H.264 Streaming Server )
No. Time Source Destination Protocol
Info
6 2.931202 192.168.10.4 192.168.10.10 TCP
36236 > rtsp-alt [SYN] Seq=0 Win=5840 Len=0 MSS=1460 TSV=29313998 TSER=0
WS=6
7 2.931892 192.168.10.10 192.168.10.4 TCP
rtsp-alt > 36236 [SYN, ACK] Seq=0 Ack=1 Win=5792 Len=0 MSS=1460 TSV=1773694
TSER=29313998 WS=1
8 2.931936 192.168.10.4 192.168.10.10 TCP
36236 > rtsp-alt [ACK] Seq=1 Ack=1 Win=5888 Len=0 TSV=29313999 TSER=1773694
9 2.931958 192.168.10.4 192.168.10.10 RTSP
OPTIONS rtsp://192.168.10.10:8554/testStream RTSP/1.0
Frame 9 (202 bytes on wire, 202 bytes captured)
Linux cooked capture
Internet Protocol, Src: 192.168.10.4 (192.168.10.4), Dst: 192.168.10.10
(192.168.10.10)
Transmission Control Protocol, Src Port: 36236 (36236), Dst Port: rtsp-alt
(8554), Seq: 1, Ack: 1, Len: 134
Real Time Streaming Protocol
Request: OPTIONS rtsp://192.168.10.10:8554/testStream RTSP/1.0\r\n
Method: OPTIONS
URL: rtsp://192.168.10.10:8554/testStream
CSeq: 1\r\n
User-Agent: VLC media player (LIVE555 Streaming Media v2010.04.09)\r\n
\r\n
No. Time Source Destination Protocol
Info
10 2.932628 192.168.10.10 192.168.10.4 TCP
rtsp-alt > 36236 [ACK] Seq=1 Ack=135 Win=6864 Len=0 TSV=1773695
TSER=29313999
11 2.957192 192.168.10.10 192.168.10.4 RTSP
Reply: RTSP/1.0 200 OK
Frame 11 (220 bytes on wire, 220 bytes captured)
Linux cooked capture
Internet Protocol, Src: 192.168.10.10 (192.168.10.10), Dst: 192.168.10.4
(192.168.10.4)
Transmission Control Protocol, Src Port: rtsp-alt (8554), Dst Port: 36236
(36236), Seq: 1, Ack: 135, Len: 152
Real Time Streaming Protocol
Response: RTSP/1.0 200 OK\r\n
Status: 200
CSeq: 1\r\n
Date: Thu, Jan 01 1970 02:32:48 GMT\r\n
Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, GET_PARAMETER,
SET_PARAMETER\r\n
\r\n
No. Time Source Destination Protocol
Info
12 2.957245 192.168.10.4 192.168.10.10 TCP
36236 > rtsp-alt [ACK] Seq=135 Ack=153 Win=6912 Len=0 TSV=29314024
TSER=1773699
13 2.957634 192.168.10.4 192.168.10.10 RTSP
DESCRIBE rtsp://192.168.10.10:8554/testStream RTSP/1.0
Frame 13 (228 bytes on wire, 228 bytes captured)
Linux cooked capture
Internet Protocol, Src: 192.168.10.4 (192.168.10.4), Dst: 192.168.10.10
(192.168.10.10)
Transmission Control Protocol, Src Port: 36236 (36236), Dst Port: rtsp-alt
(8554), Seq: 135, Ack: 153, Len: 160
Real Time Streaming Protocol
Request: DESCRIBE rtsp://192.168.10.10:8554/testStream RTSP/1.0\r\n
Method: DESCRIBE
URL: rtsp://192.168.10.10:8554/testStream
CSeq: 2\r\n
Accept: application/sdp\r\n
User-Agent: VLC media player (LIVE555 Streaming Media v2010.04.09)\r\n
\r\n
No. Time Source Destination Protocol
Info
15 2.997117 192.168.10.10 192.168.10.4 TCP
rtsp-alt > 36236 [ACK] Seq=153 Ack=295 Win=7936 Len=0 TSV=1773708
TSER=29314025
16 3.009620 192.168.10.10 192.168.10.4 RTSP/SDP
Reply: RTSP/1.0 200 OK, with session description[Malformed Packet]
Frame 16 (746 bytes on wire, 746 bytes captured)
Linux cooked capture
Internet Protocol, Src: 192.168.10.10 (192.168.10.10), Dst: 192.168.10.4
(192.168.10.4)
Transmission Control Protocol, Src Port: rtsp-alt (8554), Dst Port: 36236
(36236), Seq: 153, Ack: 295, Len: 678
Real Time Streaming Protocol
Response: RTSP/1.0 200 OK\r\n
Status: 200
CSeq: 2\r\n
Date: Thu, Jan 01 1970 02:32:48 GMT\r\n
Content-Base: rtsp://192.168.10.10:8554/testStream/\r\n
Content-type: application/sdp
Content-length: 508
\r\n
Session Description Protocol
Session Description Protocol Version (v): 0
Owner/Creator, Session Id (o): - 9109105913 1 IN IP4 192.168.10.10
Owner Username: -
Session ID: 9109105913
Session Version: 1
Owner Network Type: IN
Owner Address Type: IP4
Owner Address: 192.168.10.10
Session Name (s): Session streamed by frank
Session Information (i): frank
Time Description, active time (t): 0 0
Session Attribute (a): tool:LIVE555 Streaming Media v2010.07.29
Session Attribute (a): type:broadcast
Session Attribute (a): control:*
Session Attribute (a): source-filter: incl IN IP4 * 192.168.10.10
Session Attribute (a): rtcp-unicast: reflection
Session Attribute (a): range:npt=0-
Session Attribute (a): x-qt-text-nam:Session streamed by frank
Session Attribute (a): x-qt-text-inf:frank
Media Description, name and address (m): video 8000 RTP/AVP 96
Connection Information (c): IN IP4 192.168.10.10/255
Bandwidth Information (b): AS:4500
Media Attribute (a): rtpmap:96 H264/90000
Media Attribute (a): fmtp:96
packetization-mode=1;profile-level-id=000041;sprop-parameter-sets=H264
[Malformed Packet: SDP]
Frame (746 bytes):
0000 00 00 00 01 00 06 00 4a 5c 26 0a 5b 00 00 08 00 .......J\&.[....
0010 45 00 02 da d0 1c 40 00 40 06 d2 a2 c0 a8 0a 0a E..... at .@.......
0020 c0 a8 0a 04 21 6a 8d 8c 40 e8 c0 fe 3f 5b c9 0e ....!j.. at ...?[..
0030 80 18 0f 80 76 73 00 00 01 01 08 0a 00 1b 10 8e ....vs..........
0040 01 bf 4b e9 52 54 53 50 2f 31 2e 30 20 32 30 30 ..K.RTSP/1.0 200
0050 20 4f 4b 0d 0a 43 53 65 71 3a 20 32 0d 0a 44 61 OK..CSeq: 2..Da
0060 74 65 3a 20 54 68 75 2c 20 4a 61 6e 20 30 31 20 te: Thu, Jan 01
0070 31 39 37 30 20 30 32 3a 33 32 3a 34 38 20 47 4d 1970 02:32:48 GM
0080 54 0d 0a 43 6f 6e 74 65 6e 74 2d 42 61 73 65 3a T..Content-Base:
0090 20 72 74 73 70 3a 2f 2f 31 39 32 2e 31 36 38 2e rtsp://192.168.
00a0 31 30 2e 31 30 3a 38 35 35 34 2f 74 65 73 74 53 10.10:8554/testS
00b0 74 72 65 61 6d 2f 0d 0a 43 6f 6e 74 65 6e 74 2d tream/..Content-
00c0 54 79 70 65 3a 20 61 70 70 6c 69 63 61 74 69 6f Type: applicatio
00d0 6e 2f 73 64 70 0d 0a 43 6f 6e 74 65 6e 74 2d 4c n/sdp..Content-L
00e0 65 6e 67 74 68 3a 20 35 30 38 0d 0a 0d 0a 76 3d ength: 508....v=
00f0 30 0d 0a 6f 3d 2d 20 39 31 30 39 31 30 35 39 31 0..o=- 910910591
0100 33 20 31 20 49 4e 20 49 50 34 20 31 39 32 2e 31 3 1 IN IP4 192.1
0110 36 38 2e 31 30 2e 31 30 0d 0a 73 3d 53 65 73 73 68.10.10..s=Sess
0120 69 6f 6e 20 73 74 72 65 61 6d 65 64 20 62 79 20 ion streamed by
0130 66 72 61 6e 6b 0d 0a 69 3d 66 72 61 6e 6b 0d 0a frank..i=frank..
0140 74 3d 30 20 30 0d 0a 61 3d 74 6f 6f 6c 3a 4c 49 t=0 0..a=tool:LI
0150 56 45 35 35 35 20 53 74 72 65 61 6d 69 6e 67 20 VE555 Streaming
0160 4d 65 64 69 61 20 76 32 30 31 30 2e 30 37 2e 32 Media v2010.07.2
0170 39 0d 0a 61 3d 74 79 70 65 3a 62 72 6f 61 64 63 9..a=type:broadc
0180 61 73 74 0d 0a 61 3d 63 6f 6e 74 72 6f 6c 3a 2a ast..a=control:*
0190 0d 0a 61 3d 73 6f 75 72 63 65 2d 66 69 6c 74 65 ..a=source-filte
01a0 72 3a 20 69 6e 63 6c 20 49 4e 20 49 50 34 20 2a r: incl IN IP4 *
01b0 20 31 39 32 2e 31 36 38 2e 31 30 2e 31 30 0d 0a 192.168.10.10..
01c0 61 3d 72 74 63 70 2d 75 6e 69 63 61 73 74 3a 20 a=rtcp-unicast:
01d0 72 65 66 6c 65 63 74 69 6f 6e 0d 0a 61 3d 72 61 reflection..a=ra
01e0 6e 67 65 3a 6e 70 74 3d 30 2d 0d 0a 61 3d 78 2d nge:npt=0-..a=x-
01f0 71 74 2d 74 65 78 74 2d 6e 61 6d 3a 53 65 73 73 qt-text-nam:Sess
0200 69 6f 6e 20 73 74 72 65 61 6d 65 64 20 62 79 20 ion streamed by
0210 66 72 61 6e 6b 0d 0a 61 3d 78 2d 71 74 2d 74 65 frank..a=x-qt-te
0220 78 74 2d 69 6e 66 3a 66 72 61 6e 6b 0d 0a 6d 3d xt-inf:frank..m=
0230 76 69 64 65 6f 20 38 30 30 30 20 52 54 50 2f 41 video 8000 RTP/A
0240 56 50 20 39 36 0d 0a 63 3d 49 4e 20 49 50 34 20 VP 96..c=IN IP4
0250 31 39 32 2e 31 36 38 2e 31 30 2e 31 30 2f 32 35 192.168.10.10/25
0260 35 0d 0a 62 3d 41 53 3a 34 35 30 30 0d 0a 61 3d 5..b=AS:4500..a=
0270 72 74 70 6d 61 70 3a 39 36 20 48 32 36 34 2f 39 rtpmap:96 H264/9
0280 30 30 30 30 0d 0a 61 3d 66 6d 74 70 3a 39 36 20 0000..a=fmtp:96
0290 70 61 63 6b 65 74 69 7a 61 74 69 6f 6e 2d 6d 6f packetization-mo
02a0 64 65 3d 31 3b 70 72 6f 66 69 6c 65 2d 6c 65 76 de=1;profile-lev
02b0 65 6c 2d 69 64 3d 30 30 30 30 34 31 3b 73 70 72 el-id=000041;spr
02c0 6f 70 2d 70 61 72 61 6d 65 74 65 72 2d 73 65 74 op-parameter-set
02d0 73 3d 48 32 36 34 0d 0a 61 3d 63 6f 6e 74 72 6f s=H264..a=contro
02e0 6c 3a 74 72 61 63 6b 31 0d 0a l:track1..
ASCII bytes to tvb (3 bytes):
0000 00 00 41 ..A
h264 prop-parameter-sets (3 bytes):
0000 1f 6e b8 .n.
No. Time Source Destination Protocol
Info
17 3.011104 192.168.10.4 192.168.10.10 RTSP
SETUP rtsp://192.168.10.10:8554/testStream/track1 RTSP/1.0
18 3.011799 192.168.10.10 192.168.10.4 TCP
rtsp-alt > 36236 [ACK] Seq=831 Ack=484 Win=9008 Len=0 TSV=1773710
TSER=29314078
19 3.060406 192.168.10.10 192.168.10.4 RTSP
Reply: RTSP/1.0 200 OK
20 3.061527 192.168.10.4 192.168.10.10 RTSP
PLAY rtsp://192.168.10.10:8554/testStream/ RTSP/1.0
21 3.062252 192.168.10.10 192.168.10.4 TCP
rtsp-alt > 36236 [ACK] Seq=1015 Ack=654 Win=10080 Len=0 TSV=1773721
TSER=29314129
24 3.112507 192.168.10.10 192.168.10.4 RTSP
Reply: RTSP/1.0 200 OK
Frame 24 (256 bytes on wire, 256 bytes captured)
Linux cooked capture
Internet Protocol, Src: 192.168.10.10 (192.168.10.10), Dst: 192.168.10.4
(192.168.10.4)
Transmission Control Protocol, Src Port: rtsp-alt (8554), Dst Port: 36236
(36236), Seq: 1015, Ack: 654, Len: 188
Real Time Streaming Protocol
Response: RTSP/1.0 200 OK\r\n
Status: 200
CSeq: 4\r\n
Date: Thu, Jan 01 1970 02:32:48 GMT\r\n
Range: npt=0.000-\r\n
Session: 33E6825D
RTP-Info: url=rtsp://
192.168.10.10:8554/testStream/track1;seq=7610;rtptime=35150190\r\n
\r\n
No. Time Source Destination Protocol
Info
25 3.117616 192.168.10.4 192.168.10.10 RTSP
GET_PARAMETER rtsp://192.168.10.10:8554/testStream/ RTSP/1.0
26 3.118293 192.168.10.10 192.168.10.4 TCP
rtsp-alt > 36236 [ACK] Seq=1203 Ack=814 Win=11152 Len=0 TSV=1773732
TSER=29314185
27 3.163629 192.168.10.10 192.168.10.4 RTSP
Reply: RTSP/1.0 200 OK
28 3.203476 192.168.10.4 192.168.10.10 TCP
36236 > rtsp-alt [ACK] Seq=814 Ack=1287 Win=11008 Len=0 TSV=29314271
TSER=1773740
32 5.813108 192.168.10.4 192.168.10.10 RTCP
Receiver Report Source description
Frame 32 (68 bytes on wire, 68 bytes captured)
Linux cooked capture
Internet Protocol, Src: 192.168.10.4 (192.168.10.4), Dst: 192.168.10.10
(192.168.10.10)
User Datagram Protocol, Src Port: vcom-tunnel (8001), Dst Port: vcom-tunnel
(8001)
Real-time Transport Control Protocol (Receiver Report)
[Stream setup by RTSP (frame 17)]
10.. .... = Version: RFC 1889 Version (2)
..0. .... = Padding: False
...0 0000 = Reception report count: 0
Packet type: Receiver Report (201)
Length: 1 (8 bytes)
Sender SSRC: 0xcd6b4254 (3446358612)
Real-time Transport Control Protocol (Source description)
[Stream setup by RTSP (frame 17)]
10.. .... = Version: RFC 1889 Version (2)
..0. .... = Padding: False
...0 0001 = Source count: 1
Packet type: Source description (202)
Length: 3 (16 bytes)
Chunk 1, SSRC/CSRC 0xCD6B4254
[RTCP frame length check: OK - 24 bytes]
0000 00 04 00 01 00 06 00 13 77 c9 c3 7c 00 00 08 00 ........w..|....
0010 45 00 00 34 00 00 40 00 40 11 a5 5a c0 a8 0a 04 E..4.. at .@..Z....
0020 c0 a8 0a 0a 1f 41 1f 41 00 20 9c 46 80 c9 00 01 .....A.A. .F....
0030 cd 6b 42 54 81 ca 00 03 cd 6b 42 54 01 02 6c 6c .kBT.....kBT..ll
0040 00 00 00 00 ....
No. Time Source Destination Protocol
Info
51 11.179855 192.168.10.4 192.168.10.10 RTCP
Receiver Report Source description
Frame 51 (68 bytes on wire, 68 bytes captured)
Linux cooked capture
Internet Protocol, Src: 192.168.10.4 (192.168.10.4), Dst: 192.168.10.10
(192.168.10.10)
User Datagram Protocol, Src Port: vcom-tunnel (8001), Dst Port: vcom-tunnel
(8001)
Real-time Transport Control Protocol (Receiver Report)
[Stream setup by RTSP (frame 17)]
10.. .... = Version: RFC 1889 Version (2)
..0. .... = Padding: False
...0 0000 = Reception report count: 0
Packet type: Receiver Report (201)
Length: 1 (8 bytes)
Sender SSRC: 0xcd6b4254 (3446358612)
Real-time Transport Control Protocol (Source description)
[Stream setup by RTSP (frame 17)]
10.. .... = Version: RFC 1889 Version (2)
..0. .... = Padding: False
...0 0001 = Source count: 1
Packet type: Source description (202)
Length: 3 (16 bytes)
Chunk 1, SSRC/CSRC 0xCD6B4254
[RTCP frame length check: OK - 24 bytes]
0000 00 04 00 01 00 06 00 13 77 c9 c3 7c 00 00 08 00 ........w..|....
0010 45 00 00 34 00 00 40 00 40 11 a5 5a c0 a8 0a 04 E..4.. at .@..Z....
0020 c0 a8 0a 0a 1f 41 1f 41 00 20 9c 46 80 c9 00 01 .....A.A. .F....
0030 cd 6b 42 54 81 ca 00 03 cd 6b 42 54 01 02 6c 6c .kBT.....kBT..ll
0040 00 00 00 00 ....
No. Time Source Destination Protocol
Info
60 13.675365 192.168.10.4 192.168.10.10 RTSP
TEARDOWN rtsp://192.168.10.10:8554/testStream/ RTSP/1.0
Frame 60 (223 bytes on wire, 223 bytes captured)
Linux cooked capture
Internet Protocol, Src: 192.168.10.4 (192.168.10.4), Dst: 192.168.10.10
(192.168.10.10)
Transmission Control Protocol, Src Port: 36236 (36236), Dst Port: rtsp-alt
(8554), Seq: 814, Ack: 1287, Len: 155
Real Time Streaming Protocol
Request: TEARDOWN rtsp://192.168.10.10:8554/testStream/ RTSP/1.0\r\n
Method: TEARDOWN
URL: rtsp://192.168.10.10:8554/testStream/
CSeq: 6\r\n
Session: 33E6825D
User-Agent: VLC media player (LIVE555 Streaming Media v2010.04.09)\r\n
\r\n
No. Time Source Destination Protocol
Info
61 13.676098 192.168.10.10 192.168.10.4 TCP
rtsp-alt > 36236 [ACK] Seq=1287 Ack=969 Win=12224 Len=0 TSV=1775843
TSER=29324742
62 13.681997 192.168.10.10 192.168.10.4 RTSP
Reply: RTSP/1.0 200 OK
63 13.682013 192.168.10.4 192.168.10.10 TCP
36236 > rtsp-alt [ACK] Seq=969 Ack=1352 Win=11008 Len=0 TSV=29324749
TSER=1775845
64 13.682021 192.168.10.10 192.168.10.4 TCP
rtsp-alt > 36236 [FIN, ACK] Seq=1352 Ack=969 Win=12224 Len=0 TSV=1775845
TSER=29324742
65 13.682330 192.168.10.4 192.168.10.10 RTCP
Receiver Report Goodbye
66 13.682391 192.168.10.4 192.168.10.10 TCP
36236 > rtsp-alt [FIN, ACK] Seq=969 Ack=1353 Win=11008 Len=0 TSV=29324749
TSER=1775845
67 13.682493 192.168.10.4 192.168.10.10 TCP
36237 > rtsp-alt [SYN] Seq=0 Win=5840 Len=0 MSS=1460 TSV=29324750 TSER=0
WS=6
68 13.682956 192.168.10.10 192.168.10.4 TCP
rtsp-alt > 36236 [ACK] Seq=1353 Ack=970 Win=12224 Len=0 TSV=1775845
TSER=29324749
69 13.683386 192.168.10.10 192.168.10.4 TCP
rtsp-alt > 36237 [SYN, ACK] Seq=0 Ack=1 Win=5792 Len=0 MSS=1460 TSV=1775845
TSER=29324750 WS=1
70 13.683407 192.168.10.4 192.168.10.10 TCP
36237 > rtsp-alt [ACK] Seq=1 Ack=1 Win=5888 Len=0 TSV=29324750 TSER=1775845
71 13.683425 192.168.10.4 192.168.10.10 RTSP
OPTIONS rtsp://192.168.10.10:8554/testStream RTSP/1.0
Frame 71 (202 bytes on wire, 202 bytes captured)
Linux cooked capture
Internet Protocol, Src: 192.168.10.4 (192.168.10.4), Dst: 192.168.10.10
(192.168.10.10)
Transmission Control Protocol, Src Port: 36237 (36237), Dst Port: rtsp-alt
(8554), Seq: 1, Ack: 1, Len: 134
Real Time Streaming Protocol
Request: OPTIONS rtsp://192.168.10.10:8554/testStream RTSP/1.0\r\n
Method: OPTIONS
URL: rtsp://192.168.10.10:8554/testStream
CSeq: 1\r\n
User-Agent: VLC media player (LIVE555 Streaming Media v2010.04.09)\r\n
\r\n
No. Time Source Destination Protocol
Info
72 13.684104 192.168.10.10 192.168.10.4 TCP
rtsp-alt > 36237 [ACK] Seq=1 Ack=135 Win=6864 Len=0 TSV=1775845
TSER=29324750
73 13.735277 192.168.10.10 192.168.10.4 RTSP
Reply: RTSP/1.0 200 OK
Frame 73 (220 bytes on wire, 220 bytes captured)
Linux cooked capture
Internet Protocol, Src: 192.168.10.10 (192.168.10.10), Dst: 192.168.10.4
(192.168.10.4)
Transmission Control Protocol, Src Port: rtsp-alt (8554), Dst Port: 36237
(36237), Seq: 1, Ack: 135, Len: 152
Real Time Streaming Protocol
Response: RTSP/1.0 200 OK\r\n
Status: 200
CSeq: 1\r\n
Date: Thu, Jan 01 1970 02:32:59 GMT\r\n
Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, GET_PARAMETER,
SET_PARAMETER\r\n
\r\n
No. Time Source Destination Protocol
Info
74 13.735296 192.168.10.4 192.168.10.10 TCP
36237 > rtsp-alt [ACK] Seq=135 Ack=153 Win=6912 Len=0 TSV=29324802
TSER=1775855
75 13.735981 192.168.10.4 192.168.10.10 RTSP
DESCRIBE rtsp://192.168.10.10:8554/testStream RTSP/1.0
Frame 75 (228 bytes on wire, 228 bytes captured)
Linux cooked capture
Internet Protocol, Src: 192.168.10.4 (192.168.10.4), Dst: 192.168.10.10
(192.168.10.10)
Transmission Control Protocol, Src Port: 36237 (36237), Dst Port: rtsp-alt
(8554), Seq: 135, Ack: 153, Len: 160
Real Time Streaming Protocol
Request: DESCRIBE rtsp://192.168.10.10:8554/testStream RTSP/1.0\r\n
Method: DESCRIBE
URL: rtsp://192.168.10.10:8554/testStream
CSeq: 2\r\n
Accept: application/sdp\r\n
User-Agent: VLC media player (LIVE555 Streaming Media v2010.04.09)\r\n
\r\n
No. Time Source Destination Protocol
Info
76 13.736574 192.168.10.10 192.168.10.4 TCP
rtsp-alt > 36237 [ACK] Seq=153 Ack=295 Win=7936 Len=0 TSV=1775856
TSER=29324803
77 13.787707 192.168.10.10 192.168.10.4 RTSP/SDP
Reply: RTSP/1.0 200 OK, with session description[Malformed Packet]
Frame 77 (746 bytes on wire, 746 bytes captured)
Linux cooked capture
Internet Protocol, Src: 192.168.10.10 (192.168.10.10), Dst: 192.168.10.4
(192.168.10.4)
Transmission Control Protocol, Src Port: rtsp-alt (8554), Dst Port: 36237
(36237), Seq: 153, Ack: 295, Len: 678
Real Time Streaming Protocol
Response: RTSP/1.0 200 OK\r\n
Status: 200
CSeq: 2\r\n
Date: Thu, Jan 01 1970 02:32:59 GMT\r\n
Content-Base: rtsp://192.168.10.10:8554/testStream/\r\n
Content-type: application/sdp
Content-length: 508
\r\n
Session Description Protocol
Session Description Protocol Version (v): 0
Owner/Creator, Session Id (o): - 9109105913 1 IN IP4 192.168.10.10
Owner Username: -
Session ID: 9109105913
Session Version: 1
Owner Network Type: IN
Owner Address Type: IP4
Owner Address: 192.168.10.10
Session Name (s): Session streamed by frank
Session Information (i): frank
Time Description, active time (t): 0 0
Session Attribute (a): tool:LIVE555 Streaming Media v2010.07.29
Session Attribute (a): type:broadcast
Session Attribute (a): control:*
Session Attribute (a): source-filter: incl IN IP4 * 192.168.10.10
Session Attribute (a): rtcp-unicast: reflection
Session Attribute (a): range:npt=0-
Session Attribute (a): x-qt-text-nam:Session streamed by frank
Session Attribute (a): x-qt-text-inf:frank
Media Description, name and address (m): video 8000 RTP/AVP 96
Connection Information (c): IN IP4 192.168.10.10/255
Bandwidth Information (b): AS:4500
Media Attribute (a): rtpmap:96 H264/90000
Media Attribute (a): fmtp:96
packetization-mode=1;profile-level-id=000041;sprop-parameter-sets=H264
[Malformed Packet: SDP]
Frame (746 bytes):
0000 00 00 00 01 00 06 00 4a 5c 26 0a 5b 00 00 08 00 .......J\&.[....
0010 45 00 02 da 4c 07 40 00 40 06 56 b8 c0 a8 0a 0a E...L. at .@.V.....
0020 c0 a8 0a 04 21 6a 8d 8d 41 3d 55 79 49 63 c5 cc ....!j..A=UyIc..
0030 80 18 0f 80 a7 56 00 00 01 01 08 0a 00 1b 18 f9 .....V..........
0040 01 bf 76 03 52 54 53 50 2f 31 2e 30 20 32 30 30 ..v.RTSP/1.0 200
0050 20 4f 4b 0d 0a 43 53 65 71 3a 20 32 0d 0a 44 61 OK..CSeq: 2..Da
0060 74 65 3a 20 54 68 75 2c 20 4a 61 6e 20 30 31 20 te: Thu, Jan 01
0070 31 39 37 30 20 30 32 3a 33 32 3a 35 39 20 47 4d 1970 02:32:59 GM
0080 54 0d 0a 43 6f 6e 74 65 6e 74 2d 42 61 73 65 3a T..Content-Base:
0090 20 72 74 73 70 3a 2f 2f 31 39 32 2e 31 36 38 2e rtsp://192.168.
00a0 31 30 2e 31 30 3a 38 35 35 34 2f 74 65 73 74 53 10.10:8554/testS
00b0 74 72 65 61 6d 2f 0d 0a 43 6f 6e 74 65 6e 74 2d tream/..Content-
00c0 54 79 70 65 3a 20 61 70 70 6c 69 63 61 74 69 6f Type: applicatio
00d0 6e 2f 73 64 70 0d 0a 43 6f 6e 74 65 6e 74 2d 4c n/sdp..Content-L
00e0 65 6e 67 74 68 3a 20 35 30 38 0d 0a 0d 0a 76 3d ength: 508....v=
00f0 30 0d 0a 6f 3d 2d 20 39 31 30 39 31 30 35 39 31 0..o=- 910910591
0100 33 20 31 20 49 4e 20 49 50 34 20 31 39 32 2e 31 3 1 IN IP4 192.1
0110 36 38 2e 31 30 2e 31 30 0d 0a 73 3d 53 65 73 73 68.10.10..s=Sess
0120 69 6f 6e 20 73 74 72 65 61 6d 65 64 20 62 79 20 ion streamed by
0130 66 72 61 6e 6b 0d 0a 69 3d 66 72 61 6e 6b 0d 0a frank..i=frank..
0140 74 3d 30 20 30 0d 0a 61 3d 74 6f 6f 6c 3a 4c 49 t=0 0..a=tool:LI
0150 56 45 35 35 35 20 53 74 72 65 61 6d 69 6e 67 20 VE555 Streaming
0160 4d 65 64 69 61 20 76 32 30 31 30 2e 30 37 2e 32 Media v2010.07.2
0170 39 0d 0a 61 3d 74 79 70 65 3a 62 72 6f 61 64 63 9..a=type:broadc
0180 61 73 74 0d 0a 61 3d 63 6f 6e 74 72 6f 6c 3a 2a ast..a=control:*
0190 0d 0a 61 3d 73 6f 75 72 63 65 2d 66 69 6c 74 65 ..a=source-filte
01a0 72 3a 20 69 6e 63 6c 20 49 4e 20 49 50 34 20 2a r: incl IN IP4 *
01b0 20 31 39 32 2e 31 36 38 2e 31 30 2e 31 30 0d 0a 192.168.10.10..
01c0 61 3d 72 74 63 70 2d 75 6e 69 63 61 73 74 3a 20 a=rtcp-unicast:
01d0 72 65 66 6c 65 63 74 69 6f 6e 0d 0a 61 3d 72 61 reflection..a=ra
01e0 6e 67 65 3a 6e 70 74 3d 30 2d 0d 0a 61 3d 78 2d nge:npt=0-..a=x-
01f0 71 74 2d 74 65 78 74 2d 6e 61 6d 3a 53 65 73 73 qt-text-nam:Sess
0200 69 6f 6e 20 73 74 72 65 61 6d 65 64 20 62 79 20 ion streamed by
0210 66 72 61 6e 6b 0d 0a 61 3d 78 2d 71 74 2d 74 65 frank..a=x-qt-te
0220 78 74 2d 69 6e 66 3a 66 72 61 6e 6b 0d 0a 6d 3d xt-inf:frank..m=
0230 76 69 64 65 6f 20 38 30 30 30 20 52 54 50 2f 41 video 8000 RTP/A
0240 56 50 20 39 36 0d 0a 63 3d 49 4e 20 49 50 34 20 VP 96..c=IN IP4
0250 31 39 32 2e 31 36 38 2e 31 30 2e 31 30 2f 32 35 192.168.10.10/25
0260 35 0d 0a 62 3d 41 53 3a 34 35 30 30 0d 0a 61 3d 5..b=AS:4500..a=
0270 72 74 70 6d 61 70 3a 39 36 20 48 32 36 34 2f 39 rtpmap:96 H264/9
0280 30 30 30 30 0d 0a 61 3d 66 6d 74 70 3a 39 36 20 0000..a=fmtp:96
0290 70 61 63 6b 65 74 69 7a 61 74 69 6f 6e 2d 6d 6f packetization-mo
02a0 64 65 3d 31 3b 70 72 6f 66 69 6c 65 2d 6c 65 76 de=1;profile-lev
02b0 65 6c 2d 69 64 3d 30 30 30 30 34 31 3b 73 70 72 el-id=000041;spr
02c0 6f 70 2d 70 61 72 61 6d 65 74 65 72 2d 73 65 74 op-parameter-set
02d0 73 3d 48 32 36 34 0d 0a 61 3d 63 6f 6e 74 72 6f s=H264..a=contro
02e0 6c 3a 74 72 61 63 6b 31 0d 0a l:track1..
ASCII bytes to tvb (3 bytes):
0000 00 00 41 ..A
h264 prop-parameter-sets (3 bytes):
0000 1f 6e b8 .n.
No. Time Source Destination Protocol
Info
78 13.788745 192.168.10.4 192.168.10.10 RTSP
SETUP rtsp://192.168.10.10:8554/testStream/track1 RTSP/1.0
Frame 78 (255 bytes on wire, 255 bytes captured)
Linux cooked capture
Internet Protocol, Src: 192.168.10.4 (192.168.10.4), Dst: 192.168.10.10
(192.168.10.10)
Transmission Control Protocol, Src Port: 36237 (36237), Dst Port: rtsp-alt
(8554), Seq: 295, Ack: 831, Len: 187
Real Time Streaming Protocol
Request: SETUP rtsp://192.168.10.10:8554/testStream/track1 RTSP/1.0\r\n
Method: SETUP
URL: rtsp://192.168.10.10:8554/testStream/track1
CSeq: 3\r\n
Transport: RTP/AVP/TCP;unicast;interleaved=0-1
User-Agent: VLC media player (LIVE555 Streaming Media v2010.04.09)\r\n
\r\n
No. Time Source Destination Protocol
Info
79 13.789426 192.168.10.10 192.168.10.4 TCP
rtsp-alt > 36237 [ACK] Seq=831 Ack=482 Win=9008 Len=0 TSV=1775866
TSER=29324856
80 13.837882 192.168.10.10 192.168.10.4 RTSP
Reply: RTSP/1.0 461 Unsupported Transport
Frame 80 (152 bytes on wire, 152 bytes captured)
Linux cooked capture
Internet Protocol, Src: 192.168.10.10 (192.168.10.10), Dst: 192.168.10.4
(192.168.10.4)
Transmission Control Protocol, Src Port: rtsp-alt (8554), Dst Port: 36237
(36237), Seq: 831, Ack: 482, Len: 84
Real Time Streaming Protocol
Response: RTSP/1.0 461 Unsupported Transport\r\n
Status: 461
CSeq: 3\r\n
Date: Thu, Jan 01 1970 02:32:59 GMT\r\n
\r\n
No. Time Source Destination Protocol
Info
81 13.837898 192.168.10.10 192.168.10.4 TCP
rtsp-alt > 36237 [FIN, ACK] Seq=915 Ack=482 Win=9008 Len=0 TSV=1775876
TSER=29324856
82 13.838271 192.168.10.4 192.168.10.10 RTSP
SETUP rtsp://192.168.10.10:8554/testStream/track1 RTSP/1.0
Frame 82 (257 bytes on wire, 257 bytes captured)
Linux cooked capture
Internet Protocol, Src: 192.168.10.4 (192.168.10.4), Dst: 192.168.10.10
(192.168.10.10)
Transmission Control Protocol, Src Port: 36237 (36237), Dst Port: rtsp-alt
(8554), Seq: 482, Ack: 916, Len: 189
Real Time Streaming Protocol
Request: SETUP rtsp://192.168.10.10:8554/testStream/track1 RTSP/1.0\r\n
Method: SETUP
URL: rtsp://192.168.10.10:8554/testStream/track1
CSeq: 4\r\n
Transport: RTP/AVP;unicast;client_port=8000-8001
User-Agent: VLC media player (LIVE555 Streaming Media v2010.04.09)\r\n
\r\n
No. Time Source Destination Protocol
Info
83 13.838986 192.168.10.10 192.168.10.4 TCP
rtsp-alt > 36237 [RST] Seq=916 Win=0 Len=0
84 13.839006 192.168.10.4 192.168.10.10 RTCP
Receiver Report Goodbye
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20100809/fdca15bd/attachment-0001.html>
More information about the live-devel
mailing list