UniMRCP
1.5.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-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
28
APT_BEGIN_EXTERN_C
29
30
/** Opaque RTSP parser declaration */
31
typedef
struct
rtsp_parser_t
rtsp_parser_t
;
32
/** Opaque RTSP generator declaration */
33
typedef
struct
rtsp_generator_t
rtsp_generator_t
;
34
35
36
/** Create RTSP stream parser */
37
RTSP_DECLARE
(
rtsp_parser_t
*)
rtsp_parser_create
(apr_pool_t *pool);
38
39
/** Parse RTSP stream */
40
RTSP_DECLARE
(
apt_message_status_e
)
rtsp_parser_run
(
rtsp_parser_t
*parser,
apt_text_stream_t
*stream,
rtsp_message_t
**message);
41
42
43
/** Create RTSP stream generator */
44
RTSP_DECLARE
(
rtsp_generator_t
*)
rtsp_generator_create
(apr_pool_t *pool);
45
46
/** Generate RTSP stream */
47
RTSP_DECLARE
(
apt_message_status_e
)
rtsp_generator_run
(
rtsp_generator_t
*generator,
rtsp_message_t
*message,
apt_text_stream_t
*stream);
48
49
50
APT_END_EXTERN_C
51
52
#endif
/* RTSP_STREAM_H */
rtsp_parser_create
rtsp_parser_t * rtsp_parser_create(apr_pool_t *pool)
apt_text_stream_t
Definition:
apt_text_stream.h:43
apt_text_message.h
Text Message Interface (RFC5322)
APT_END_EXTERN_C
#define APT_END_EXTERN_C
Definition:
apt.h:38
rtsp_generator_create
rtsp_generator_t * rtsp_generator_create(apr_pool_t *pool)
rtsp_parser_t
typedefAPT_BEGIN_EXTERN_C struct rtsp_parser_t rtsp_parser_t
Definition:
rtsp_stream.h:31
rtsp_generator_t
struct rtsp_generator_t rtsp_generator_t
Definition:
rtsp_stream.h:33
APT_BEGIN_EXTERN_C
#define APT_BEGIN_EXTERN_C
Definition:
apt.h:36
rtsp_message_t
Definition:
rtsp_message.h:34
rtsp_parser_run
apt_message_status_e rtsp_parser_run(rtsp_parser_t *parser, apt_text_stream_t *stream, rtsp_message_t **message)
RTSP_DECLARE
#define RTSP_DECLARE(type)
Definition:
rtsp.h:41
rtsp_message.h
RTSP Message Definition.
apt_message_status_e
apt_message_status_e
Definition:
apt_text_message.h:31
rtsp_generator_run
apt_message_status_e rtsp_generator_run(rtsp_generator_t *generator, rtsp_message_t *message, apt_text_stream_t *stream)
Generated on Tue Aug 22 2017 10:11:48 for UniMRCP by
1.8.6