2
0

media_monitor.h 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. /*
  2. * SpanDSP - a series of DSP components for telephony
  3. *
  4. * media_monitor.h - Display IP streaming media status, using the FLTK toolkit.
  5. *
  6. * Written by Steve Underwood <steveu@coppice.org>
  7. *
  8. * Copyright (C) 2007 Steve Underwood
  9. *
  10. * All rights reserved.
  11. *
  12. * This program is free software; you can redistribute it and/or modify
  13. * it under the terms of the GNU General Public License version 2, as
  14. * published by the Free Software Foundation.
  15. *
  16. * This program is distributed in the hope that it will be useful,
  17. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  18. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  19. * GNU General Public License for more details.
  20. *
  21. * You should have received a copy of the GNU General Public License
  22. * along with this program; if not, write to the Free Software
  23. * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  24. */
  25. /*! \page media_monitor_page IP streaming media performance monitoring
  26. \section media_monitor_page_sec_1 What does it do?
  27. This code controls a GUI window, which provides monitoring of the status
  28. of an IP media stream. It shows, graphically:
  29. \section media_monitor_page_sec_2 How does it work?
  30. This code uses the FLTK cross platform GUI toolkit. It works on X11 and Windows platforms.
  31. In addition to the basic FLTK toolkit, fltk_cartesian is also required.
  32. */
  33. #if !defined(_MEDIA_MONITOR_H_)
  34. #define _MEDIA_MONITOR_H_
  35. #if defined(__cplusplus)
  36. extern "C"
  37. {
  38. #endif
  39. int start_media_monitor(void);
  40. void media_monitor_rx(int seq_no, double departure_time, double arrival_time);
  41. void media_monitor_wait_to_end(void);
  42. void media_monitor_update_display(void);
  43. #if defined(__cplusplus)
  44. }
  45. #endif
  46. #endif
  47. /*- End of file ------------------------------------------------------------*/