UniMRCP  1.7.0
rtsp_stream.h
Go to the documentation of this file.
1 /*
2  * Copyright 2008-2015 Arsen Chaloyan
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 #ifndef RTSP_STREAM_H
18 #define RTSP_STREAM_H
19 
20 /**
21  * @file rtsp_stream.h
22  * @brief RTSP Stream Parser and Generator
23  */
24 
25 #include "rtsp_message.h"
26 #include "apt_text_message.h"
27 
29 
30 /** Opaque RTSP parser declaration */
32 /** Opaque RTSP generator declaration */
34 
35 
36 /** Create RTSP stream parser */
38 
39 /** Parse RTSP stream */
41 
42 
43 /** Create RTSP stream generator */
45 
46 /** Generate RTSP stream */
48 
49 
51 
52 #endif /* RTSP_STREAM_H */
rtsp_parser_t * rtsp_parser_create(apr_pool_t *pool)
Definition: apt_text_stream.h:43
Text Message Interface (RFC5322)
#define APT_END_EXTERN_C
Definition: apt.h:38
rtsp_generator_t * rtsp_generator_create(apr_pool_t *pool)
typedefAPT_BEGIN_EXTERN_C struct rtsp_parser_t rtsp_parser_t
Definition: rtsp_stream.h:31
struct rtsp_generator_t rtsp_generator_t
Definition: rtsp_stream.h:33
#define APT_BEGIN_EXTERN_C
Definition: apt.h:36
Definition: rtsp_message.h:34
apt_message_status_e rtsp_parser_run(rtsp_parser_t *parser, apt_text_stream_t *stream, rtsp_message_t **message)
#define RTSP_DECLARE(type)
Definition: rtsp.h:41
RTSP Message Definition.
apt_message_status_e
Definition: apt_text_message.h:31
apt_message_status_e rtsp_generator_run(rtsp_generator_t *generator, rtsp_message_t *message, apt_text_stream_t *stream)