Welcome to the NetCologne GmbH open source mirroring service!

This machine mirrors various open-source projects. 20 Gbit/s uplink.

If there are any issues or you want another project mirrored, please contact mirror-service -=AT=- netcologne DOT de !

oRTP: include/ortp/ortp.h Source File
oRTP  0.24.0
ortp.h
Go to the documentation of this file.
1 /*
2  The oRTP library is an RTP (Realtime Transport Protocol - rfc3550) stack.
3  Copyright (C) 2001 Simon MORLAT simon.morlat@linphone.org
4 
5  This library is free software; you can redistribute it and/or
6  modify it under the terms of the GNU Lesser General Public
7  License as published by the Free Software Foundation; either
8  version 2.1 of the License, or (at your option) any later version.
9 
10  This library is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  Lesser General Public License for more details.
14 
15  You should have received a copy of the GNU Lesser General Public
16  License along with this library; if not, write to the Free Software
17  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 */
19 
64 #ifndef ORTP_H
65 #define ORTP_H
66 
67 #include "ortp/logging.h"
68 #include "ortp/rtpsession.h"
69 #include "ortp/sessionset.h"
70 
71 #ifdef __cplusplus
72 extern "C"
73 {
74 #endif
75 
76 ORTP_PUBLIC bool_t ortp_min_version_required(int major, int minor, int micro);
77 ORTP_PUBLIC void ortp_init(void);
78 ORTP_PUBLIC void ortp_scheduler_init(void);
79 ORTP_PUBLIC void ortp_exit(void);
80 
81 /****************/
82 /*statistics api*/
83 /****************/
84 
85 extern rtp_stats_t ortp_global_stats;
86 
87 ORTP_PUBLIC void ortp_global_stats_reset(void);
88 ORTP_PUBLIC rtp_stats_t *ortp_get_global_stats(void);
89 
90 ORTP_PUBLIC void ortp_global_stats_display(void);
91 ORTP_PUBLIC void rtp_stats_display(const rtp_stats_t *stats, const char *header);
92 ORTP_PUBLIC void rtp_stats_reset(rtp_stats_t *stats);
93 
94 #ifdef __cplusplus
95 }
96 #endif
97 
98 #endif
ORTP_PUBLIC void ortp_init(void)
Definition: ortp.c:72
Logging API.
ORTP_PUBLIC void ortp_scheduler_init(void)
Definition: ortp.c:93
ORTP_PUBLIC bool_t ortp_min_version_required(int major, int minor, int micro)
Definition: ortp.c:192
ORTP_PUBLIC void ortp_global_stats_display(void)
Definition: ortp.c:144
Definition: rtp.h:63
The RtpSession api.
ORTP_PUBLIC void ortp_exit(void)
Definition: ortp.c:117
Sending and receiving multiple streams together with only one thread.
ORTP_PUBLIC void rtp_stats_display(const rtp_stats_t *stats, const char *header)
Definition: ortp.c:155