rtp.h 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. /*
  2. * rtp socket communication include file
  3. *
  4. * initially contributed by Felix von Leitner
  5. *
  6. * Copyright (c) 2000 Mark Taylor
  7. * 2010 Robert Hegemann
  8. *
  9. * This library is free software; you can redistribute it and/or
  10. * modify it under the terms of the GNU Library General Public
  11. * License as published by the Free Software Foundation; either
  12. * version 2 of the License, or (at your option) any later version.
  13. *
  14. * This library is distributed in the hope that it will be useful,
  15. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  16. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  17. * Library General Public License for more details.
  18. *
  19. * You should have received a copy of the GNU Library General Public
  20. * License along with this library; if not, write to the
  21. * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
  22. * Boston, MA 02111-1307, USA.
  23. */
  24. #ifndef LAME_RTP_H
  25. #define LAME_RTP_H
  26. #if defined(__cplusplus)
  27. extern "C" {
  28. #endif
  29. struct RtpStruct;
  30. typedef struct RtpStruct *RtpHandle;
  31. void rtp_initialization(void);
  32. void rtp_deinitialization(void);
  33. int rtp_socket( /*RtpHandle rtp, */ char const *Address, unsigned int port,
  34. unsigned int TTL);
  35. void rtp_output( /*RtpHandle rtp, */ unsigned char const *mp3buffer, int mp3size);
  36. #if defined(__cplusplus)
  37. }
  38. #endif
  39. #endif