Codename Pineapple

Home page | Mailing list | Docs

Last updated: Sat Feb 3 05:02:00 2007

Asterisk developer's documentation :: Codename Pineapple


ast_rtp_protocol Struct Reference

#include <rtp.h>


Detailed Description

This is the structure that binds a channel (SIP/Jingle/H.323) to the RTP subsystem.

Definition at line 73 of file rtp.h.

Public Member Functions

 AST_LIST_ENTRY (ast_rtp_protocol) list

Data Fields

int(*const get_codec )(struct ast_channel *chan)
enum ast_rtp_get_result(*const get_rtp_info )(struct ast_channel *chan, struct ast_rtp **rtp)
enum ast_rtp_get_result(*const get_vrtp_info )(struct ast_channel *chan, struct ast_rtp **rtp)
int(*const set_rtp_peer )(struct ast_channel *chan, struct ast_rtp *peer, struct ast_rtp *vpeer, int codecs, int nat_active)
const char *const type


Member Function Documentation

AST_LIST_ENTRY ast_rtp_protocol   ) 
 


Field Documentation

int(* const get_codec)(struct ast_channel *chan)
 

Referenced by ast_rtp_bridge().

enum ast_rtp_get_result(* const get_rtp_info)(struct ast_channel *chan, struct ast_rtp **rtp)
 

Get RTP struct, or NULL if unwilling to transfer

Referenced by ast_rtp_bridge(), ast_rtp_early_bridge(), and ast_rtp_make_compatible().

enum ast_rtp_get_result(* const get_vrtp_info)(struct ast_channel *chan, struct ast_rtp **rtp)
 

Get RTP struct, or NULL if unwilling to transfer

Referenced by ast_rtp_bridge(), ast_rtp_early_bridge(), and ast_rtp_make_compatible().

int(* const set_rtp_peer)(struct ast_channel *chan, struct ast_rtp *peer, struct ast_rtp *vpeer, int codecs, int nat_active)
 

Set RTP peer

Referenced by ast_rtp_early_bridge(), ast_rtp_make_compatible(), and bridge_native_loop().

const char* const type
 

Definition at line 81 of file rtp.h.

Referenced by ast_rtp_proto_register(), and get_proto().


The documentation for this struct was generated from the following file:

Asterisk is a trademark for Digium, inc.. | Edvina.net | Asterisk.org | This documentation was generated with Doxygen