Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
BC
public
mediastreamer2
Commits
9d21be1b
Commit
9d21be1b
authored
Feb 22, 2013
by
Ghislain MARY
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix some symbol exports.
parent
841c656e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
23 deletions
+24
-23
src/voip/private.h
src/voip/private.h
+15
-1
tester/mediastreamer2_dtmfgen_tester.c
tester/mediastreamer2_dtmfgen_tester.c
+1
-0
tester/mediastreamer2_tester.h
tester/mediastreamer2_tester.h
+8
-22
No files found.
src/voip/private.h
View file @
9d21be1b
...
...
@@ -24,12 +24,26 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include "mediastreamer2/mediastream.h"
#if defined(WIN32) || defined(_WIN32) || defined(__WIN32) || defined(__WIN32__)
#ifdef MEDIASTREAMER2_INTERNAL_EXPORTS
#define MEDIASTREAMER2_INTERNAL_EXPORT __declspec(dllexport)
#define MEDIASTREAMER2_INTERNAL_VAR_EXPORT __declspec(dllexport)
#else
#define MEDIASTREAMER2_INTERNAL_EXPORT
#define MEDIASTREAMER2_INTERNAL_VAR_EXPORT extern __declspec(dllimport)
#endif
#else
#define MEDIASTREAMER2_INTERNAL_EXPORT extern
#define MEDIASTREAMER2_INTERNAL_VAR_EXPORT extern
#endif
#define MAX_RTP_SIZE UDP_MAX_SIZE
MSTickerPrio
__ms_get_default_prio
(
bool_t
is_video
);
RtpSession
*
create_duplex_rtpsession
(
int
loc_rtp_port
,
int
loc_rtcp_port
,
bool_t
ipv6
);
MEDIASTREAMER2_INTERNAL_EXPORT
RtpSession
*
create_duplex_rtpsession
(
int
loc_rtp_port
,
int
loc_rtcp_port
,
bool_t
ipv6
);
void
start_ticker
(
MediaStream
*
stream
);
...
...
tester/mediastreamer2_dtmfgen_tester.c
View file @
9d21be1b
...
...
@@ -210,6 +210,7 @@ static void dtmfgen_rtp(void) {
ms_filter_destroy
(
rtprecv
);
ms_filter_destroy
(
decoder
);
ms_filter_destroy
(
encoder
);
rtp_session_destroy
(
rtps
);
common_uninit
();
}
...
...
tester/mediastreamer2_tester.h
View file @
9d21be1b
...
...
@@ -21,20 +21,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#define _MEDIASTREAMER2_TESTER_H
#if defined(WIN32) || defined(_WIN32) || defined(__WIN32) || defined(__WIN32__)
#ifdef MEDIASTREAMER2_TESTER_EXPORTS
#define MEDIASTREAMER2_TESTER_EXPORT __declspec(dllexport)
#define MEDIASTREAMER2_TESTER_VAR_EXPORT __declspec(dllexport)
#else
#define MEDIASTREAMER2_TESTER_EXPORT
#define MEDIASTREAMER2_TESTER_VAR_EXPORT extern __declspec(dllimport)
#endif
#else
#define MEDIASTREAMER2_TESTER_EXPORT extern
#define MEDIASTREAMER2_TESTER_VAR_EXPORT extern
#endif
typedef
void
(
*
test_function_t
)(
void
);
typedef
int
(
*
test_suite_function_t
)(
const
char
*
name
);
...
...
@@ -54,16 +40,16 @@ typedef struct {
extern
"C"
{
#endif
MEDIASTREAMER2_TESTER_VAR_EXPORT
test_suite_t
dtmfgen_test_suite
;
extern
test_suite_t
dtmfgen_test_suite
;
MEDIASTREAMER2_TESTER_EXPORT
int
mediastreamer2_tester_nb_test_suites
(
void
);
MEDIASTREAMER2_TESTER_EXPORT
int
mediastreamer2_tester_nb_tests
(
const
char
*
suite_name
);
MEDIASTREAMER2_TESTER_EXPORT
const
char
*
mediastreamer2_tester_test_suite_name
(
int
suite_index
);
MEDIASTREAMER2_TESTER_EXPORT
const
char
*
mediastreamer2_tester_test_name
(
const
char
*
suite_name
,
int
test_index
);
MEDIASTREAMER2_TESTER_EXPORT
void
mediastreamer2_tester_init
(
void
);
MEDIASTREAMER2_TESTER_EXPORT
void
mediastreamer2_tester_uninit
(
void
);
MEDIASTREAMER2_TESTER_EXPORT
int
mediastreamer2_tester_run_tests
(
const
char
*
suite_name
,
const
char
*
test_name
);
extern
int
mediastreamer2_tester_nb_test_suites
(
void
);
extern
int
mediastreamer2_tester_nb_tests
(
const
char
*
suite_name
);
extern
const
char
*
mediastreamer2_tester_test_suite_name
(
int
suite_index
);
extern
const
char
*
mediastreamer2_tester_test_name
(
const
char
*
suite_name
,
int
test_index
);
extern
void
mediastreamer2_tester_init
(
void
);
extern
void
mediastreamer2_tester_uninit
(
void
);
extern
int
mediastreamer2_tester_run_tests
(
const
char
*
suite_name
,
const
char
*
test_name
);
#ifdef __cplusplus
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment