[Live-devel] Another kasenna specific issue
Derk-Jan Hartman
hartman at videolan.org
Tue Nov 2 17:29:36 PST 2004
Dear Ross,
here we go again :)
I hope it was the same idiot that did all their work, otherwise they
used to have a lot of bad coders there :)
a MPEG1 RTSP/VoD/UDP session from kasenna returns the attached SETUP
response.
The problem is that the message contains data, but does not have the
Content-Lenght header set as required per the RTSP RFC
This confuses liveMedia which in the next read (Usually a PLAY response)
first parses the remaining Data from the previous response. Of course
this data is not recognized as a valid PLAY response, even though the
correct data was received.
Received PLAY response: vHeaderLen = 12; vHeader = 0 0 1 179 22 0 240
196 3 54 224 164 ; sHeaderLen = 18; sHeader = 0 0 1 187 0 12 128 29 77 5
225 255 192 192 32 224 224 46 ; pHeaderLen = 12; pHeader = 0 0 1 186 33
0 1 0 1 128 29 77 ;
livedotcom demuxer error: PLAY failed no response
Is it possible to flush remaining RESPONSE data if there is any left
after parsing this? (And no, i have no idea what it is supposed to be
used for)
DJ
BTW. i'll post all the data that i have collected about kasenna on my
website soon, for future reference.
-------------- next part --------------
No. Time Source Destination Protocol Info
3066 17.028639 192.87.102.162 130.89.174.8 RTSP Reply: RTSP/1.0 200 OK
Frame 3066 (626 bytes on wire, 626 bytes captured)
Arrival Time: Jan 1, 1997 06:42:54.107784000
Time delta from previous packet: 0.052240000 seconds
Time since reference or first frame: 17.028639000 seconds
Frame Number: 3066
Packet Length: 626 bytes
Capture Length: 626 bytes
Ethernet II, Src: 00:0b:60:aa:80:0a, Dst: 00:08:a1:48:1c:0d
Destination: 00:08:a1:48:1c:0d (CnetTech_48:1c:0d)
Source: 00:0b:60:aa:80:0a (130.89.160.1)
Type: IP (0x0800)
Internet Protocol, Src Addr: 192.87.102.162 (192.87.102.162), Dst Addr: 130.89.174.8 (130.89.174.8)
Version: 4
Header length: 20 bytes
Differentiated Services Field: 0x00 (DSCP 0x00: Default; ECN: 0x00)
0000 00.. = Differentiated Services Codepoint: Default (0x00)
.... ..0. = ECN-Capable Transport (ECT): 0
.... ...0 = ECN-CE: 0
Total Length: 612
Identification: 0xec8b (60555)
Flags: 0x04 (Don't Fragment)
0... = Reserved bit: Not set
.1.. = Don't fragment: Set
..0. = More fragments: Not set
Fragment offset: 0
Time to live: 58
Protocol: TCP (0x06)
Header checksum: 0xfaac (correct)
Source: 192.87.102.162 (192.87.102.162)
Destination: 130.89.174.8 (130.89.174.8)
Transmission Control Protocol, Src Port: 554 (554), Dst Port: 1060 (1060), Seq: 582, Ack: 440, Len: 572
Source port: 554 (554)
Destination port: 1060 (1060)
Sequence number: 582 (relative sequence number)
Next sequence number: 1154 (relative sequence number)
Acknowledgement number: 440 (relative ack number)
Header length: 20 bytes
Flags: 0x0018 (PSH, ACK)
0... .... = Congestion Window Reduced (CWR): Not set
.0.. .... = ECN-Echo: Not set
..0. .... = Urgent: Not set
...1 .... = Acknowledgment: Set
.... 1... = Push: Set
.... .0.. = Reset: Not set
.... ..0. = Syn: Not set
.... ...0 = Fin: Not set
Window size: 49640
Checksum: 0xb011 (correct)
Real Time Streaming Protocol
RTSP/1.0 200 OK\r\n
Status: 200
CSeq: 1\r\n
Transport: RAW/RAW/UDP;destination=130.89.174.8;port=1061;client_port=1061;source=192.87.102.162\r\n
Session: 1080659243; timeout = 10800\r\n
Session: 1080659243; timeout = 10800
\r\n
Data (408 bytes)
0000 00 08 a1 48 1c 0d 00 0b 60 aa 80 0a 08 00 45 00 ...H....`.....E.
0010 02 64 ec 8b 40 00 3a 06 fa ac c0 57 66 a2 82 59 .d.. at .:....Wf..Y
0020 ae 08 02 2a 04 24 ca 4a 11 3b c5 a0 8c 07 50 18 ...*.$.J.;....P.
0030 c1 e8 b0 11 00 00 52 54 53 50 2f 31 2e 30 20 32 ......RTSP/1.0 2
0040 30 30 20 4f 4b 0d 0a 43 53 65 71 3a 20 31 0d 0a 00 OK..CSeq: 1..
0050 54 72 61 6e 73 70 6f 72 74 3a 20 52 41 57 2f 52 Transport: RAW/R
0060 41 57 2f 55 44 50 3b 64 65 73 74 69 6e 61 74 69 AW/UDP;destinati
0070 6f 6e 3d 31 33 30 2e 38 39 2e 31 37 34 2e 38 3b on=130.89.174.8;
0080 70 6f 72 74 3d 31 30 36 31 3b 63 6c 69 65 6e 74 port=1061;client
0090 5f 70 6f 72 74 3d 31 30 36 31 3b 73 6f 75 72 63 _port=1061;sourc
00a0 65 3d 31 39 32 2e 38 37 2e 31 30 32 2e 31 36 32 e=192.87.102.162
00b0 0d 0a 53 65 73 73 69 6f 6e 3a 20 31 30 38 30 36 ..Session: 10806
00c0 35 39 32 34 33 3b 20 74 69 6d 65 6f 75 74 20 3d 59243; timeout =
00d0 20 31 30 38 30 30 0d 0a 0d 0a 76 48 65 61 64 65 10800....vHeade
00e0 72 4c 65 6e 20 3d 20 37 36 3b 20 76 48 65 61 64 rLen = 76; vHead
00f0 65 72 20 3d 20 30 20 30 20 31 20 31 37 39 20 32 er = 0 0 1 179 2
0100 34 20 30 20 32 31 36 20 31 33 31 20 34 20 32 32 4 0 216 131 4 22
0110 36 20 33 33 20 31 32 39 20 31 36 20 31 37 20 31 6 33 129 16 17 1
0120 37 20 31 38 20 31 38 20 31 38 20 31 39 20 31 39 7 18 18 18 19 19
0130 20 31 39 20 31 39 20 32 30 20 32 30 20 32 30 20 19 19 20 20 20
0140 32 30 20 32 30 20 32 31 20 32 31 20 32 31 20 32 20 20 21 21 21 2
0150 31 20 32 31 20 32 31 20 32 32 20 32 32 20 32 32 1 21 21 22 22 22
0160 20 32 32 20 32 32 20 32 32 20 32 32 20 32 33 20 22 22 22 22 23
0170 32 33 20 32 33 20 32 33 20 32 33 20 32 33 20 32 23 23 23 23 23 2
0180 33 20 32 33 20 32 34 20 32 34 20 32 34 20 32 35 3 23 24 24 24 25
0190 20 32 34 20 32 34 20 32 34 20 32 35 20 32 36 20 24 24 24 25 26
01a0 32 36 20 32 36 20 32 36 20 32 35 20 32 37 20 32 26 26 26 25 27 2
01b0 37 20 32 37 20 32 37 20 32 37 20 32 38 20 32 38 7 27 27 27 28 28
01c0 20 32 38 20 32 38 20 33 30 20 33 30 20 33 30 20 28 28 30 30 30
01d0 33 31 20 33 31 20 33 33 20 3b 20 73 48 65 61 64 31 31 33 ; sHead
01e0 65 72 4c 65 6e 20 3d 20 31 38 3b 20 73 48 65 61 erLen = 18; sHea
01f0 64 65 72 20 3d 20 30 20 30 20 31 20 31 38 37 20 der = 0 0 1 187
0200 30 20 31 32 20 31 32 38 20 34 34 20 31 39 20 36 0 12 128 44 19 6
0210 20 32 32 35 20 32 35 35 20 32 32 34 20 32 32 34 225 255 224 224
0220 20 31 31 31 20 31 39 32 20 31 39 32 20 33 32 20 111 192 192 32
0230 3b 20 70 48 65 61 64 65 72 4c 65 6e 20 3d 20 31 ; pHeaderLen = 1
0240 32 3b 20 70 48 65 61 64 65 72 20 3d 20 30 20 30 2; pHeader = 0 0
0250 20 31 20 31 38 36 20 33 33 20 30 20 31 20 30 20 1 186 33 0 1 0
0260 35 20 31 32 38 20 34 34 20 31 39 20 3b 20 0d 0a 5 128 44 19 ; ..
0270 0d 0a ..
More information about the live-devel
mailing list