Asterisk.org: Developer Documentation (28 Oct 2009)

Wed Oct 28 15:49:32 2009

## Asterisk developer's documentation

# ast_rtp_protocol Struct Reference

`#include <rtp.h>`

Collaboration diagram for ast_rtp_protocol:

[legend]

## Data Fields

int(*const | get_codec )(struct ast_channel *chan)
struct ast_rtp *(*const | get_rtp_info )(struct ast_channel *chan)
struct ast_rtp *(*const | get_vrtp_info )(struct ast_channel *chan)
struct ast_rtp_protocol * | next
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

## Detailed Description

Definition at line 50 of file rtp.h.

## Field Documentation

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

Referenced by ast_rtp_bridge().

struct ast_rtp*(* const get_rtp_info)(struct ast_channel *chan)`[read]`

Referenced by ast_rtp_bridge().

struct ast_rtp*(* const get_vrtp_info)(struct ast_channel *chan)`[read]`

Referenced by ast_rtp_bridge().

struct ast_rtp_protocol* next`[read]`

Definition at line 59 of file rtp.h.

Referenced by ast_rtp_proto_register(), ast_rtp_proto_unregister(), and get_proto().

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

Referenced by ast_rtp_bridge().

const char* const type

Definition at line 58 of file rtp.h.

Referenced by ast_rtp_proto_register(), and get_proto().

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

- rtp.h