Classes | Public Member Functions | Static Public Member Functions

CMccInterface Class Reference

#include <mmccinterface.h>

List of all members.

Classes

class  TMccEndpointInfo

Public Member Functions

virtual ~CMccInterface ()
IMPORT_C TInt CreateSession (TUint32 &aSessionId)
IMPORT_C TInt CloseSession (TUint32 aSessionId)
IMPORT_C TInt CreateLink (TUint32 aSessionId, TInt aLinkType, TUint32 &aLinkId, TMccNetSettings &aNetSettings)
IMPORT_C TInt CloseLink (TUint32 aSessionId, TUint32 aLinkId)
IMPORT_C TInt CreateStream (TUint32 aSessionId, TUint32 aLinkId, TUint32 &aStreamId, TInt aStreamType, CMccCodecInformation &aCodecInformation)
IMPORT_C TInt PrepareStream (TUint32 aSessionId, TUint32 aLinkId, TUint32 aStreamId, TUint32 aEndpointId=0)
IMPORT_C TInt StartStream (TUint32 aSessionId, TUint32 aLinkId, TUint32 aStreamId, TUint32 aEndpointId=0, TBool aPaused=EFalse, TBool aEnableRTCP=ETrue)
IMPORT_C TInt PauseStream (TUint32 aSessionId, TUint32 aLinkId, TUint32 aStreamId, TUint32 aEndpointId=0, TBool aEnableRTCP=ETrue)
IMPORT_C TInt ResumeStream (TUint32 aSessionId, TUint32 aLinkId, TUint32 aStreamId, TUint32 aEndpointId=0, TBool aEnableRTCP=ETrue)
IMPORT_C TInt StopStream (TUint32 aSessionId, TUint32 aLinkId, TUint32 aStreamId, TUint32 aEndpointId=0)
IMPORT_C TInt DeleteStream (TUint32 aSessionId, TUint32 aLinkId, TUint32 aStreamId)
IMPORT_C TInt StartInactivityTimer (TUint32 aSessionId, TUint32 aLinkId, TUint32 aStreamId, TUint32 aTimeoutTime, TUint32 aEndpointId=0)
IMPORT_C TInt StopInactivityTimer (TUint32 aSessionId, TUint32 aLinkId, TUint32 aStreamId, TUint32 aEndpointId=0)
IMPORT_C TInt SetRemoteAddress (TUint32 aSessionId, TUint32 aLinkId, const TInetAddr &aRemoteAddr, TUint aRemoteRtcpPort=0)
IMPORT_C CMccCodecInformationCodecL (TUint32 aSessionId, TUint32 aLinkId, TUint32 aStreamId)
IMPORT_C TInt SetCodec (TUint32 aSessionId, TUint32 aLinkId, TUint32 aStreamId, CMccCodecInformation &aCodecInformation)
TInt GetSupportedCodecs (RArray< TFourCC > &aCodecs)
IMPORT_C TInt GetCapabilities (RPointerArray< CMccCodecInformation > &aCapabilities) const
IMPORT_C TInt GetCapabilities (const TUid aType, TInt aStreamType, const TDesC8 &aParam, RPointerArray< CMccCodecInformation > &aCapabilities)
IMPORT_C TInt GetSSRC (TUint32 aSessionId, TUint32 aLinkId, TUint32 aStreamId, TUint32 aEndpointId, TUint32 &aSSRC)
IMPORT_C void SendMediaSignalL (const TMccEvent &aEvent)
IMPORT_C TInt AddDataSink (const TUid aSinkType, const TDesC8 &aParam, TUint32 &aEndpointId)
IMPORT_C TInt AddDataSource (const TUid aSourceType, const TDesC8 &aParam, TUint32 &aEndpointId)
IMPORT_C TBool LinkExists (TUint32 aSessionId, TUint32 &aLinkId, const TMccNetSettings &aNetSettings)
IMPORT_C TBool StreamsExists (TUint32 aSessionId, TUint32 aLinkId)
IMPORT_C TInt GetParameter (TUint32 aSessionId, TUint32 aLinkId, TUint32 aStreamId, TUint32 aEndpointId, TUint32 aParam, TDes8 &aVal)
IMPORT_C TInt SetParameter (TUint32 aSessionId, TUint32 aLinkId, TUint32 aStreamId, TUint32 aEndpointId, TUint32 aParam, const TDesC8 &aVal)
IMPORT_C TInt UpdateDataSink (TUint32 aSessionId, TUint32 aLinkId, TUint32 aStreamId, TUint32 aEndpointId, const TDesC8 &aParam)
IMPORT_C TInt UpdateDataSource (TUint32 aSessionId, TUint32 aLinkId, TUint32 aStreamId, TUint32 aEndpointId, const TDesC8 &aParam)
IMPORT_C TInt RemoveDataSink (TUint32 aSessionId, TUint32 aLinkId, TUint32 aStreamId, TUint32 aEndpointId)
IMPORT_C TInt RemoveDataSource (TUint32 aSessionId, TUint32 aLinkId, TUint32 aStreamId, TUint32 aEndpointId)
IMPORT_C TInt Reuse (TUint32 aSessionId, TUint32 aLinkId, TUint32 aStreamId, TUint32 aEndpointId)
IMPORT_C TInt ReferenceCount (TUint32 aSessionId, TUint32 aLinkId, TUint32 aStreamId, TUint32 aEndpointId, TUint &aCount)
IMPORT_C TInt AddBundle (TUint32 aSessionId, TMccStreamBundle &aBundle, TUint32 &aBundleId)
IMPORT_C TInt RemoveBundle (TUint32 aSessionId, TUint32 aBundleId)
IMPORT_C TInt GetBundles (TUint32 aSessionId, RArray< TMccStreamBundle > &aBundles)
IMPORT_C TInt TranscodeFile (const TDesC8 &aSourceFile, const TDesC8 &aDestFile, TUint32 aQuality, TUint32 &aSessionId, const CMccCodecInformation *aVideoCodec=0, const CMccCodecInformation *aAudioCodec=0)
IMPORT_C TInt CancelTranscodeFile (TUint32 aSessionId)
IMPORT_C TInt MediaQualityRequest (const TMccMediaQualityConfig &aConfig)
IMPORT_C TInt CancelMediaQualityRequest (const TMccMediaQualityConfig &aConfig)
void GetController (RMMFController &aController)

