Stopping one client stops other clients, when http/livedotcom: multicast streaming MPEG4 over RTP.
I am streaming MPEG4 video from a vbrick 4300 encoder, and I find that when I stop one vlc client, other clients also stop!
The other clients report "EOF reached" !
I have captured packets using ethereal, and include the trace below
Vbrick encoder is 172.63.200.7, and is streaming to mc address 236.1.1.1
vlc client (winxp) is 172.63.200.201
summary of trace at point of stopping vlc client is
172.63.200.7(vbrick) ---> 236.1.1.1 RTP video stream
172.63.200.7(vbrick) ---> 236.1.1.1 RTP video stream
172.63.200.201(vlc) ---> 236.1.1.1 RTCP Receiver Report (goodbye)
172.63.200.201(vlc) ---> 224.0.0.2 IGMP V2 Leave Group
172.63.200.201(vlc) ---> 172.63.200.7(vbrick) TCP ???
172.63.200.7(vbrick) ---> 236.1.1.1 RTP video stream continues
172.63.200.7(vbrick) ---> 236.1.1.1 RTP video stream
I suspect the problem is caused by the RTCP Receiver Report packet, containing goodbye, that is sent by the client to the multicast address!!.
Now I am not sure if the problem us that the packet shouldn't be sent, shouldn't be sent to mc address, or if the other clients should ignore
this packet but instead treat it as part of video stream.
Any Ideas anyone ??
ETHEREAL TRACE
====================
No. Time Source Destination Protocol Info
1653 11.859731 172.63.200.7 236.1.1.1 RTP Payload type=Unknown (96), SSRC=3989863145, Seq=55423, Time=96900765
Frame 1653 (1490 bytes on wire, 1490 bytes captured)
Ethernet II, Src: 00:07:df:00:76:e2, Dst: 01:00:5e:01:01:01
Internet Protocol, Src Addr: 172.63.200.7 (172.63.200.7), Dst Addr: 236.1.1.1 (236.1.1.1)
User Datagram Protocol, Src Port: 1029 (1029), Dst Port: 1234 (1234)
Real-Time Transport Protocol
No. Time Source Destination Protocol Info
1654 11.859769 172.63.200.7 236.1.1.1 RTP Payload type=Unknown (96), SSRC=3989863145, Seq=55424, Time=96900765, Mark
Frame 1654 (398 bytes on wire, 398 bytes captured)
Ethernet II, Src: 00:07:df:00:76:e2, Dst: 01:00:5e:01:01:01
Internet Protocol, Src Addr: 172.63.200.7 (172.63.200.7), Dst Addr: 236.1.1.1 (236.1.1.1)
User Datagram Protocol, Src Port: 1029 (1029), Dst Port: 1234 (1234)
Real-Time Transport Protocol
No. Time Source Destination Protocol Info
1655 11.861007 172.63.200.201 236.1.1.1 RTCP Receiver Report
Frame 1655 (82 bytes on wire, 82 bytes captured)
Ethernet II, Src: 00:50:04:22:fb:5a, Dst: 01:00:5e:01:01:01
Internet Protocol, Src Addr: 172.63.200.201 (172.63.200.201), Dst Addr: 236.1.1.1 (236.1.1.1)
User Datagram Protocol, Src Port: 1235 (1235), Dst Port: 1235 (1235)
Real-time Transport Control Protocol
Stream setup by SDP (frame 1422)
10.. .... = Version: RFC 1889 Version (2)
..0. .... = Padding: False
...0 0001 = Reception report count: 1
Packet type: Receiver Report (201)
Length: 7
Sender SSRC: 2115252671
Source 1
Identifier: 3989863145
SSRC contents
Extended highest sequence number received: 55424
Interarrival jitter: 384
Last SR timestamp: 2054110871
Delay since last SR timestamp: 99353
Real-time Transport Control Protocol
Stream setup by SDP (frame 1422)
10.. .... = Version: RFC 1889 Version (2)
..0. .... = Padding: False
...0 0001 = Source count: 1
Packet type: Goodbye (203)
Length: 1
Identifier: 2115252671
No. Time Source Destination Protocol Info
1656 11.861365 172.63.200.201 224.0.0.2 IGMP V2 Leave Group
Frame 1656 (46 bytes on wire, 46 bytes captured)
Ethernet II, Src: 00:50:04:22:fb:5a, Dst: 01:00:5e:00:00:02
Internet Protocol, Src Addr: 172.63.200.201 (172.63.200.201), Dst Addr: 224.0.0.2 (224.0.0.2)
Internet Group Management Protocol
No. Time Source Destination Protocol Info
1657 11.861546 172.63.200.201 172.63.200.7 TCP 3360 > http [RST] Seq=162 Ack=912898310 Win=0 Len=0
Frame 1657 (54 bytes on wire, 54 bytes captured)
Ethernet II, Src: 00:50:04:22:fb:5a, Dst: 00:07:df:00:76:e2
Internet Protocol, Src Addr: 172.63.200.201 (172.63.200.201), Dst Addr: 172.63.200.7 (172.63.200.7)
Transmission Control Protocol, Src Port: 3360 (3360), Dst Port: http (80), Seq: 162, Ack: 912898310, Len: 0
Source port: 3360 (3360)
Destination port: http (80)
Sequence number: 162 (relative sequence number)
Header length: 20 bytes
Flags: 0x0004 (RST)
0... .... = Congestion Window Reduced (CWR): Not set
.0.. .... = ECN-Echo: Not set
..0. .... = Urgent: Not set
...0 .... = Acknowledgment: Not set
.... 0... = Push: Not set
.... .1.. = Reset: Set
.... ..0. = Syn: Not set
.... ...0 = Fin: Not set
Window size: 0
Checksum: 0x1550 (correct)
No. Time Source Destination Protocol Info
1658 11.862543 172.63.200.254 236.1.1.1 IGMP V2 Membership Query
Frame 1658 (60 bytes on wire, 60 bytes captured)
Ethernet II, Src: 00:01:42:f8:43:61, Dst: 01:00:5e:01:01:01
Internet Protocol, Src Addr: 172.63.200.254 (172.63.200.254), Dst Addr: 236.1.1.1 (236.1.1.1)
Internet Group Management Protocol
No. Time Source Destination Protocol Info
1669 11.940852 172.63.200.7 236.1.1.1 RTP Payload type=Unknown (96), SSRC=3989863145, Seq=55425, Time=96907965
Frame 1669 (1494 bytes on wire, 1494 bytes captured)
Ethernet II, Src: 00:07:df:00:76:e2, Dst: 01:00:5e:01:01:01
Internet Protocol, Src Addr: 172.63.200.7 (172.63.200.7), Dst Addr: 236.1.1.1 (236.1.1.1)
User Datagram Protocol, Src Port: 1029 (1029), Dst Port: 1234 (1234)
Real-Time Transport Protocol
No. Time Source Destination Protocol Info
1670 11.941185 172.63.200.7 236.1.1.1 RTP Payload type=Unknown (96), SSRC=3989863145, Seq=55426, Time=96907965
Frame 1670 (1494 bytes on wire, 1494 bytes captured)
Ethernet II, Src: 00:07:df:00:76:e2, Dst: 01:00:5e:01:01:01
Internet Protocol, Src Addr: 172.63.200.7 (172.63.200.7), Dst Addr: 236.1.1.1 (236.1.1.1)
User Datagram Protocol, Src Port: 1029 (1029), Dst Port: 1234 (1234)
Real-Time Transport Protocol
No. Time Source Destination Protocol Info
1671 11.941517 172.63.200.7 236.1.1.1 RTP Payload type=Unknown (96), SSRC=3989863145, Seq=55427, Time=96907965
Frame 1671 (1482 bytes on wire, 1482 bytes captured)
Ethernet II, Src: 00:07:df:00:76:e2, Dst: 01:00:5e:01:01:01
Internet Protocol, Src Addr: 172.63.200.7 (172.63.200.7), Dst Addr: 236.1.1.1 (236.1.1.1)
User Datagram Protocol, Src Port: 1029 (1029), Dst Port: 1234 (1234)
Real-Time Transport Protocol