00001 /* 00002 * SpanDSP - a series of DSP components for telephony 00003 * 00004 * media_monitor.h - Display IP streaming media status, using the FLTK toolkit. 00005 * 00006 * Written by Steve Underwood <steveu@coppice.org> 00007 * 00008 * Copyright (C) 2007 Steve Underwood 00009 * 00010 * All rights reserved. 00011 * 00012 * This program is free software; you can redistribute it and/or modify 00013 * it under the terms of the GNU General Public License version 2, as 00014 * published by the Free Software Foundation. 00015 * 00016 * This program is distributed in the hope that it will be useful, 00017 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00018 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00019 * GNU General Public License for more details. 00020 * 00021 * You should have received a copy of the GNU General Public License 00022 * along with this program; if not, write to the Free Software 00023 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 00024 * 00025 * $Id: media_monitor.h,v 1.6 2008/04/26 13:39:17 steveu Exp $ 00026 */ 00027 00028 /*! \page media_monitor_page IP streaming media performance monitoring 00029 \section media_monitor_page_sec_1 What does it do? 00030 This code controls a GUI window, which provides monitoring of the status 00031 of an IP media stream. It shows, graphically: 00032 00033 \section media_monitor_page_sec_2 How does it work? 00034 This code uses the FLTK cross platform GUI toolkit. It works on X11 and Windows platforms. 00035 In addition to the basic FLTK toolkit, fltk_cartesian is also required. 00036 */ 00037 00038 #if !defined(_MEDIA_MONITOR_H_) 00039 #define _MEDIA_MONITOR_H_ 00040 00041 #if defined(__cplusplus) 00042 extern "C" 00043 { 00044 #endif 00045 00046 int start_media_monitor(void); 00047 void media_monitor_rx(int seq_no, double departure_time, double arrival_time); 00048 void media_monitor_wait_to_end(void); 00049 void media_monitor_update_display(void); 00050 00051 #if defined(__cplusplus) 00052 } 00053 #endif 00054 00055 #endif 00056 /*- End of file ------------------------------------------------------------*/