Make RtpData and RtpFeedback destructors public.
R=mflodman@webrtc.org Review URL: https://webrtc-codereview.appspot.com/2399004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@4965 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
266c7b330a
commit
e5021fe590
@ -191,6 +191,8 @@ typedef std::list<RTCPReportBlock> ReportBlockList;
|
||||
class RtpData
|
||||
{
|
||||
public:
|
||||
virtual ~RtpData() {}
|
||||
|
||||
virtual int32_t OnReceivedPayloadData(
|
||||
const uint8_t* payloadData,
|
||||
const uint16_t payloadSize,
|
||||
@ -198,8 +200,6 @@ public:
|
||||
|
||||
virtual bool OnRecoveredPacket(const uint8_t* packet,
|
||||
int packet_length) = 0;
|
||||
protected:
|
||||
virtual ~RtpData() {}
|
||||
};
|
||||
|
||||
class RtcpFeedback
|
||||
@ -225,6 +225,8 @@ protected:
|
||||
class RtpFeedback
|
||||
{
|
||||
public:
|
||||
virtual ~RtpFeedback() {}
|
||||
|
||||
// Receiving payload change or SSRC change. (return success!)
|
||||
/*
|
||||
* channels - number of channels in codec (1 = mono, 2 = stereo)
|
||||
@ -245,9 +247,6 @@ public:
|
||||
const bool added) = 0;
|
||||
|
||||
virtual void ResetStatistics(uint32_t ssrc) = 0;
|
||||
|
||||
protected:
|
||||
virtual ~RtpFeedback() {}
|
||||
};
|
||||
|
||||
class RtpAudioFeedback {
|
||||
|
Loading…
x
Reference in New Issue
Block a user