25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

10 ay önce
12345678910111213141516171819202122
  1. #ifndef _rtp_queue_h_
  2. #define _rtp_queue_h_
  3. #include "rtp-packet.h"
  4. #if defined(__cplusplus)
  5. extern "C" {
  6. #endif
  7. typedef struct rtp_queue_t rtp_queue_t;
  8. rtp_queue_t* rtp_queue_create(int threshold, int frequency, void (*freepkt)(void*, struct rtp_packet_t*), void* param);
  9. int rtp_queue_destroy(rtp_queue_t* queue);
  10. /// @return 1-ok, 0-discard, <0-error
  11. int rtp_queue_write(rtp_queue_t* queue, struct rtp_packet_t* pkt);
  12. struct rtp_packet_t* rtp_queue_read(rtp_queue_t* queue);
  13. #if defined(__cplusplus)
  14. }
  15. #endif
  16. #endif /* !_rtp_queue_h_ */