diff options
author | Joshua Colp <jcolp@digium.com> | 2017-03-01 14:58:45 -0600 |
---|---|---|
committer | Gerrit Code Review <gerrit2@gerrit.digium.api> | 2017-03-01 14:58:45 -0600 |
commit | fb11f038a39c09f83065b3d4afd55186e00199b3 (patch) | |
tree | 58ee128551560ed2d7f94c33e7bf1b420edf9166 /include/asterisk | |
parent | 9b0e142a6aa08191015301b2ab5ab0ca0e7fb505 (diff) | |
parent | 0560c32375a5edd110d544f5762edb6f1fb0f005 (diff) |
Merge "stream: Unit tests for stream read and tweaks framework"
Diffstat (limited to 'include/asterisk')
-rw-r--r-- | include/asterisk/channel.h | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/include/asterisk/channel.h b/include/asterisk/channel.h index f6e09252f..3ae1e2fd4 100644 --- a/include/asterisk/channel.h +++ b/include/asterisk/channel.h @@ -911,10 +911,6 @@ enum { * world */ AST_CHAN_TP_INTERNAL = (1 << 2), - /*! - * \brief Channels with this particular technology support multiple simultaneous streams - */ - AST_CHAN_TP_MULTISTREAM = (1 << 3), }; /*! \brief ast_channel flags */ @@ -4843,4 +4839,15 @@ struct ast_stream_topology *ast_channel_set_stream_topology( */ struct ast_stream *ast_channel_get_default_stream(struct ast_channel *chan, enum ast_media_type type); +/*! + * \brief Determine if a channel is multi-stream capable + * + * \param channel The channel to test + * + * \pre chan is locked + * + * \return Returns true if the channel is multi-stream capable. + */ +int ast_channel_is_multistream(struct ast_channel *chan); + #endif /* _ASTERISK_CHANNEL_H */ |