TAO_AV_Protocol_object for the RTP protocol. More...
#include <RTP.h>
Public Member Functions | |
TAO_AV_RTP_Object (TAO_AV_Callback *callback, TAO_AV_Transport *transport) | |
virtual | ~TAO_AV_RTP_Object (void) |
virtual int | start (void) |
start/stop the flow. | |
virtual int | stop (void) |
virtual int | handle_input (void) |
virtual int | send_frame (ACE_Message_Block *frame, TAO_AV_frame_info *frame_info=0) |
send a data frame. | |
virtual int | send_frame (const iovec *iov, int iovcnt, TAO_AV_frame_info *frame_info=0) |
send a frame in iovecs. | |
virtual int | send_frame (const char *buf, size_t len) |
virtual int | destroy (void) |
virtual int | set_policies (const TAO_AV_PolicyList &policy_list) |
set/get policies. | |
virtual void | control_object (TAO_AV_Protocol_Object *object) |
end the stream. | |
Protected Attributes | |
ACE_UINT16 | sequence_num_ |
ACE_UINT32 | timestamp_offset_ |
int | format_ |
ACE_UINT32 | ssrc_ |
TAO_AV_Protocol_Object * | control_object_ |
ACE_Message_Block | frame_ |
Pre-allocated memory to receive the data... | |
int | connection_gone_ |
TAO_AV_Protocol_object for the RTP protocol.
TAO_AV_RTP_Object::TAO_AV_RTP_Object | ( | TAO_AV_Callback * | callback, | |
TAO_AV_Transport * | transport | |||
) |
TAO_AV_RTP_Object::~TAO_AV_RTP_Object | ( | void | ) | [virtual] |
void TAO_AV_RTP_Object::control_object | ( | TAO_AV_Protocol_Object * | object | ) | [virtual] |
end the stream.
Reimplemented from TAO_AV_Protocol_Object.
int TAO_AV_RTP_Object::destroy | ( | void | ) | [virtual] |
Implements TAO_AV_Protocol_Object.
int TAO_AV_RTP_Object::handle_input | ( | void | ) | [virtual] |
Implements TAO_AV_Protocol_Object.
int TAO_AV_RTP_Object::send_frame | ( | ACE_Message_Block * | frame, | |
TAO_AV_frame_info * | frame_info = 0 | |||
) | [virtual] |
send a data frame.
Implements TAO_AV_Protocol_Object.
int TAO_AV_RTP_Object::send_frame | ( | const iovec * | iov, | |
int | iovcnt, | |||
TAO_AV_frame_info * | frame_info = 0 | |||
) | [virtual] |
send a frame in iovecs.
Implements TAO_AV_Protocol_Object.
int TAO_AV_RTP_Object::send_frame | ( | const char * | buf, | |
size_t | len | |||
) | [virtual] |
Implements TAO_AV_Protocol_Object.
int TAO_AV_RTP_Object::set_policies | ( | const TAO_AV_PolicyList & | policy_list | ) | [virtual] |
set/get policies.
Reimplemented from TAO_AV_Protocol_Object.
int TAO_AV_RTP_Object::start | ( | void | ) | [virtual] |
start/stop the flow.
Reimplemented from TAO_AV_Protocol_Object.
int TAO_AV_RTP_Object::stop | ( | void | ) | [virtual] |
Reimplemented from TAO_AV_Protocol_Object.
int TAO_AV_RTP_Object::connection_gone_ [protected] |
TAO_AV_Protocol_Object* TAO_AV_RTP_Object::control_object_ [protected] |
int TAO_AV_RTP_Object::format_ [protected] |
ACE_Message_Block TAO_AV_RTP_Object::frame_ [protected] |
Pre-allocated memory to receive the data...
ACE_UINT16 TAO_AV_RTP_Object::sequence_num_ [protected] |
ACE_UINT32 TAO_AV_RTP_Object::ssrc_ [protected] |
ACE_UINT32 TAO_AV_RTP_Object::timestamp_offset_ [protected] |