CRtpManager Class Reference
class CRtpManager : public CBase
|
Container of all rtp sessions.
RtpService.dll
Public Member Functions
|
|
~CRtpManager
()
|
void
|
CancelSend
(
TRtpId
)
|
void
|
CancelStart
()
|
void
|
Close
(void)
|
void
|
CloseSession
(
TRtpId
)
|
void
|
CloseStream
(
TRtpId
)
|
TRtpId
|
CreateReceiveStreamL
(
TRtpId
, const
TRcvStreamParams
&)
|
TRtpId
|
CreateSessionL
(const
TCreateSessionParams
&,
TUint
&,
TBool
, const
TRtcpParams
*)
|
TRtpId
|
CreateSessionL
(const
TCreateSessionParams
&,
TUint
&,
TBool
, const
TRtcpParams
*,
CSRTPSession
&)
|
TRtpId
|
CreateStreamL
(
TRtpId
, const
TCreateStreamType
,
TRtpPayloadType
,
TRtpSSRC
&)
|
TRtpId
|
CreateTransmitStreamExtL
(
TRtpId
, const
TTranStreamParams
&, const
TRtpSSRC
)
|
TRtpId
|
CreateTransmitStreamL
(
TRtpId
, const
TTranStreamParams
&,
TRtpSSRC
&)
|
TInetAddr
&
|
GetLocalIPAddressL
()
|
RSocket
*
|
GetRtcpSocket
(
TRtpId
)
|
RSocket
*
|
GetRtpSocket
(
TRtpId
)
|
TUint32
|
GetSamplingRate
(
TUint8
)
|
TRtpId
|
GetSessionId
(
TRtpId
)
|
TInt
|
GetStreamStatistics
(
TRtpId
,
TRtpPeerStat
&)
|
TInt
|
IsRtcpSendingSuspended
(
TRtpId
,
TBool
&)
|
CRtpManager
*
|
NewL
(
MRtpErrNotify
&)
|
TInt
|
OpenL
(const
TRtpSdesParams
&, const
TDesC
*,
RSocketServ
*,
RConnection
*)
|
TInt
|
RegisterRtcpObserver
(
TRtpId
,
MRtcpObserver
&)
|
TInt
|
RegisterRtpObserver
(
TRtpId
,
MRtpObserver
&)
|
void
|
SendDataL
(
TRtpId
,
TBool
, const
TDesC8
&,
TRequestStatus
&)
|
TInt
|
SendRtcpAppPacketL
(
TRtpId
, const
TRtcpApp
&)
|
TInt
|
SendRtcpByePacketL
(
TRtpId
, const
TDesC8
&)
|
TInt
|
SendRtcpRrPacketL
(
TRtpId
)
|
TInt
|
SendRtcpSrPacketL
(
TRtpId
)
|
TInt
|
SendRtpPacket
(
TRtpId
, const
TRtpSendHeader
&, const
TDesC8
&)
|
TInt
|
SendRtpPacket
(
TRtpId
, const
TRtpSendHeader
&, const
TDesC8
&,
TRequestStatus
&)
|
TInt
|
SendRtpPacket
(
TRtpId
,
TRtpSequence
, const
TRtpSendHeader
&, const
TDesC8
&,
TRequestStatus
&)
|
void
|
SetLocalSdes
(const
TRtpSdesParams
&)
|
TInt
|
SetNonRTPDataObserver
(
TRtpId
,
MNonRTPDataObserver
*)
|
TInt
|
SetRemoteAddress
(
TRtpId
,
TInetAddr
&)
|
TInt
|
SetRemoteRtcpAddress
(
TRtpId
,
TInetAddr
&)
|
TInt
|
SetRtcpParameters
(
TRtpId
, const
TRtcpParams
&)
|
TInt
|
SetSamplingRate
(
TUint8
,
TUint32
)
|
TInt
|
StartConnection
(
TInt
)
|
TInt
|
StartConnection
(
TRequestStatus
&,
TInt
)
|
TInt
|
StartSession
(
TRtpId
)
|
TInt
|
SuspendRtcpSending
(
TRtpId
,
TBool
)
|
void
|
UnregisterRtcpObserver
(
TRtpId
)
|
void
|
UnregisterRtpObserver
(
TRtpId
)
|
Constructor & Destructor Documentation
CRtpManager(MRtpErrNotify &)
Member Functions Documentation
AddRtpObject(TArrayStore)
AddStreamToSession(TRtpId, TRtpId)
AssignUniqueID()
TRtpId
|
AssignUniqueID
|
(
|
)
|
[private]
|
CancelSend(TRtpId)
void
|
CancelSend
|
(
|
TRtpId
|
aSessionId
|
)
|
|
CancelStart()
Cancels asynchoronous start of connection Any open requests will be completed with KErrCancel.
CheckSdesCName()
void
|
CheckSdesCName
|
(
|
)
|
[private]
|
CloseSession(TRtpId)
void
|
CloseSession
|
(
|
TRtpId
|
aSessionId
|
)
|
|
CloseStream(TRtpId)
void
|
CloseStream
|
(
|
TRtpId
|
aStreamId
|
)
|
|
ConstructL(void)
void
|
ConstructL
|
(
|
void
|
|
)
|
[private]
|
CreateReceiveStreamL(TRtpId, const TRcvStreamParams &)
CreateSessionL(const TCreateSessionParams &, TUint &, TBool, const TRtcpParams *)
CreateSessionL(const TCreateSessionParams &, TUint &, TBool, const TRtcpParams *, CSRTPSession &)
CreateStreamL(TRtpId, const TCreateStreamType, TRtpPayloadType, TRtpSSRC &)
Does the actual work of creating a stream. Used by the other stream creation methods.
CreateTransmitStreamExtL(TRtpId, const TTranStreamParams &, const TRtpSSRC)
CreateTransmitStreamL(TRtpId, const TTranStreamParams &, TRtpSSRC &)
FindRtpObject(const TRtpId, TUint &)
TInt
|
FindRtpObject
|
(
|
const
TRtpId
|
aMagicKey,
|
|
TUint
&
|
aSessionAddress
|
|
)
|
[private]
|
GetLocalIPAddressL()
TInetAddr
&
|
GetLocalIPAddressL
|
(
|
)
|
|
GetStreamStatistics(TRtpId, TRtpPeerStat &)
IsRtcpSendingSuspended(TRtpId, TBool &)
Gets the status of automatic RTCP sending.
OpenL(const TRtpSdesParams &, const TDesC *, RSocketServ *, RConnection *)
PrepareConnection(TCommDbConnPref &, TInt)
RegisterRtcpObserver(TRtpId, MRtcpObserver &)
RegisterRtpObserver(TRtpId, MRtpObserver &)
RemoveRtpAllObjects()
void
|
RemoveRtpAllObjects
|
(
|
)
|
[private]
|
RemoveRtpObject(const TRtpId, const TObjectType)
SendDataL(TRtpId, TBool, const TDesC8 &, TRequestStatus &)
SendRtcpAppPacketL(TRtpId, const TRtcpApp &)
SendRtcpByePacketL(TRtpId, const TDesC8 &)
SendRtcpRrPacketL(TRtpId)
Send an RTCP RR packet for a Reception stream.
SendRtcpSrPacketL(TRtpId)
Send an RTCP SR packet for a Transmit stream.
SendRtpPacket(TRtpId, const TRtpSendHeader &, const TDesC8 &)
SendRtpPacket(TRtpId, const TRtpSendHeader &, const TDesC8 &, TRequestStatus &)
SendRtpPacket(TRtpId, TRtpSequence, const TRtpSendHeader &, const TDesC8 &, TRequestStatus &)
SetLocalSdes(const TRtpSdesParams &)
SetNonRTPDataObserver(TRtpId, MNonRTPDataObserver *)
SetRemoteAddress(TRtpId, TInetAddr &)
TInt
|
SetRemoteAddress
|
(
|
TRtpId
|
aSessionId,
|
|
TInetAddr
&
|
aRemoteAddr
|
|
)
|
|
Parameters
TRtpId
aSessionId
|
|
TInetAddr
& aRemoteAddr
|
|
SetRemoteRtcpAddress(TRtpId, TInetAddr &)
TInt
|
SetRemoteRtcpAddress
|
(
|
TRtpId
|
aSessionId,
|
|
TInetAddr
&
|
aRemoteAddr
|
|
)
|
|
Parameters
TRtpId
aSessionId
|
|
TInetAddr
& aRemoteAddr
|
|
SetRtcpParameters(TRtpId, const TRtcpParams &)
SetSamplingRate(TUint8, TUint32)
StartConnection(TInt)
Open and initialize the
CRtpAPI
object synchronously.
StartConnection(TRequestStatus &, TInt)
Open and initialize the
CRtpAPI
object in asynchronous mode
SuspendRtcpSending(TRtpId, TBool)
Suspend RTCP sending on/off, calculations will continue.
UnregisterRtcpObserver(TRtpId)
void
|
UnregisterRtcpObserver
|
(
|
TRtpId
|
aSessionId
|
)
|
|
UnregisterRtpObserver(TRtpId)
void
|
UnregisterRtpObserver
|
(
|
TRtpId
|
aSessionId
|
)
|
|
Member Enumerations Documentation
Enum TCreateStreamType
Enumerators
ECreateRecvStream = 0
|
|
ECreateTranStream
|
|
ECreateTranStreamExt
|
|
Member Data Documentation
TBool
iConnected
TBool
|
iConnected
|
[private]
|
TBool
iEnableRtcp
TBool
|
iEnableRtcp
|
[private]
|
MRtpErrNotify & iErrNotify
TInetAddr
iLocalAddr
TInetAddr
|
iLocalAddr
|
[private]
|
TRtpId
iNumOfObjects
TRtpId
|
iNumOfObjects
|
[private]
|
TUint32
iProfileRTPTimeRates
TUint32
|
iProfileRTPTimeRates
|
[private]
|
CArrayFixFlat< TArrayStore > * iSessionArray
RSocketServ * iSocketServPtr
TBool
iStandardRtp
TBool
|
iStandardRtp
|
[private]
|
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.