class Config;
class CriticalSectionWrapper;
class EncodedImageCallback;
-class Encryption;
class I420FrameCallback;
class PacedSender;
class ProcessThread;
void RegisterReceiveChannelRtpStatisticsCallback(
StreamDataCountersCallback* callback);
+ void GetRtcpPacketTypeCounters(RtcpPacketTypeCounter* packets_sent,
+ RtcpPacketTypeCounter* packets_received) const;
+
void GetBandwidthUsage(uint32_t* total_bitrate_sent,
uint32_t* video_bitrate_sent,
uint32_t* fec_bitrate_sent,
uint32_t* nackBitrateSent) const;
bool GetSendSideDelay(int* avg_send_delay, int* max_send_delay) const;
- void GetEstimatedReceiveBandwidth(uint32_t* estimated_bandwidth) const;
+ void GetReceiveBandwidthEstimatorStats(
+ ReceiveBandwidthEstimatorStats* output) const;
// Called on any new send bitrate estimate.
void RegisterSendBitrateObserver(BitrateStatisticsObserver* observer);
virtual int32_t ResendPackets(const uint16_t* sequence_numbers,
uint16_t length);
- int32_t RegisterExternalEncryption(Encryption* encryption);
- int32_t DeRegisterExternalEncryption();
-
int32_t SetVoiceChannel(int32_t ve_channel_id,
VoEVideoSync* ve_sync_interface);
int32_t VoiceChannel();
void RegisterSendFrameCountObserver(FrameCountObserver* observer);
+ void ReceivedBWEPacket(int64_t arrival_time_ms, int payload_size,
+ const RTPHeader& header);
+
protected:
static bool ChannelDecodeThreadFunction(void* obj);
bool ChannelDecodeProcess();
bool wait_for_key_frame_;
ThreadWrapper* decode_thread_;
- Encryption* external_encryption_;
-
ViEEffectFilter* effect_filter_;
bool color_enhancement_;