virtual ~RtpReceiverImpl();
- RTPReceiverStrategy* GetMediaReceiver() const;
-
- int32_t RegisterReceivePayload(
+ virtual int32_t RegisterReceivePayload(
const char payload_name[RTP_PAYLOAD_NAME_SIZE],
const int8_t payload_type,
const uint32_t frequency,
const uint8_t channels,
- const uint32_t rate);
+ const uint32_t rate) OVERRIDE;
- int32_t DeRegisterReceivePayload(const int8_t payload_type);
+ virtual int32_t DeRegisterReceivePayload(const int8_t payload_type) OVERRIDE;
- bool IncomingRtpPacket(
+ virtual bool IncomingRtpPacket(
const RTPHeader& rtp_header,
const uint8_t* payload,
int payload_length,
PayloadUnion payload_specific,
- bool in_order);
+ bool in_order) OVERRIDE;
- NACKMethod NACK() const;
+ virtual NACKMethod NACK() const OVERRIDE;
// Turn negative acknowledgement requests on/off.
- void SetNACKStatus(const NACKMethod method);
+ virtual void SetNACKStatus(const NACKMethod method) OVERRIDE;
// Returns the last received timestamp.
- bool Timestamp(uint32_t* timestamp) const;
- bool LastReceivedTimeMs(int64_t* receive_time_ms) const;
-
- uint32_t SSRC() const;
-
- int32_t CSRCs(uint32_t array_of_csrc[kRtpCsrcSize]) const;
+ virtual bool Timestamp(uint32_t* timestamp) const OVERRIDE;
+ virtual bool LastReceivedTimeMs(int64_t* receive_time_ms) const OVERRIDE;
- int32_t Energy(uint8_t array_of_energy[kRtpCsrcSize]) const;
+ virtual uint32_t SSRC() const OVERRIDE;
- // RTX.
- void SetRTXStatus(bool enable, uint32_t ssrc);
+ virtual int32_t CSRCs(uint32_t array_of_csrc[kRtpCsrcSize]) const OVERRIDE;
- void RTXStatus(bool* enable, uint32_t* ssrc, int* payload_type) const;
+ virtual int32_t Energy(uint8_t array_of_energy[kRtpCsrcSize]) const OVERRIDE;
- void SetRtxPayloadType(int payload_type);
-
- TelephoneEventHandler* GetTelephoneEventHandler();
+ virtual TelephoneEventHandler* GetTelephoneEventHandler() OVERRIDE;
private:
bool HaveReceivedFrame() const;
- RtpVideoCodecTypes VideoCodecType() const;
-
void CheckSSRCChanged(const RTPHeader& rtp_header);
void CheckCSRC(const WebRtcRTPHeader& rtp_header);
int32_t CheckPayloadChanged(const RTPHeader& rtp_header,