Static Public Member Functions

static IMPORT_C CMccInterfaceNewL (MMccCtrlObserver &aObserver)

Detailed Description

MCC subsystem client interface. Class is used for setting up and controlling multimedia streams. Details of resources needed by the client are unknown, hence specified in details in every session.

MCC interface is based on four components: Session, link, stream and endpoint (sink or source). In order to create multimedia streams, client need to construct it by using these four components.

mmccinterface.lib


Constructor & Destructor Documentation

virtual CMccInterface::~CMccInterface (  )  [virtual]

Destructor.


Member Function Documentation

IMPORT_C TInt CMccInterface::AddBundle ( TUint32  aSessionId,
TMccStreamBundle aBundle,
TUint32 &  aBundleId 
)

Adds a bundle into a session.

Parameters:
aSessionId session where stream belongs to
aBundle New bundle to be added in the session.
aBundleId identifier of the added bundle on return.
Returns:
KErrNone if successful
IMPORT_C TInt CMccInterface::AddDataSink ( const TUid  aSinkType,
const TDesC8 &  aParam,
TUint32 &  aEndpointId 
)

Adds new sink to the session. User must later call CreateStream to connect this sink to some stream.

Parameters:
aSinkType type identifier of the sink.
aParam initialization parameters of the sink.
aEndpointId idenfier of the created sink on return.
Returns:
KErrNotFound, if sink type not found
IMPORT_C TInt CMccInterface::AddDataSource ( const TUid  aSourceType,
const TDesC8 &  aParam,
TUint32 &  aEndpointId 
)

Adds new source to the session. User must later call CreateStream to connect this source to some stream.

Parameters:
aSourceType type identifier of the source.
aParam initialization parameters of the source.
aEndpointId idenfier of the created source on return.
Returns:
KErrNotFound, if source type not found.
IMPORT_C TInt CMccInterface::CancelMediaQualityRequest ( const TMccMediaQualityConfig aConfig  ) 

Cancels an outstanding media quality report. If the given media quality request data contains false data, this function will return KErrArgument.

Since:
Series 60 3.2
Parameters:
aConfig Configuration to find a outstanding media quality request
Returns:
Error code
IMPORT_C TInt CMccInterface::CancelTranscodeFile ( TUint32  aSessionId  ) 

Cancels transcoding of media file.

Parameters:
aSessionId session identifier for transcoding
Returns:
ETrue if succesfull; otherwise EFalse.
IMPORT_C TInt CMccInterface::CloseLink ( TUint32  aSessionId,
TUint32  aLinkId 
)

Closes MCC link. All streams of the link are also closed.

Parameters:
aSessionId session ID.
aLinkId link ID.
Returns:
One of the standard system-wide error codes.
IMPORT_C TInt CMccInterface::CloseSession ( TUint32  aSessionId  ) 

Closes MCC session. All links and streams of the session are also closed.

Parameters:
aSessionId session ID.
Returns:
One of the standard system-wide error codes.
IMPORT_C CMccCodecInformation* CMccInterface::CodecL ( TUint32  aSessionId,
TUint32  aLinkId,
TUint32  aStreamId 
)

Gets current codec used in a given stream.

Parameters:
aSessionId session ID
aLinkId Link ID
aStreamId Stream ID
Returns:
Current codec used with the specified stream, ownership is transferred.
IMPORT_C TInt CMccInterface::CreateLink ( TUint32  aSessionId,
TInt  aLinkType,
TUint32 &  aLinkId,
TMccNetSettings aNetSettings 
)

Creates a new MCC link with a remote participant. Link creates new RTP session with given network settings.

Parameters:
aSessionId session ID.
aLinkType Defines the link type.
aLinkId ID of new link.
aNetSettings network settings for the link.
Returns:
KErrNone if success; otherwise system wide error code.
IMPORT_C TInt CMccInterface::CreateSession ( TUint32 &  aSessionId  ) 

Creates a new MCC session. The session is needed to create links and streams into MCC. A single session may have any number of links.

Parameters:
aSessionId ID of the new session if successful.
Returns:
KErrNone if success; otherwise system wide error code.
IMPORT_C TInt CMccInterface::CreateStream ( TUint32  aSessionId,
TUint32  aLinkId,
TUint32 &  aStreamId,
TInt  aStreamType,
CMccCodecInformation aCodecInformation 
)

Creates a stream into a MCC link. Constructs the datapath for stream, but no media resources reserved yet.

Parameters:
aSessionId session where stream is created to.
aLinkId link ID where stream is created to.
aStreamId Stream ID for the stream created.
aStreamType type of the stream.
aCodecInformation Codec information for the stream.
Returns:
KErrNone if success; otherwise system wide error code.
IMPORT_C TInt CMccInterface::DeleteStream ( TUint32  aSessionId,
TUint32  aLinkId,
TUint32  aStreamId 
)

Deletes media stream in a given session.

Parameters:
aSessionId session where stream belongs to.
aLinkId link ID.
aStreamId Stream ID identifying stream to be deleted.
Returns:
One of the standard system-wide error codes.
IMPORT_C TInt CMccInterface::GetBundles ( TUint32  aSessionId,
RArray< TMccStreamBundle > &  aBundles 
)

Returns the bundles of a given session..

Parameters:
aSessionId session where stream belongs to
aBundles an array of bundles in given session.
Returns:
KErrNone if successful
IMPORT_C TInt CMccInterface::GetCapabilities ( RPointerArray< CMccCodecInformation > &  aCapabilities  )  const

Returns array of supported codecs in the system with their default values. Note that data that the aCapabilities contains before calling this function will be lost during the excecution of this function. Note also that the client is responsible for the destruction of the objects contained in the parameter array.

Parameters:
aCapabilities Codec capabilities
Returns:
KErrNone if successful
IMPORT_C TInt CMccInterface::GetCapabilities ( const TUid  aType,
TInt  aStreamType,
const TDesC8 &  aParam,
RPointerArray< CMccCodecInformation > &  aCapabilities 
)

Returns array of supported codecs of specific sink or source. Note that data that the aCapabilities contains before calling this function will be lost during the excecution of this function. Note also that the client is responsible for the destruction of the objects contained in the parameter array.

Parameters:
aType Type identifier of source or sink.
aStreamType Type of the stream.
aParam Source or sink specific param.
aCapabilities Codec capabilities.
Returns:
KErrNone if successful.
void CMccInterface::GetController ( RMMFController &  aController  ) 

Returns the reference to handle to controller plugin which interface uses for sending custom commands. Internal function.

Since:
Series 60 3.2
Parameters:
aController Controller.
IMPORT_C TInt CMccInterface::GetParameter ( TUint32  aSessionId,
TUint32  aLinkId,
TUint32  aStreamId,
TUint32  aEndpointId,
TUint32  aParam,
TDes8 &  aVal 
)

Gets sink or source parameter

Parameters:
aSessionId session where sink or source belongs to.
aLinkId link ID where sink or source belongs to.
aStreamId stream ID where sink or source belongs to.
aEndpointId endpoint ID identifying sink or source.
aParam a parameter to get.
aVal on return will contain parameter value in TPkgBuf structure.
Returns:
KErrNotFound if parameter was not found, KErrNone otherwise.
IMPORT_C TInt CMccInterface::GetSSRC ( TUint32  aSessionId,
TUint32  aLinkId,
TUint32  aStreamId,
TUint32  aEndpointId,
TUint32 &  aSSRC 
)

Get Synchronization source identifier.

Parameters:
aSessionId session ID
aLinkId Link ID
aStreamId Stream ID
aEndpointId ID identifying endpoint of the stream.
aSSRC SSRC value
Returns:
One of the standard system-wide error codes.
TInt CMccInterface::GetSupportedCodecs ( RArray< TFourCC > &  aCodecs  ) 

Get supported codecs by the system. Certain sinks and sources however may have limitations on which codecs they support, hence all these codecs may not allowed in all streams. Internal function.

Parameters:
aCodecs An array to be filled with FourCC codes.
Returns:
One of the standard system-wide error codes.
IMPORT_C TBool CMccInterface::LinkExists ( TUint32  aSessionId,
TUint32 &  aLinkId,
const TMccNetSettings aNetSettings 
)

Checks if link already exists based on local port.

Parameters:
aSessionId session ID.
aLinkId ID of the link.
aNetSettings network settings for the link.
Returns:
ETrue if found; otherwise EFalse.
IMPORT_C TInt CMccInterface::MediaQualityRequest ( const TMccMediaQualityConfig aConfig  ) 

Requests media quality reports from an endpoint. This request is synchronous. When given media quality level triggers in specified endpoint the client receives media quality report via asynchronous event.

If the given config is not valid, KErrArgument is returned. The request can be cancelled with function CancelMediaQualityRequest,

Since:
Series 60 3.2
Parameters:
aConfig Media quality request configuration
Returns:
Error code
static IMPORT_C CMccInterface* CMccInterface::NewL ( MMccCtrlObserver aObserver  )  [static]

Two-phased constructor.

Parameters:
aObserver A callback object to receive and handle event notifications from MCC subsystem.
Returns:
CMccInterface* Pointer to the interface object created.
IMPORT_C TInt CMccInterface::PauseStream ( TUint32  aSessionId,
TUint32  aLinkId,
TUint32  aStreamId,
TUint32  aEndpointId = 0,
TBool  aEnableRTCP = ETrue 
)

Pauses media stream in a given session. No RTP packets are sent/received anymore. However, RTCP packets may still be sent and received.

Parameters:
aSessionId session where stream belongs to.
aLinkId link ID.
aStreamId ID identifying stream to be paused.
aEndpointId ID identifying endpoint of the stream to be paused. If value 0, both endpoints paused.
aEnableRTCP ETrue, if RTCP sent while paused.
Returns:
One of the standard system-wide error codes.
IMPORT_C TInt CMccInterface::PrepareStream ( TUint32  aSessionId,
TUint32  aLinkId,
TUint32  aStreamId,
TUint32  aEndpointId = 0 
)

Prepares a stream so that it is ready to be started. Media resources are reserved and required RTP streams are created.

Parameters:
aSessionId session where stream belongs to.
aLinkId link ID where stream belongs to.
aStreamId ID identifying stream to be prepared.
aEndpointId ID identifying endpoint of the stream to be prepared. If value is 0, both endpoints prepared.
Returns:
One of the standard system-wide error codes.
IMPORT_C TInt CMccInterface::ReferenceCount ( TUint32  aSessionId,
TUint32  aLinkId,
TUint32  aStreamId,
TUint32  aEndpointId,
TUint &  aCount 
)

Get the reference count of given sink or source.

Parameters:
aSessionId session where stream belongs to
aLinkId link ID
aStreamId ID identifying stream.
aEndpointId ID identifying endpoint.
aCount number of references using this sink or source.
Returns:
KErrNotFound, if endpoint not found
IMPORT_C TInt CMccInterface::RemoveBundle ( TUint32  aSessionId,
TUint32  aBundleId 
)

Removes a bundle from a specific session..

Parameters:
aSessionId Session where bundle belongs to.
aBundleId Identifier of the removed bundle.
Returns:
KErrNotFound If bundle is not found.
IMPORT_C TInt CMccInterface::RemoveDataSink ( TUint32  aSessionId,
TUint32  aLinkId,
TUint32  aStreamId,
TUint32  aEndpointId 
)

Removes sink from MCC.

Parameters:
aSessionId session where stream belongs to
aLinkId link ID
aStreamId ID identifying stream.
aEndpointId ID identifying endpoint.
Returns:
KErrNotFound, if sink type not found
IMPORT_C TInt CMccInterface::RemoveDataSource ( TUint32  aSessionId,
TUint32  aLinkId,
TUint32  aStreamId,
TUint32  aEndpointId 
)

Removes source from MCC.

Parameters:
aSessionId session where stream belongs to
aLinkId link ID
aStreamId ID identifying stream.
aEndpointId ID identifying endpoint.
Returns:
KErrNotFound, if source type not found
IMPORT_C TInt CMccInterface::ResumeStream ( TUint32  aSessionId,
TUint32  aLinkId,
TUint32  aStreamId,
TUint32  aEndpointId = 0,
TBool  aEnableRTCP = ETrue 
)

Resumes paused media stream in a given session.

Parameters:
aSessionId session where stream belongs to.
aLinkId link ID.
aStreamId Stream ID identifying stream to be resumed.
aEndpointId ID identifying endpoint of the stream to be resumed. If value 0, both endpoints resumed.
aEnableRTCP ETrue, if RTCP sent while playing.
Returns:
One of the standard system-wide error codes.
IMPORT_C TInt CMccInterface::Reuse ( TUint32  aSessionId,
TUint32  aLinkId,
TUint32  aStreamId,
TUint32  aEndpointId 
)

Reuses sink or source of the stream. Reused sink or source may be simultaneously shared by two or more stream. It is also possible,that only one stream can use it at a time. User must later call CreateStream to connect this sink or source to some stream.

Parameters:
aSessionId session where stream belongs to
aLinkId link ID
aStreamId ID identifying stream.
aEndpointId ID identifying endpoint of the stream to be reused.
Returns:
KErrNotFound, if endpoint not found
IMPORT_C void CMccInterface::SendMediaSignalL ( const TMccEvent aEvent  ) 

Sends media signal (e.g. DTMF, RTCP) to uplink if possible.

Parameters:
aEvent Event to be sent
IMPORT_C TInt CMccInterface::SetCodec ( TUint32  aSessionId,
TUint32  aLinkId,
TUint32  aStreamId,
CMccCodecInformation aCodecInformation 
)

Sets codec to be used in a given stream.

Parameters:
aSessionId session ID.
aLinkId Link ID.
aStreamId Stream ID.
aCodecInformation Codec to be used.
Returns:
One of the standard system-wide error codes.
IMPORT_C TInt CMccInterface::SetParameter ( TUint32  aSessionId,
TUint32  aLinkId,
TUint32  aStreamId,
TUint32  aEndpointId,
TUint32  aParam,
const TDesC8 &  aVal 
)

Sets sink or source parameter

Parameters:
aSessionId session where sink or source belongs to.
aLinkId link ID where sink or source belongs to.
aStreamId stream ID where sink or source belongs to.
aEndpointId endpoint ID identifying sink or source.
aParam a parameter to get.
aVal on return will contain parameter value in TPkgBuf structure.
Returns:
KErrNotFound if parameter was not found, KErrNone otherwise.
IMPORT_C TInt CMccInterface::SetRemoteAddress ( TUint32  aSessionId,
TUint32  aLinkId,
const TInetAddr &  aRemoteAddr,
TUint  aRemoteRtcpPort = 0 
)

Set remote IP address and port number for a given session.

Parameters:
aSessionId session ID.
aLinkId link ID.
aRemoteAddr Remote address to set.
aRemoteRtcpPort Remote RTCP port to set, if not RTP port + 1.
Returns:
One of the standard system-wide error codes.
IMPORT_C TInt CMccInterface::StartInactivityTimer ( TUint32  aSessionId,
TUint32  aLinkId,
TUint32  aStreamId,
TUint32  aTimeoutTime,
TUint32  aEndpointId = 0 
)

