rtp/rtpstack/inc/rtpasignuniqueid.h
changeset 0 307788aac0a8
equal deleted inserted replaced
-1:000000000000 0:307788aac0a8
       
     1 /*
       
     2 * Copyright (c) 2004-2005 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:    Header file for definitions related to RTP
       
    15 *              : (Real-time Transport Protocol) library
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 
       
    21 
       
    22 #ifndef __RTPASSIGNUNIQUEID_H
       
    23 #define __RTPASSIGNUNIQUEID_H
       
    24 
       
    25 //  INCLUDES
       
    26 
       
    27 #include <e32std.h>
       
    28 #include <in_sock.h>
       
    29 #include <es_sock.h>
       
    30 #include  "rtpdef.h"
       
    31 
       
    32 class MRtpAsignUniqueID
       
    33 	{
       
    34 	public:
       
    35 	    
       
    36 	    /**
       
    37 	    * Get Unique StreamID from RTPmanager
       
    38 	    * @param None
       
    39 	    */
       
    40 	    virtual TRtpId AssignUniqueID()= 0;
       
    41 	    
       
    42 	    /**
       
    43 	    * Used when creating Rx stream in session, call RtpManager to add stream
       
    44 	    * To session
       
    45 	    * @param None
       
    46 	    */
       
    47 	    virtual TInt AddStreamToSession(TRtpId aSessionId, TRtpId aStreamId)=0;
       
    48 	};
       
    49 
       
    50 #endif /* __RTPASSIGNUNIQUEID_H*/