#include <RTCP.h>
Inheritance diagram for TAO_AV_RTCP_Callback:
Public Member Functions | |
TAO_AV_RTCP_Callback (void) | |
RTCP callback. | |
virtual | ~TAO_AV_RTCP_Callback (void) |
virtual destructor. | |
virtual int | handle_start (void) |
Called during Streamctrl->start. | |
virtual int | handle_stop (void) |
Called during Streamctrl->stop. | |
virtual int | handle_timeout (void *arg) |
Called during timeout for Flow Producers. | |
virtual int | receive_frame (ACE_Message_Block *frame, TAO_AV_frame_info *frame_info=0, const ACE_Addr &peer_address=ACE_Addr::sap_any) |
Called when a frame arrives for a FlowConsumer. | |
int | send_frame (ACE_Message_Block *frame) |
virtual int | receive_control_frame (ACE_Message_Block *frame, const ACE_Addr &peer_address=ACE_Addr::sap_any) |
virtual int | handle_destroy (void) |
virtual void | get_timeout (ACE_Time_Value *&tv, void *&arg) |
int | send_report (int bye) |
void | schedule (int ms) |
TAO_AV_RTP_State * | state (void) |
void | ts_offset (ACE_UINT32 offset) |
Protected Attributes | |
ACE_Hash_Map_Manager< ACE_UINT32, RTCP_Channel_In *, ACE_Null_Mutex > | inputs_ |
RTCP_Channel_Out | output_ |
int | timeout_ |
int | timestamp_offset_ |
int | sdes_count_ |
int | is_initial_timeout_ |
int | avg_rtcp_size_ |
int | packet_size_ |
TAO_AV_RTCP_Callback::TAO_AV_RTCP_Callback | ( | void | ) |
RTCP callback.
TAO_AV_RTCP_Callback::~TAO_AV_RTCP_Callback | ( | void | ) | [virtual] |
virtual destructor.
void TAO_AV_RTCP_Callback::get_timeout | ( | ACE_Time_Value *& | tv, | |
void *& | arg | |||
) | [virtual] |
Called to get the timeout. If tv is 0 then the framework stop calling this.
Reimplemented from TAO_AV_Callback.
int TAO_AV_RTCP_Callback::handle_destroy | ( | void | ) | [virtual] |
Called during Streamctrl->destroy i.e tear_down of the stream @coryan:Call it handle_destroy or handle_close.
Reimplemented from TAO_AV_Callback.
int TAO_AV_RTCP_Callback::handle_start | ( | void | ) | [virtual] |
int TAO_AV_RTCP_Callback::handle_stop | ( | void | ) | [virtual] |
int TAO_AV_RTCP_Callback::handle_timeout | ( | void * | arg | ) | [virtual] |
TAO_BEGIN_VERSIONED_NAMESPACE_DECL int TAO_AV_RTCP_Callback::receive_control_frame | ( | ACE_Message_Block * | data, | |
const ACE_Addr & | peer_address = ACE_Addr::sap_any | |||
) | [virtual] |
Copyright (c) 1994-1995 Regents of the University of California. All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. All advertising materials mentioning features or use of this software must display the following acknowledgement: This product includes software developed by the University of California, Berkeley and the Network Research Group at Lawrence Berkeley Laboratory. 4. Neither the name of the University nor of the Laboratory may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Reimplemented from TAO_AV_Callback.
int TAO_AV_RTCP_Callback::receive_frame | ( | ACE_Message_Block * | frame, | |
TAO_AV_frame_info * | frame_info = 0 , |
|||
const ACE_Addr & | peer_address = ACE_Addr::sap_any | |||
) | [virtual] |
void TAO_AV_RTCP_Callback::schedule | ( | int | ms | ) |
int TAO_AV_RTCP_Callback::send_frame | ( | ACE_Message_Block * | frame | ) |
int TAO_AV_RTCP_Callback::send_report | ( | int | bye | ) |
TAO_AV_RTP_State* TAO_AV_RTCP_Callback::state | ( | void | ) |
void TAO_AV_RTCP_Callback::ts_offset | ( | ACE_UINT32 | offset | ) |
int TAO_AV_RTCP_Callback::avg_rtcp_size_ [protected] |
ACE_Hash_Map_Manager<ACE_UINT32, RTCP_Channel_In*, ACE_Null_Mutex> TAO_AV_RTCP_Callback::inputs_ [protected] |
int TAO_AV_RTCP_Callback::is_initial_timeout_ [protected] |
RTCP_Channel_Out TAO_AV_RTCP_Callback::output_ [protected] |
int TAO_AV_RTCP_Callback::packet_size_ [protected] |
int TAO_AV_RTCP_Callback::sdes_count_ [protected] |
int TAO_AV_RTCP_Callback::timeout_ [protected] |
int TAO_AV_RTCP_Callback::timestamp_offset_ [protected] |