mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 19:28:53 +00:00
Merge "bridging: Add better support for adding/removing streams."
This commit is contained in:
@@ -215,6 +215,12 @@ typedef unsigned long long ast_group_t;
|
||||
|
||||
struct ast_stream_topology;
|
||||
|
||||
/*!
|
||||
* \brief Set as the change source reason when a channel stream topology has
|
||||
* been changed externally as a result of the remote side renegotiating.
|
||||
*/
|
||||
static const char ast_stream_topology_changed_external[] = "external";
|
||||
|
||||
/*! \todo Add an explanation of an Asterisk generator
|
||||
*/
|
||||
struct ast_generator {
|
||||
@@ -5025,6 +5031,20 @@ int ast_channel_request_stream_topology_change(struct ast_channel *chan,
|
||||
*/
|
||||
int ast_channel_stream_topology_changed(struct ast_channel *chan, struct ast_stream_topology *topology);
|
||||
|
||||
/*!
|
||||
* \brief Provide notice from a channel that the topology has changed on it as a result
|
||||
* of the remote party renegotiating.
|
||||
*
|
||||
* \param chan The channel to provide notice from
|
||||
*
|
||||
* \retval 0 success
|
||||
* \retval -1 failure
|
||||
*
|
||||
* \note This interface is provided for channels to provide notice that a topology change
|
||||
* has occurred as a result of a remote party renegotiating the stream topology.
|
||||
*/
|
||||
int ast_channel_stream_topology_changed_externally(struct ast_channel *chan);
|
||||
|
||||
/*!
|
||||
* \brief Retrieve the source that initiated the last stream topology change
|
||||
*
|
||||
|
Reference in New Issue
Block a user