_loadGenerator(NULL),
_isSender(false),
_isReceiver(false),
-_timeOut(false),
_sendRecCB(NULL),
_lastBytesReceived(0),
_lastTime(-1)
}
-void TestSenderReceiver::OnPacketTimeout(const int32_t id)
-{
- CriticalSectionScoped lock(_critSect);
-
- _timeOut = true;
-}
-
-
-void TestSenderReceiver::OnReceivedPacket(const int32_t id,
- const RtpRtcpPacketType packetType)
-{
- // do nothing
- //printf("OnReceivedPacket\n");
-
-}
-
int32_t TestSenderReceiver::OnReceivedPayloadData(const uint8_t* payloadData,
const uint16_t payloadSize,
const webrtc::WebRtcRTPHeader* rtpHeader)