Starts inactivity timer for a stream in a given session. If RTP data is not received in given tive, inactivy event is sent to client. In case of timeout, inactivity timer is stopped. Client may restart the timer if needed.

Parameters:
aSessionId session where stream belongs to.
aLinkId link ID.
aStreamId Stream ID identifying stream.
aTimeoutTime timeout value in microseconds.
aEndpointId ID identifying endpoint of the stream to be monitored.
Returns:
One of the standard system-wide error codes.
IMPORT_C TInt CMccInterface::StartStream ( TUint32  aSessionId,
TUint32  aLinkId,
TUint32  aStreamId,
TUint32  aEndpointId = 0,
TBool  aPaused = EFalse,
TBool  aEnableRTCP = ETrue 
)

Starts to send/receive media stream in a given session.

Parameters:
aSessionId session where stream belongs to.
aLinkId link ID.
aStreamId ID identifying stream to be started.
aPaused ETrue, if stream paused after start.
aEndpointId ID identifying endpoint of the stream to be started. If value 0, both endpoints started.
aEnableRTCP ETrue, if RTCP sent.
Returns:
One of the standard system-wide error codes.
IMPORT_C TInt CMccInterface::StopInactivityTimer ( TUint32  aSessionId,
TUint32  aLinkId,
TUint32  aStreamId,
TUint32  aEndpointId = 0 
)

Stops inactivity timer for a stream in a given session.

Parameters:
aSessionId session where stream belongs to.
aLinkId link ID.
aStreamId Stream ID identifying stream.
aEndpointId ID identifying endpoint of the stream where monitoring stopped.
Returns:
One of the standard system-wide error codes.
IMPORT_C TInt CMccInterface::StopStream ( TUint32  aSessionId,
TUint32  aLinkId,
TUint32  aStreamId,
TUint32  aEndpointId = 0 
)

Stops sending/receiving media stream in a given session.

Parameters:
aSessionId session where stream belongs to.
aLinkId link ID.
aStreamId Stream ID identifying stream to be stopped.
aEndpointId ID identifying endpoint of the stream to be stopped. If value 0, both endpoints stopped.
Returns:
One of the standard system-wide error codes.
IMPORT_C TBool CMccInterface::StreamsExists ( TUint32  aSessionId,
TUint32  aLinkId 
)

Checks if link contains streams

Parameters:
aSessionId session ID.
aLinkId ID of the link.
Returns:
ETrue if found; otherwise EFalse.
IMPORT_C TInt CMccInterface::TranscodeFile ( const TDesC8 &  aSourceFile,
const TDesC8 &  aDestFile,
TUint32  aQuality,
TUint32 &  aSessionId,
const CMccCodecInformation aVideoCodec = 0,
const CMccCodecInformation aAudioCodec = 0 
)

Transcodes media file in non-realtime. Progress of transcoding can be monitored through MMccCtrlObserver::MccEventReceived.

Parameters:
aSourceFile source file for transcoding
aDestFile destination file for transcoding
aQuality requested quality for transcoding
aSessionId session identifier for transcoding
aVideoCodec requested video parameters for transcoding, overrides aQuality parameter. Ownership is not transferred.
aAudioCodec requested audio parameters for transcoding, overrides aQuality parameter. Ownership is not transferred.
Returns:
ETrue if succesfull; otherwise EFalse.
IMPORT_C TInt CMccInterface::UpdateDataSink ( TUint32  aSessionId,
TUint32  aLinkId,
TUint32  aStreamId,
TUint32  aEndpointId,
const TDesC8 &  aParam 
)

Updates sink of the stream.

Parameters:
aSessionId session where stream belongs to
aLinkId link ID.
aStreamId ID identifying stream to be updated.
aEndpointId ID identifying endpoint of the stream to be updated.
aParam initialization parameters of the sink.
Returns:
KErrNotFound, if sink type not found.
IMPORT_C TInt CMccInterface::UpdateDataSource ( TUint32  aSessionId,
TUint32  aLinkId,
TUint32  aStreamId,
TUint32  aEndpointId,
const TDesC8 &  aParam 
)

Updates source of the stream.

Parameters:
aSessionId session where stream belongs to
aLinkId link ID.
aStreamId ID identifying stream to be updated.
aEndpointId ID identifying endpoint of the stream to be updated.
aParam initialization parameters of the source.
Returns:
KErrNotFound, if source type not found.

The documentation for this class was generated from the following file:
 All Classes Functions Variables