mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-04-26 02:58:34 +00:00
fix for Windows Mobile
git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@139 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
This commit is contained in:
parent
6b94c159d9
commit
6d70806e8a
2 changed files with 15 additions and 1 deletions
|
|
@ -119,6 +119,20 @@ RtpSession * create_duplex_rtpsession( int locport, bool_t ipv6){
|
||||||
return rtpr;
|
return rtpr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if defined(_WIN32_WCE)
|
||||||
|
time_t
|
||||||
|
time (time_t *t)
|
||||||
|
{
|
||||||
|
DWORD timemillis = GetTickCount();
|
||||||
|
if (timemillis>0)
|
||||||
|
{
|
||||||
|
if (t!=NULL)
|
||||||
|
*t = timemillis/1000;
|
||||||
|
}
|
||||||
|
return timemillis/1000;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
bool_t audio_stream_alive(AudioStream * stream, int timeout){
|
bool_t audio_stream_alive(AudioStream * stream, int timeout){
|
||||||
RtpSession *session=stream->session;
|
RtpSession *session=stream->session;
|
||||||
const rtp_stats_t *stats=rtp_session_get_stats(session);
|
const rtp_stats_t *stats=rtp_session_get_stats(session);
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
#include "mediastreamer2/mscommon.h"
|
#include "mediastreamer2/mscommon.h"
|
||||||
|
|
||||||
|
|
||||||
#if defined(WIN32)
|
#if defined(WIN32) && !defined(_WIN32_WCE)
|
||||||
|
|
||||||
HINSTANCE m_IcmpInst = NULL;
|
HINSTANCE m_IcmpInst = NULL;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue