multimediacommscontroller/mmccvideosourcesink/inc/mccvideosinkdef.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Wed, 14 Apr 2010 16:21:36 +0300
branchRCL_3
changeset 11 2a28ef775f15
parent 0 1bce908db942
permissions -rw-r--r--
Revision: 201013 Kit: 201015

/*
* Copyright (c) 2002-2003 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:   
*
*/




#ifndef MCCDISPLAYSINKDEF_H
#define MCCDISPLAYSINKDEF_H

#include "rtpdef.h"

// CONSTANTS
_LIT8(KSDP,"Sdp");
_LIT8(KLIVESTREAM,"LiveStream");

/**
*  The audio/video pair
*
*  @lib 
*  @since 
*/
class TAVPorts
    {
    public:
        TUint iAudioPort;
        TUint iVideoPort;
    };

/**
*  The parameters needed for local setup
*
*  @lib 
*  @since 
*/
class TLocalParameters
    {
    public:
        TAVPorts iPorts;
        TRtpSdesParams iSdes;
        TRtcpParams iRtcpAudioParams;
        TRtcpParams iRtcpVideoParams;
        TRtpPayloadType iAudioPayloadType;
        TRtpPayloadType iVideoPayloadType; 
    };

/**
*  The parameters needed for remote setup and swis communication.
*
*  @lib 
*  @since 
*/
class TRemoteParameters
    {
    public:
        TInetAddr iRemoteAddrAudio;
        TInetAddr iRemoteAddrVideo;
        TPtrC8 iSdpText;
        TTimeIntervalMicroSeconds32 iPausedTimeOut;
        TTimeIntervalMicroSeconds32 iDisconnectedTimeOut;
    };


#endif // MCCDISPLAYSINKDEF_H