Halyri - Server  0.9.1
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
AudioVideoContainerDto Class Reference

Dto container class that stores a MediaInformationDto instance, 32bit int sequence number, data length prior to the specified compression, a boolean value idicating whether this instance has any payload and the payload byte array. More...

Public Member Functions

 AudioVideoContainerDto ()
 Initializes a new AudioVideoContainerDto that has not payload data or media type description. If not modified later, this instance will have its IsInitializedContainer set to false. More...
 
 AudioVideoContainerDto (MediaInformationDto info, byte[] data)
 Initializes a new AudioVideoContainerDto containing the provided payload media data and the provided MediaInformationDto instance describing the data. this instance will have IsInitializedContainer set to true. More...
 

Properties

MediaInformationDto MediaInfo [get, set]
 Gets or sets the MediaInformationDto describing the compression format and the media encoding of the payload data. More...
 
byte[] MediaData [get, set]
 Gets or sets the paylod data byte array More...
 
int SequenceNumber [get, set]
 Gets or sets the sequence number of this media packet. More...
 
int OriginatingDataLength [get, set]
 Gets or sets the length of the data prior to applying the encoding described by the MediInfo. More...
 
bool IsInitializedContainer [get, set]
 Gets or sets value indicating whether this instance is initialized and contains payload data. True, if there is payload, otherwise false. More...
 

Detailed Description

Dto container class that stores a MediaInformationDto instance, 32bit int sequence number, data length prior to the specified compression, a boolean value idicating whether this instance has any payload and the payload byte array.

<author>Veli-Mikko Puupponen</author> Used for transfer of audio/video media over the WCF services.

Constructor & Destructor Documentation

Initializes a new AudioVideoContainerDto that has not payload data or media type description. If not modified later, this instance will have its IsInitializedContainer set to false.

AudioVideoContainerDto ( MediaInformationDto  info,
byte[]  data 
)

Initializes a new AudioVideoContainerDto containing the provided payload media data and the provided MediaInformationDto instance describing the data. this instance will have IsInitializedContainer set to true.

Parameters
infoMediaInformationDto specifying payload data properties
dataPayload media data

Property Documentation

bool IsInitializedContainer
getset

Gets or sets value indicating whether this instance is initialized and contains payload data. True, if there is payload, otherwise false.

byte [] MediaData
getset

Gets or sets the paylod data byte array

MediaInformationDto MediaInfo
getset

Gets or sets the MediaInformationDto describing the compression format and the media encoding of the payload data.

int OriginatingDataLength
getset

Gets or sets the length of the data prior to applying the encoding described by the MediInfo.

int SequenceNumber
getset

Gets or sets the sequence number of this media packet.


The documentation for this class was generated from the following file: