rtp/rtpstack/src/rtpstream.cpp
changeset 0 307788aac0a8
equal deleted inserted replaced
-1:000000000000 0:307788aac0a8
       
     1 /*
       
     2 * Copyright (c) 2002-2003 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:    
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 // INCLUDES
       
    22 #include <e32base.h>
       
    23 #include <e32math.h>
       
    24 #include <rtpheader.h>
       
    25 #include "rtputil.h"
       
    26 #include "rtpstream.h"
       
    27 #include "rtpsdes.h"
       
    28 #include "rtpcomm.h"
       
    29 
       
    30 // ================= MEMBER FUNCTIONS =======================
       
    31 
       
    32 // ---------------------------------------------------------------------------
       
    33 // C++ default constructor can NOT contain any code, that
       
    34 // might leave.
       
    35 // ---------------------------------------------------------------------------
       
    36 //
       
    37 CRtpStream::CRtpStream( const TRtpId aReceiveStreamId,
       
    38                         const TRtpId aSessionId,
       
    39                         const TUint32* aProfileRTPTimeRates,
       
    40                         MRtcpObserver* aRtcpObserver,
       
    41                         const TRtpPayloadType aPayloadType ) 
       
    42     : iFlagFirstPkg( ETrue ),
       
    43     iStreamId( aReceiveStreamId ),
       
    44     iSessionId( aSessionId ),
       
    45     iSeqNumCycles( 0 ),
       
    46     iPayload( aPayloadType ),
       
    47     iProfileRTPTimeRates( aProfileRTPTimeRates ),
       
    48     iRtcpObserver( aRtcpObserver )
       
    49     {
       
    50     }
       
    51 
       
    52 // ---------------------------------------------------------------------------
       
    53 // Destructor
       
    54 // ---------------------------------------------------------------------------
       
    55 //
       
    56 CRtpStream::~CRtpStream()
       
    57     {
       
    58     }
       
    59 
       
    60 // End of File