TMediaId Class Reference

#include <mmf/common/mmfutilities.h>

Link against: ErrorConcealmentIntfcMsgHdlr.lib

class TMediaId
Public Attributes
TUid iMediaType
TUint iStreamId
Public Member Functions
TMediaId(TUid, TUint)
TMediaId(TUid)
TMediaId()

Detailed Description

Identifies the particular stream of the given media type.

Member Attribute Documentation

iMediaType

TUid iMediaType

The media type (KUidMediaTypeAudio, KUidMediaTypeVideo, etc).

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.

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.

ParameterDescription
aMediaTypeThe media type (video, audio etc.).
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.

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

TMediaId ( )

TMediaId()[inline]

Default constructor.