/usr/include/sipxtapi/rtcp/IRTCPControl.h is in libsipxtapi-dev 3.3.0~test17-2.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 | //
// Copyright (C) 2004-2006 SIPfoundry Inc.
// Licensed by SIPfoundry under the LGPL license.
//
// Copyright (C) 2004-2006 Pingtel Corp. All rights reserved.
// Licensed to SIPfoundry under a Contributor Agreement.
//
// $$
///////////////////////////////////////////////////////////////////////////////
// Border Guard
#ifndef _IRTCPControl_h
#define _IRTCPControl_h
#include "rtcp/RtcpConfig.h"
// Include
#include "IBaseClass.h"
#include "IRTCPRegister.h"
#include "IRTCPSession.h"
/**
*
* Interface Name: IRTCPControl
*
* Inheritance: None
*
*
* Description: The IRTCPControl interface allows the comsumers to control
* the creation and destruction of RTCP Sessions. One RTCP
* Session shall exist per call and shall be responsible for
* coordinating one or more RTCP Connection engaged in a call.
* The IRTCPControl interface also inherits the IRTCPRegister
* interface, allowing a consumer to enroll and unenroll for
* RTCP events.
*
* Notes:
*
*/
interface IRTCPControl : public IRTCPRegister // Interface exposed for
// event registration
{
// Public Methods
public:
/**
*
* Method Name: CreateSession
*
*
* Inputs: unsigned long ulSSRC
* Local Source ID associate with this RTCP Session
*
* Outputs: None
*
* Returns: IRTCPSession *
* Returns an interface for use in controlling an RTCP Session
*
* Description: The CreateSession shall manage the instantiation of RTCP
* Session objects used to report and track the identity and
* performance of an RTP connections active within a call.
*
*
* Usage Notes: An RTCPSession object shall be create per call.
*
*
*/
virtual IRTCPSession *CreateSession(unsigned long ulSSRC) = 0;
/**
*
* Method Name: TerminateSession
*
*
* Inputs: IRTCPSession *piRTCPSession
* Interface used as a unqiue handle for identifying session
*
* Outputs: None
*
* Returns: boolean
*
* Description: The TerminateSession() method shall manage the termination of
* and RTCP session. This shall include the graceful release of
* all associated objects as well as the deallocation of all
* resources associated with each contained RTCP connection.
*
*
* Usage Notes:
*
*
*/
virtual bool TerminateSession(IRTCPSession *piRTCPSession) = 0;
};
#endif
|