TMediaId Class Reference

class TMediaId

Identifies the particular stream of the given media type.

Public Member Functions
TMediaId(TUid, TUint)
TMediaId(TUid)
TMediaId()
Public Attributes
TUid iMediaType
TUint iStreamId
Private Attributes
TInt iReserved1
TInt iReserved2
TInt iReserved3

Constructor & Destructor Documentation

TMediaId(TUid, TUint)

TMediaId(TUidaMediaType,
TUintaStreamId
)[inline]

Constructs the class with the supplied arguments.

This constructor is used when there are multiple streams of the same media type on the same MDataSource.

Parameters

TUid aMediaTypeThe media type (video, audio etc.).
TUint aStreamIdIdentifies a specific stream when there are multiple streams of the same media type on the same MDataSource.

TMediaId(TUid)

TMediaId(TUidaMediaType)[inline]

Constructs the class with the supplied argument.

This constructor is used when there is a single stream of the same media type on the same MDataSource.

Parameters

TUid aMediaTypeThe media type (video, audio etc.).

TMediaId()

TMediaId()[inline]

Default constructor.

Member Data Documentation

TUid iMediaType

TUid iMediaType

The media type (KUidMediaTypeAudio, KUidMediaTypeVideo, etc).

TInt iReserved1

TInt iReserved1[private]

This member is internal and not intended for use.

TInt iReserved2

TInt iReserved2[private]

TInt iReserved3

TInt iReserved3[private]

TUint iStreamId

TUint iStreamId

Identifies a particular media stream used in case where multiple streams of the same media type are present on the same MDataSource.