linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Linphone-developers] mediastreamer2 patch


From: Austin Foxley
Subject: [Linphone-developers] mediastreamer2 patch
Date: Mon, 04 Dec 2006 23:13:57 -0800
User-agent: Thunderbird 1.5.0.8 (X11/20061107)

patch to allow for c++ projects to use mediastreamer2

--
Austin Foxley
Ceton Corporation
4030 Lake Washington Blvd NE, Suite 208
Kirkland, WA 98033

Cell:    425.205.9951
Office:    425.828.0515
Fax:    206.299.3536

--- include/mediastreamer2/mediastream.h        2006-12-04 23:07:26.000000000 
-0800
+++ /home/austinf/mediastream.h 2006-12-04 15:08:24.000000000 -0800
@@ -52,6 +52,9 @@
 
 typedef struct _RingStream RingStream;
 
+#ifndef __cplusplus
+extern "C" {
+#endif
 
 /* start a thread that does 
sampling->encoding->rtp_sending|rtp_receiving->decoding->playing */
 AudioStream *audio_stream_start (RtpProfile * prof, int locport, const char 
*remip,
@@ -121,5 +124,9 @@
 
 void video_stream_send_only_stop(VideoStream *stream);
 
+#ifndef __cplusplus
+}
+#endif
+
 
 #endif

reply via email to

[Prev in Thread] Current Thread [Next in Thread]