Prepare for splitting FrameType into AudioFrameType and VideoFrameType
This cl deprecates the FrameType enum, and adds aliases AudioFrameType and VideoFrameType. After downstream usage is updated, the enums will be separated and be moved out of common_types.h. Bug: webrtc:6883 Change-Id: I2aaf660169da45f22574b4cbb16aea8522cc07a6 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/123184 Commit-Queue: Niels Moller <nisse@webrtc.org> Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Cr-Commit-Position: refs/heads/master@{#27011}
This commit is contained in:
@ -36,7 +36,7 @@ class RtpFrameObject : public EncodedFrame {
|
||||
uint16_t first_seq_num() const;
|
||||
uint16_t last_seq_num() const;
|
||||
int times_nacked() const;
|
||||
enum FrameType frame_type() const;
|
||||
VideoFrameType frame_type() const;
|
||||
VideoCodecType codec_type() const;
|
||||
int64_t ReceivedTime() const override;
|
||||
int64_t RenderTime() const override;
|
||||
@ -49,7 +49,7 @@ class RtpFrameObject : public EncodedFrame {
|
||||
void AllocateBitstreamBuffer(size_t frame_size);
|
||||
|
||||
rtc::scoped_refptr<PacketBuffer> packet_buffer_;
|
||||
enum FrameType frame_type_;
|
||||
VideoFrameType frame_type_;
|
||||
VideoCodecType codec_type_;
|
||||
uint16_t first_seq_num_;
|
||||
uint16_t last_seq_num_;
|
||||
|
Reference in New Issue
Block a user