UniMRCP  1.7.0
mpf_rtp_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 MPF_RTP_STREAM_H
18 #define MPF_RTP_STREAM_H
19 
20 /**
21  * @file mpf_rtp_stream.h
22  * @brief MPF RTP Stream
23  */
24 
25 #include "mpf_stream.h"
26 #include "mpf_rtp_descriptor.h"
27 
29 
30 /**
31  * Create RTP stream.
32  * @param termination the back pointer to hold
33  * @param config the configuration of RTP factory
34  * @param settings the settings to use
35  * @param pool the pool to allocate memory from
36  */
38 
39 /**
40  * Add/enable RTP stream.
41  * @param stream RTP stream to add
42  */
44 
45 /**
46  * Subtract/disable RTP stream.
47  * @param stream RTP stream to subtract
48  */
50 
51 /**
52  * Modify RTP stream.
53  * @param stream RTP stream to modify
54  * @param descriptor the descriptor to modify stream according
55  */
57 
59 
60 #endif /* MPF_RTP_STREAM_H */
Definition: mpf_stream.h:37
Definition: mpf_rtp_descriptor.h:73
Definition: mpf_termination.h:51
Definition: mpf_rtp_descriptor.h:128
MPF Bidirectional Stream.
#define APT_END_EXTERN_C
Definition: apt.h:38
apt_bool_t mpf_rtp_stream_remove(mpf_audio_stream_t *stream)
int apt_bool_t
Definition: apt.h:57
Definition: mpf_rtp_descriptor.h:114
APT_BEGIN_EXTERN_C mpf_audio_stream_t * mpf_rtp_stream_create(mpf_termination_t *termination, mpf_rtp_config_t *config, mpf_rtp_settings_t *settings, apr_pool_t *pool)
#define MPF_DECLARE(type)
Definition: mpf.h:40
#define APT_BEGIN_EXTERN_C
Definition: apt.h:36
apt_bool_t mpf_rtp_stream_modify(mpf_audio_stream_t *stream, mpf_rtp_stream_descriptor_t *descriptor)
apt_bool_t mpf_rtp_stream_add(mpf_audio_stream_t *stream)
MPF RTP Stream Descriptor.