Convert Vp8 Rtp headers to frame references.
R=stefan@webrtc.org, pbos@webrtc.org BUG=webrtc:5514 Review URL: https://codereview.webrtc.org/1847193003 . Cr-Commit-Position: refs/heads/master@{#12437}
This commit is contained in:
@ -16,7 +16,6 @@ namespace webrtc {
|
||||
namespace video_coding {
|
||||
|
||||
RtpFrameObject::RtpFrameObject(PacketBuffer* packet_buffer,
|
||||
uint16_t picture_id,
|
||||
uint16_t first_packet,
|
||||
uint16_t last_packet)
|
||||
: packet_buffer_(packet_buffer),
|
||||
@ -27,18 +26,14 @@ RtpFrameObject::~RtpFrameObject() {
|
||||
packet_buffer_->ReturnFrame(this);
|
||||
}
|
||||
|
||||
uint16_t RtpFrameObject::first_packet() const {
|
||||
uint16_t RtpFrameObject::first_seq_num() const {
|
||||
return first_packet_;
|
||||
}
|
||||
|
||||
uint16_t RtpFrameObject::last_packet() const {
|
||||
uint16_t RtpFrameObject::last_seq_num() const {
|
||||
return last_packet_;
|
||||
}
|
||||
|
||||
uint16_t RtpFrameObject::picture_id() const {
|
||||
return picture_id_;
|
||||
}
|
||||
|
||||
bool RtpFrameObject::GetBitstream(uint8_t* destination) const {
|
||||
return packet_buffer_->GetBitstream(*this, destination);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user