multimediacommscontroller/mmccrtpsourcesink/inc/rtpdatasink.h
changeset 0 1bce908db942
equal deleted inserted replaced
-1:000000000000 0:1bce908db942
       
     1 /*
       
     2 * Copyright (c) 2004-2006 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:    Interface for classes capable to act as data sink for RTP data.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 
       
    22 #ifndef RTPDATASINK_H
       
    23 #define RTPDATASINK_H
       
    24 
       
    25 // FORWARD DECLARATIONS
       
    26 class CMMFBuffer;
       
    27 class MDataSource;
       
    28 class TRtpSendHeader;
       
    29 
       
    30 // CLASS DECLARATION
       
    31 
       
    32 /**
       
    33 *  Interface for classes capable to act as data sink for RTP data.
       
    34 *
       
    35 *  @lib N/A
       
    36 *  @since Series 60 3.0
       
    37 */
       
    38 class MMccRtpDataSink
       
    39     {
       
    40     public: // New functions
       
    41 
       
    42         /**
       
    43         * Empties specified buffer.
       
    44         *
       
    45         * @since    Series 60 3.0
       
    46         * @param    aBuffer     Buffer containing the RTP packet
       
    47         * @param    aSupplier   Data source to notify when buffer is emptied
       
    48         * @param    aMediaId    Identifies the media type of a particular stream
       
    49         * @param    aHeaderInfo RTP packet header
       
    50         * @return   void
       
    51         */
       
    52         virtual void EmptyBufferL( CMMFBuffer* aBuffer, 
       
    53                                    MDataSource* aSupplier,
       
    54                                    TMediaId aMediaId,
       
    55                                    TRtpSendHeader& aHeaderInfo ) = 0;
       
    56     };
       
    57 
       
    58 #endif      // RTPDATASINK_H   
       
    59             
       
    60 // End of File