CMceMediaSource Class Reference
class CMceMediaSource : public CBase
|
Base class for the MCE media sources.
Media sources represent the origin of data.
CMceMediaSource
puts it data through
CMceMediaStream
into
CMceMediaSink
.
CMceMediaSource
has a type that defines how it can connected to other sinks and streams.
Enable and Disable operations to sinks are considered to be local, so they are not signalled to remote terminal.
DTMF tones can be send from media sources that are connected to steams of TMceMediaType KMceAudio. Also, stream must have negotiated codec of type Telephony-Event.
mceclient.lib
Constructor & Destructor Documentation
CMceMediaSource()
CMceMediaSource
|
(
|
)
|
[protected]
|
~CMceMediaSource()
IMPORT_C
|
~CMceMediaSource
|
(
|
)
|
|
Member Functions Documentation
CancelDtmfToneSequenceL()
void
|
CancelDtmfToneSequenceL
|
(
|
)
|
[virtual]
|
ConstructL(CMceComMediaSource *)
second-phase constructor flat data container
DisableL()
void
|
DisableL
|
(
|
)
|
[pure virtual]
|
Disables streaming explicitly.
DoDisableL()
void
|
DoDisableL
|
(
|
)
|
[protected]
|
Disables streaming explicitly.
DoEnableL()
void
|
DoEnableL
|
(
|
)
|
[protected]
|
Enables streaming explicitly.
DoITCSendL(TUint8, TBool, TUint32, TUint32)
DtmfActive()
TBool
|
DtmfActive
|
(
|
)
|
[virtual]
|
Checks if DTMF is currently being played.
DtmfAvailable()
TBool
|
DtmfAvailable
|
(
|
)
|
[virtual]
|
Checks if DTMF is available for using. DTMF is available if source is connected to steam of type TMceMediaType KMceAudio, and it has negotiated codec of type Telephony-Event.
EnableL()
void
|
EnableL
|
(
|
)
|
[pure virtual]
|
Enables streaming explicitly.
Enabled(TBool)
void
|
Enabled
|
(
|
TBool
|
aValue
|
)
|
|
Parameters
TBool
aValue
|
enabled/disabled
|
EventReceivedL(TMceEvent &)
ExternalizeFlatL(RWriteStream &)
ExternalizeL(MMceComSerializationContext &)
InitializeL(CMceMediaStream &)
InitializeL(CMceManager *)
Parameters
CMceManager
* aManager
|
the manager. Ownership is NOT transferred
|
InternalizeFlatL(RReadStream &)
InternalizeL(MMceComSerializationContext &)
IsEnabled()
IMPORT_C
TBool
|
IsEnabled
|
(
|
)
|
const
|
Returns the state of the source.
ReferenceCount()
TInt
&
|
ReferenceCount
|
(
|
)
|
|
Sets and gets reference count describing to how many streams source is associated
SendDtmfToneL(const TChar &, TTimeIntervalMicroSeconds32)
SendDtmfToneSequenceL(const TDesC &)
void
|
SendDtmfToneSequenceL
|
(
|
const
TDesC
&
|
aSequence
|
)
|
[virtual]
|
Parameters
const
TDesC
& aSequence
|
Sequence of DTMF tones to be played.
|
StartDtmfToneL(const TChar &)
void
|
StartDtmfToneL
|
(
|
const
TChar
&
|
aTone
|
)
|
[virtual]
|
Parameters
const
TChar
& aTone
|
DTMF tone to be played.
|
StopDtmfToneL()
void
|
StopDtmfToneL
|
(
|
)
|
[virtual]
|
StreamAddedL(CMceMediaStream &)
Stream has been added to session
Type()
Returns the type of the source.
UnInitialize(CMceMediaStream &)
UpdateL(CMceMediaSource &)
Updated()
void
|
Updated
|
(
|
)
|
[virtual]
|
Member Data Documentation
CMceComMediaSource * iFlatData
RPointerArray< CMceMediaStream > iParents
CMceMediaStream * iStream
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.