Remove deprecated API methods in video pipeline
Bug: none Change-Id: I3c3d493f9e14a93868c86fa94ef7269126bd9877 Reviewed-on: https://webrtc-review.googlesource.com/80482 Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Commit-Queue: Ilya Nikolaevskiy <ilnik@webrtc.org> Cr-Commit-Position: refs/heads/master@{#23514}
This commit is contained in:
parent
ab55c34ef1
commit
3a79a9a290
@ -28,7 +28,7 @@ TimingFrameInfo::TimingFrameInfo()
|
||||
decode_start_ms(-1),
|
||||
decode_finish_ms(-1),
|
||||
render_time_ms(-1),
|
||||
flags(TimingFrameFlags::kDefault) {}
|
||||
flags(TimingFrameFlags::kNotTriggered) {}
|
||||
|
||||
int64_t TimingFrameInfo::EndToEndDelay() const {
|
||||
return capture_time_ms >= 0 ? decode_finish_ms - capture_time_ms : -1;
|
||||
|
||||
@ -24,9 +24,6 @@ namespace webrtc {
|
||||
enum TimingFrameFlags : uint8_t {
|
||||
kNotTriggered = 0, // Timing info valid, but not to be transmitted.
|
||||
// Used on send-side only.
|
||||
// TODO(ilnik): Delete compatibility alias.
|
||||
// Used to be sent over the wire, for the old protocol.
|
||||
kDefault = 0, // Old name, for API compatibility.
|
||||
kTriggeredByTimer = 1 << 0, // Frame marked for tracing by periodic timer.
|
||||
kTriggeredBySize = 1 << 1, // Frame marked for tracing due to size.
|
||||
kInvalid = std::numeric_limits<uint8_t>::max() // Invalid, ignore!
|
||||
|
||||
@ -71,9 +71,6 @@ class EncodedImageCallback {
|
||||
const CodecSpecificInfo* codec_specific_info,
|
||||
const RTPFragmentationHeader* fragmentation) = 0;
|
||||
|
||||
// Deprecated. TODO(ilnik): Remove this in few weeks.
|
||||
virtual void OnDroppedFrame() {}
|
||||
|
||||
virtual void OnDroppedFrame(DropReason reason) {}
|
||||
};
|
||||
|
||||
|
||||
@ -684,12 +684,6 @@ void ReceiveStatisticsProxy::DataCountersUpdated(
|
||||
total_byte_tracker_.AddSamples(total_bytes - last_total_bytes);
|
||||
}
|
||||
|
||||
// Deprecated. TODO(ilnik): remove once all depending projects are updated.
|
||||
void ReceiveStatisticsProxy::OnDecodedFrame(rtc::Optional<uint8_t> qp,
|
||||
VideoContentType content_type) {
|
||||
OnDecodedFrame(qp, 0, 0, content_type);
|
||||
}
|
||||
|
||||
void ReceiveStatisticsProxy::OnDecodedFrame(rtc::Optional<uint8_t> qp,
|
||||
int width,
|
||||
int height,
|
||||
|
||||
@ -52,10 +52,6 @@ class ReceiveStatisticsProxy : public VCMReceiveStatisticsCallback,
|
||||
|
||||
VideoReceiveStream::Stats GetStats() const;
|
||||
|
||||
// Deprecated. TODO(ilnik): remove once all depending projects are updated.
|
||||
RTC_DEPRECATED void OnDecodedFrame(rtc::Optional<uint8_t> qp,
|
||||
VideoContentType content_type);
|
||||
|
||||
void OnDecodedFrame(rtc::Optional<uint8_t> qp,
|
||||
int width,
|
||||
int height,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user