mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-09 14:36:48 +00:00
rtp_engine.h: Misc comment fixes.
Change-Id: If98139264d5d97427b4685ecbdc54518f725bc43
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
/*
|
/*
|
||||||
* Asterisk -- An open source telephony toolkit.
|
* Asterisk -- An open source telephony toolkit.
|
||||||
*
|
*
|
||||||
* Copyright (C) 1999 - 2009, Digium, Inc.
|
* Copyright (C) 1999 - 2009, Digium, Inc.
|
||||||
@@ -625,7 +625,7 @@ struct ast_rtp_glue {
|
|||||||
enum ast_rtp_glue_result (*get_trtp_info)(struct ast_channel *chan, struct ast_rtp_instance **instance);
|
enum ast_rtp_glue_result (*get_trtp_info)(struct ast_channel *chan, struct ast_rtp_instance **instance);
|
||||||
/*! Callback for updating the destination that the remote side should send RTP to */
|
/*! Callback for updating the destination that the remote side should send RTP to */
|
||||||
int (*update_peer)(struct ast_channel *chan, struct ast_rtp_instance *instance, struct ast_rtp_instance *vinstance, struct ast_rtp_instance *tinstance, const struct ast_format_cap *cap, int nat_active);
|
int (*update_peer)(struct ast_channel *chan, struct ast_rtp_instance *instance, struct ast_rtp_instance *vinstance, struct ast_rtp_instance *tinstance, const struct ast_format_cap *cap, int nat_active);
|
||||||
/*! Callback for retrieving codecs that the channel can do. Result returned in result_cap*/
|
/*! Callback for retrieving codecs that the channel can do. Result returned in result_cap. */
|
||||||
void (*get_codec)(struct ast_channel *chan, struct ast_format_cap *result_cap);
|
void (*get_codec)(struct ast_channel *chan, struct ast_format_cap *result_cap);
|
||||||
/*! Linked list information */
|
/*! Linked list information */
|
||||||
AST_RWLIST_ENTRY(ast_rtp_glue) entry;
|
AST_RWLIST_ENTRY(ast_rtp_glue) entry;
|
||||||
@@ -1418,7 +1418,7 @@ unsigned int ast_rtp_lookup_sample_rate2(int asterisk_format, struct ast_format
|
|||||||
* \code
|
* \code
|
||||||
* struct ast_format_cap *astformats = ast_format_cap_alloc_nolock()
|
* struct ast_format_cap *astformats = ast_format_cap_alloc_nolock()
|
||||||
* int nonastformats;
|
* int nonastformats;
|
||||||
* ast_rtp_codecs_payload_formats(&codecs, &astformats, &nonastformats);
|
* ast_rtp_codecs_payload_formats(&codecs, astformats, &nonastformats);
|
||||||
* \endcode
|
* \endcode
|
||||||
*
|
*
|
||||||
* This retrieves all the formats known about in the codecs structure and puts the Asterisk ones in the integer
|
* This retrieves all the formats known about in the codecs structure and puts the Asterisk ones in the integer
|
||||||
@@ -1449,6 +1449,7 @@ void ast_rtp_codecs_payload_formats(struct ast_rtp_codecs *codecs, struct ast_fo
|
|||||||
* \since 1.8
|
* \since 1.8
|
||||||
*/
|
*/
|
||||||
int ast_rtp_codecs_payload_code(struct ast_rtp_codecs *codecs, int asterisk_format, const struct ast_format *format, int code);
|
int ast_rtp_codecs_payload_code(struct ast_rtp_codecs *codecs, int asterisk_format, const struct ast_format *format, int code);
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* \brief Search for a payload code in the ast_rtp_codecs structure
|
* \brief Search for a payload code in the ast_rtp_codecs structure
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user