Revision 5e9e29e0 plugins/janus_echotest.c

View differences:

plugins/janus_echotest.c
28 28

  
29 29
#include "../config.h"
30 30
#include "../rtcp.h"
31
#include "../utils.h"
31 32

  
32 33

  
33 34
/* Plugin information */
......
418 419
			if(!strcasecmp(msg->sdp_type, "answer"))
419 420
				type = "offer";
420 421
			/* How long will the gateway take to push the event? */
421
			gint64 start = g_get_monotonic_time();
422
			gint64 start = janus_get_monotonic_time();
422 423
			int res = gateway->push_event(msg->handle, &janus_echotest_plugin, msg->transaction, event_text, type, msg->sdp);
423 424
			JANUS_PRINT("  >> Pushing event: %d (took %"SCNu64" ms)\n",
424
				res, g_get_monotonic_time()-start);
425
				res, janus_get_monotonic_time()-start);
425 426
		}
426 427
		continue;
427 428
		

Also available in: Unified diff