Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
parser.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2019 Roc Streaming authors
3  *
4  * This Source Code Form is subject to the terms of the Mozilla Public
5  * License, v. 2.0. If a copy of the MPL was not distributed with this
6  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
7  */
8 
9 //! @file roc_sdp/parser.h
10 //! @brief Parser for the Session Description Protocol.
11 
12 #ifndef ROC_SDP_PARSER_H_
13 #define ROC_SDP_PARSER_H_
14 
16 
17 namespace roc {
18 namespace sdp {
19 
20 //! Parse SDP session description from string.
21 bool parse_sdp(const char* str, SessionDescription& result);
22 
23 } // namespace sdp
24 } // namespace roc
25 
26 #endif // ROC_SDP_PARSER_H_
SDP session description.
bool parse_sdp(const char *str, SessionDescription &result)
Parse SDP session description from string.
Root namespace.
Session Description Protocol.