2.2.13 DEMOTE Packet

This packet is sent by the server on multicast address and is used to instruct selected clients to remove themselves from the multicast session and join a multicast session that is operating at a lower maximum speed.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

LowerSessionId

MAddrLen

MAddress (variable)

...

MPort

UAddrLen

UAddress (variable)

...

UPort

ClientCount

ClientList (variable)

...

LowerSessionId (4 bytes): MUST be set to the unique ID of the multicast session that clients MUST join after leaving the current multicast session.

MAddrLen (1 byte): MUST be set to the length, in bytes, of the MAddress field.

MAddress (variable): MUST be set to the multicast address of the multicast session that clients MUST join after leaving the current multicast session.

MPort (2 bytes): MUST be set to the UDP port for the multicast address specified by MAddress.

UAddrLen (1 byte): MUST be set to the length, in bytes, of the UAddress field.

UAddress (variable): MUST be set to the unicast address of the multicast session that clients MUST join after leaving the current multicast session.

UPort (2 bytes): MUST be set to the UDP port for the unicast address specified by UAddress.

ClientCount (2 bytes): MUST be set to the number of clients that have been instructed to leave the current multicast session.

ClientList (variable): MUST be set to an array of 32-bit values with each element specifying the unique ID of a client. The size of this field MUST be equal to arithmetic multiplication of ClientCount times 4 (32-bit).

Each DEMOTE packet MUST NOT specify more than 250 clients in each DEMOTE packet. If the server is to instruct more than 250 clients, it MUST send multiple DEMOTE packets.

The multicast session specified using LowerSessionId MUST use the same security mode, cryptographic algorithms, and cryptographic keys as in use by the current multicast session.

This packet does not specify any Extended Options.