UniMRCP
1.3.0
Main Page
Related Pages
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
libs
uni-rtsp
include
rtsp_stream.h
Go to the documentation of this file.
1
/*
2
* Copyright 2008-2014 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
* $Id: rtsp_stream.h 2136 2014-07-04 06:33:36Z achaloyan@gmail.com $
17
*/
18
19
#ifndef RTSP_STREAM_H
20
#define RTSP_STREAM_H
21
22
/**
23
* @file rtsp_stream.h
24
* @brief RTSP Stream Parser and Generator
25
*/
26
27
#include "
rtsp_message.h
"
28
#include "
apt_text_message.h
"
29
30
APT_BEGIN_EXTERN_C
31
32
/** Opaque RTSP parser declaration */
33
typedef
struct
rtsp_parser_t
rtsp_parser_t
;
34
/** Opaque RTSP generator declaration */
35
typedef
struct
rtsp_generator_t
rtsp_generator_t
;
36
37
38
/** Create RTSP stream parser */
39
RTSP_DECLARE
(
rtsp_parser_t
*)
rtsp_parser_create
(apr_pool_t *pool);
40
41
/** Parse RTSP stream */
42
RTSP_DECLARE
(
apt_message_status_e
)
rtsp_parser_run
(
rtsp_parser_t
*parser,
apt_text_stream_t
*stream,
rtsp_message_t
**message);
43
44
45
/** Create RTSP stream generator */
46
RTSP_DECLARE
(
rtsp_generator_t
*)
rtsp_generator_create
(apr_pool_t *pool);
47
48
/** Generate RTSP stream */
49
RTSP_DECLARE
(
apt_message_status_e
)
rtsp_generator_run
(
rtsp_generator_t
*generator,
rtsp_message_t
*message,
apt_text_stream_t
*stream);
50
51
52
APT_END_EXTERN_C
53
54
#endif
/* RTSP_STREAM_H */
Generated on Mon Feb 2 2015 19:41:39 for UniMRCP by
1.8.3.1