41 #include "rtpconfig.h"
54 #ifdef RTP_SUPPORT_THREAD
56 #endif // RTP_SUPPORT_THREAD
108 void BYEDestroy(
const RTPTime &maxwaittime,
const void *reason,
size_t reasonlength);
149 uint8_t pt,
bool mark,uint32_t timestampinc);
158 uint16_t hdrextID,
const void *hdrextdata,
size_t numhdrextwords);
167 uint8_t pt,
bool mark,uint32_t timestampinc,
168 uint16_t hdrextID,
const void *hdrextdata,
size_t numhdrextwords);
169 #ifdef RTP_SUPPORT_SENDAPP
177 int SendRTCPAPPPacket(uint8_t subtype,
const uint8_t name[4],
const void *appdata,
size_t appdatalen);
178 #endif // RTP_SUPPORT_SENDAPP
426 void DumpTransmitter();
455 const uint8_t *cname,
size_t cnamelength) { }
491 #ifdef RTP_SUPPORT_THREAD
500 #endif // RTP_SUPPORT_THREAD
503 int CreateCNAME(uint8_t *buffer,
size_t *bufferlength,
bool resolve);
504 int ProcessPolledData();
509 bool deletetransmitter;
510 bool usingpollthread;
511 bool acceptownpackets;
512 bool useSR_BYEifpossible;
514 double sessionbandwidth;
515 double controlfragment;
516 double sendermultiplier;
517 double byemultiplier;
518 double membermultiplier;
519 double collisionmultiplier;
520 double notemultiplier;
523 RTPSessionSources sources;
529 std::list<RTCPCompoundPacket *> byepackets;
531 #ifdef RTP_SUPPORT_THREAD
532 RTPPollThread *pollthread;
533 JMutex sourcesmutex,buildermutex,schedmutex,packsentmutex;
535 friend class RTPPollThread;
536 #endif // RTP_SUPPORT_THREAD
537 friend class RTPSessionSources;
538 friend class RTCPSessionPacketBuilder;
541 #endif // RTPSESSION_H