diff options
author | Joshua Colp <jcolp@digium.com> | 2017-07-26 08:20:35 -0500 |
---|---|---|
committer | Gerrit Code Review <gerrit2@gerrit.digium.api> | 2017-07-26 08:20:35 -0500 |
commit | 8412cc1e072a6f608473e98ef4b1366aea6e8549 (patch) | |
tree | ba1adcfdab54af95288293bb6c2152412dce99c8 /include/asterisk/stream.h | |
parent | 8c6dcbcc6e99078f55e077cc3493c44416e31552 (diff) | |
parent | 3a18a090309271420516ea345ec32c7afa9b332b (diff) |
Merge "SDP: Rework SDP offer/answer model and update capabilities merges."
Diffstat (limited to 'include/asterisk/stream.h')
-rw-r--r-- | include/asterisk/stream.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/asterisk/stream.h b/include/asterisk/stream.h index 4027231ed..2c1053a7b 100644 --- a/include/asterisk/stream.h +++ b/include/asterisk/stream.h @@ -228,6 +228,17 @@ void ast_stream_set_state(struct ast_stream *stream, enum ast_stream_state state const char *ast_stream_state2str(enum ast_stream_state state); /*! + * \brief Convert a string to a stream state + * + * \param str The string to convert + * + * \return The stream state + * + * \since 15.0.0 + */ +enum ast_stream_state ast_stream_str2state(const char *str); + +/*! * \brief Get the opaque stream data * * \param stream The media stream |