3.1.1 Abstract Data Model

This section describes a conceptual model of possible data organization that an implementation maintains to participate in this protocol. The described organization is provided to facilitate the explanation of how the protocol behaves. This document does not mandate that implementations adhere to this model as long as their external behavior is consistent with that described in this document.

PresentationId: For each audio/video presentation that is to be redirected, the server generates a unique PresentationId. The server sends this ID to the client in the PresentationId field of the New Presentation message. This ID is then used in all subsequent messages for a presentation and is used by the client to refer all messages to the correct presentation.

StreamId: A presentation consists of a set of individual audio or video data streams.  These streams use their own channels for data transfer.  To uniquely identify the channels associated with a stream, the server uses an identifier called StreamId. The server sends this ID to the client in the StreamId field of the Add Stream message. The StreamId of 0x00000000 is reserved for the channel used to transport messages that are not specific to a data-stream.