Change JitterBuffer::GetNackList to return a std::vector<uint16_t>.
This fixed the problem with returning a pointer to an internal buffer of a JitterBuffer. R=stefan@webrtc.org BUG=none TEST=none Review URL: https://webrtc-codereview.appspot.com/53639004 Cr-Commit-Position: refs/heads/master@{#9365}
This commit is contained in:
@ -23,11 +23,6 @@ namespace webrtc {
|
||||
class Clock;
|
||||
class VCMEncodedFrame;
|
||||
|
||||
enum VCMNackStatus {
|
||||
kNackOk,
|
||||
kNackKeyFrameRequest
|
||||
};
|
||||
|
||||
class VCMReceiver {
|
||||
public:
|
||||
VCMReceiver(VCMTiming* timing,
|
||||
@ -55,8 +50,7 @@ class VCMReceiver {
|
||||
int max_packet_age_to_nack,
|
||||
int max_incomplete_time_ms);
|
||||
VCMNackMode NackMode() const;
|
||||
VCMNackStatus NackList(uint16_t* nackList, uint16_t size,
|
||||
uint16_t* nack_list_length);
|
||||
std::vector<uint16_t> NackList(bool* request_key_frame);
|
||||
|
||||
// Receiver video delay.
|
||||
int SetMinReceiverDelay(int desired_delay_ms);
|
||||
|
||||
Reference in New Issue
Block a user