CMceComMediaStream Class Reference
class CMceComMediaStream : public CBase
|
Constructor & Destructor Documentation
CMceComMediaStream(TMceMediaType)
Member Functions Documentation
AddCodecL(CMceComCodec *)
Adds codec to the stream.
Parameters
CMceComCodec
* aCodec
|
codec to be added to the stream. Ownership is transferred.
|
AddSinkL(CMceComMediaSink *)
AddSinkL(MMceComSerializationContext &)
Adds sink, during serialization, to the stream.
BindL(CMceComMediaStream *)
Binds opposite direction stream to this stream.
Binder()
Checks if this is binder (biding owner)
BoundStream()
TBool
|
BoundStream
|
(
|
)
|
const
|
Checks if opposite direction stream is set.
BoundStreamL()
Gets opposite direction stream of this stream.
CloneL()
Clones whole stream object
ConstructL()
void
|
ConstructL
|
(
|
)
|
[protected]
|
ConstructL(CMceComMediaStream &)
second-phase copy constructor
DeleteSink(TInt)
void
|
DeleteSink
|
(
|
TInt
|
aIndex
|
)
|
|
Parameters
TInt
aIndex
|
index of sink in the array
|
DeleteSource()
void
|
DeleteSource
|
(
|
)
|
[private]
|
DestroyCodecs()
void
|
DestroyCodecs
|
(
|
)
|
[pure virtual]
|
Clears list of codecs and deletes each codec in it.
DoBind(CMceComMediaStream *)
DoUseRtcp()
TBool
|
DoUseRtcp
|
(
|
)
|
const [private]
|
Checks whether RTCP should be used. return ETrue, if the source and all the sinks indicate RTCP usage, otherwise EFalse.
DowngradedEndpoints()
TBool
&
|
DowngradedEndpoints
|
(
|
)
|
|
EventReceivedL(TMceComEvent &)
ExternalizeFlatL(RWriteStream &)
ExternalizeL(MMceComSerializationContext &)
FindCodecL(CMceComCodec &)
Searches for codec matching with input codec instance or sdp name
InitializeL(CMceComSession &)
InternalizeFlatL(RReadStream &)
InternalizeL(MMceComSerializationContext &)
IsEnabled()
TBool
|
IsEnabled
|
(
|
)
|
[virtual]
|
Returns ETrue, if enabled
LocalMediaPort()
TUint
|
LocalMediaPort
|
(
|
)
|
const
|
RemoteMediaPort()
TUint
|
RemoteMediaPort
|
(
|
)
|
const
|
RemoteMediaPortChanged(TUint)
Checks whether remote media port has changed
RemoteRTCPAddressChanged(TUint, TInetAddr)
TBool
|
RemoteRTCPAddressChanged
|
(
|
TUint
|
aNewPort,
|
|
TInetAddr
|
aAddr
|
|
)
|
|
Checks whether remote RTCP address, and port has changed
Parameters
TUint
aNewPort
|
|
TInetAddr
aAddr
|
|
RemoveCodecL(CMceComCodec *)
Removes codec from stream
ReorderCodecs()
void
|
ReorderCodecs
|
(
|
)
|
[pure virtual]
|
SetIgnoreRemotePort(TBool)
void
|
SetIgnoreRemotePort
|
(
|
TBool
|
aIgnore
|
)
|
|
SetLocalMediaPort(TUint)
void
|
SetLocalMediaPort
|
(
|
TUint
|
aPort
|
)
|
|
Parameters
TUint
aPort
|
local media port
|
SetRemoteMediaPort(TUint)
void
|
SetRemoteMediaPort
|
(
|
TUint
|
aPort
|
)
|
|
Parameters
TUint
aPort
|
remote media port
|
SetRemoteRtcpMediaAddrL(TDesC16 &)
void
|
SetRemoteRtcpMediaAddrL
|
(
|
TDesC16
&
|
aAddr
|
)
|
|
Sets remote rtcp media address
Parameters
TDesC16
& aAddr
|
remote rtcp media address
|
SetRemoteRtcpMediaPort(TUint)
void
|
SetRemoteRtcpMediaPort
|
(
|
TUint
|
aPort
|
)
|
|
Parameters
TUint
aPort
|
remote media port
|
SetSourceL(CMceComMediaSource *)
Adds source to the stream.
SetSourceL(MMceComSerializationContext &)
Adds source, during serialization, to the stream.
Sinks()
Gets array of sinks of the stream.
Source()
Gets source of the stream. Returns null is source not set.
UpdateL(CMceComMediaStream &)
UseRtcp()
Checks whether RTCP should be used. return ETrue, if the source and all the sinks indicate RTCP usage, otherwise EFalse.
Member Enumerations Documentation
Enum TStreamType
Enumerators
ELocalStream
|
|
ESendOnlyStream
|
|
EReceiveOnlyStream
|
|
ESendStream
|
|
EReceiveStream
|
|
Member Data Documentation
TBool
iDowngradedEnpoints
TBool
|
iDowngradedEnpoints
|
[private]
|
CMceComMediaSink * iEmptySink
CMceComMediaSource * iEmptySource
TBool
iIgnoreRemotePort
ignore remote port comparison
TBool
iIsEnabled
state, enabled or disabled
CMceComMediaStream * iLinkedStream
linked stream. Owned if iLinkOwner is ETrue
CDesC8Array * iLocalMediaSDPLines
RPointerArray< TMcePreconditions > iPreconditions
CDesC8Array * iRemoteMediaSDPLines
TInetAddr
iRemoteRtcpAddress
TInetAddr
|
iRemoteRtcpAddress
|
Remote RTCP IP-address (IPv4 or IPv6)
TUint
iRemoteRtcpPort
Remote RTCP port, if 0 then use RTP port + 1
CMceComSession * iSession
RPointerArray< CMceComMediaSink > iSinks
CMceComMediaSource * iSource
CMceMediaStream::TState
iState
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.