CMceRtpSource Class Reference
class CMceRtpSource : public CMceMediaSource
|
Class representing incoming RTP stream in MCE.
CMceRtpSource
can be used to receive media data from network. It can be configured with stream specific values to avoid jitter generated by network. It may also be configured to recognize separate media bursts instead of just receiving continuous flow of data.
Events from this class can be received through class
MMceRtpObserver
.
Enable and Disable operations to it are considered to be local, so they are not signalled to remote terminal.
One CMceRTPSource may contain several RTP streams which are identified with synchronization source (SSRC) values. Disabling or enabling
CMceRtpSource
will affect to all SSRCs but streaming from specific SSRC can be also controlled with EnableSSRCL and Disable SSRCL methods. These are also local operations, thus not signalled to remote terminal.
mceclient.lib
Constructor & Destructor Documentation
CMceRtpSource()
CMceRtpSource
|
(
|
)
|
[private]
|
~CMceRtpSource()
IMPORT_C
|
~CMceRtpSource
|
(
|
)
|
|
Member Functions Documentation
ConstructL(TUint, TUint, TUint32, HBufC8 *, HBufC8 *)
void
|
ConstructL
|
(
|
TUint
|
aBufferLength,
|
|
TUint
|
aBufferTreshold,
|
|
TUint32
|
aInactivityTimer,
|
|
HBufC8
*
|
aMediaBurstIndicator,
|
|
HBufC8
*
|
aIdentity
|
|
)
|
[private]
|
Parameters
TUint
aBufferLength
|
Length in packets of jitter buffer
|
TUint
aBufferTreshold
|
Treshold in packets of jitter buffer
|
TUint32
aInactivityTimer
|
Timer (ms) to detect network inactivity. If 0, no activity detection, otherwise source is set to support talk burts and report inactivity.
|
HBufC8
* aMediaBurstIndicator
|
Indicator sound to be played before every new burst of media, if source in media burst mode.
|
HBufC8
* aIdentity
|
Identity of user placed in RTCP, ownership not transferred.
|
DisableInactivityTimerL()
IMPORT_C void
|
DisableInactivityTimerL
|
(
|
)
|
|
Disables RTP inactivity timer.
DisableL()
IMPORT_C void
|
DisableL
|
(
|
)
|
[virtual]
|
Disables the source explicitly.
DisableSsrcL(TUint)
IMPORT_C void
|
DisableSsrcL
|
(
|
TUint
|
aSsrc
|
)
|
|
Disables streaming from specified synchronization source (SSRC).
Parameters
TUint
aSsrc
|
synchronization source to be disabled
|
DoITCSendL(TUint8)
void
|
DoITCSendL
|
(
|
TUint8
|
aITCFunction
|
)
|
[private]
|
EnableInactivityTimerL(TUint32)
IMPORT_C void
|
EnableInactivityTimerL
|
(
|
TUint32
|
aInactivityTimer
|
)
|
|
Enables RTP inactivity timer.
Parameters
TUint32
aInactivityTimer
|
Timer value (ms) that after inactivity of media from network is reported to client.
|
EnableL()
IMPORT_C void
|
EnableL
|
(
|
)
|
[virtual]
|
Enables the source explicitly.
EnableSsrcL(TUint)
IMPORT_C void
|
EnableSsrcL
|
(
|
TUint
|
aSsrc
|
)
|
|
Enables streaming from specified synchronization source (SSRC).
Parameters
TUint
aSsrc
|
synchronization source to be enabled
|
EventReceivedL(TMceEvent &)
IsSsrcEnabledL(TUint)
Determines whether specific SSRC is enabled or not.
Parameters
TUint
aSsrc
|
the SSRC identifier
|
NewL(TUint, TUint, TUint32, HBufC8 *)
IMPORT_C
CMceRtpSource
*
|
NewL
|
(
|
TUint
|
aBufferLength =
KMceJitterBufferLength
,
|
|
TUint
|
aBufferTreshold =
KMceJitterBufferTreshold
,
|
|
TUint32
|
aInactivityTimer = 0,
|
|
HBufC8
*
|
aIdentity = 0
|
|
)
|
[static]
|
Parameters
TUint
aBufferLength =
KMceJitterBufferLength
|
Length in packets of jitter buffer
|
TUint
aBufferTreshold =
KMceJitterBufferTreshold
|
Treshold in packets of jitter buffer
|
TUint32
aInactivityTimer = 0
|
Timer (ms) to detect network inactivity. If 0, no activity detection, otherwise source is set to support talk bursts and report inactivity.
|
HBufC8
* aIdentity = 0
|
Identity of user placed in RTCP, ownership not transferred.
|
NewLC(TUint, TUint, TUint32, HBufC8 *)
IMPORT_C
CMceRtpSource
*
|
NewLC
|
(
|
TUint
|
aBufferLength =
KMceJitterBufferLength
,
|
|
TUint
|
aBufferTreshold =
KMceJitterBufferTreshold
,
|
|
TUint32
|
aInactivityTimer = 0,
|
|
HBufC8
*
|
aIdentity = 0
|
|
)
|
[static]
|
Parameters
TUint
aBufferLength =
KMceJitterBufferLength
|
Length in packets of jitter buffer
|
TUint
aBufferTreshold =
KMceJitterBufferTreshold
|
Treshold in packets of jitter buffer
|
TUint32
aInactivityTimer = 0
|
Timer (ms) to detect network inactivity. If 0, no activity detection, otherwise source is set to support talk bursts and report inactivity.
|
HBufC8
* aIdentity = 0
|
Identity of user placed in RTCP, ownership not transferred.
|
SendRRL()
IMPORT_C void
|
SendRRL
|
(
|
)
|
|
Sends RTCP receiver report to recipient.
Ssrcs()
Gets an array of RTP synchronization source (SSRC) identifiers. Array includes all SSRC values this RtpSource has received RTP from. Changes in array are notified using
MMceRtpObserver
interface.
UpdateL(TUint, TUint, TUint32, HBufC8 *)
IMPORT_C void
|
UpdateL
|
(
|
TUint
|
aBufferLength =
KMceJitterBufferLength
,
|
|
TUint
|
aBufferTreshold =
KMceJitterBufferTreshold
,
|
|
TUint32
|
aInactivityTimer = 0,
|
|
HBufC8
*
|
aIdentity = 0
|
|
)
|
|
Parameters
TUint
aBufferLength =
KMceJitterBufferLength
|
Length in packets of jitter buffer
|
TUint
aBufferTreshold =
KMceJitterBufferTreshold
|
Treshold in packets of jitter buffer
|
TUint32
aInactivityTimer = 0
|
Timer (ms) to detect network inactivity. If 0, no activity detection, otherwise source is set to support talk bursts and report inactivity.
|
HBufC8
* aIdentity = 0
|
Identity of user placed in RTCP, ownership not transferred.
|
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.