Delete deprecated MediaTransport methods using VideoCodecType.

This is a followup, deleting the things marked as deprecated in
https://webrtc-review.googlesource.com/c/113180.

Bug: webrtc:9719
Change-Id: I64dc31c6918f575599fc6b0bbfa47c5b1f2f3019
Reviewed-on: https://webrtc-review.googlesource.com/c/113521
Commit-Queue: Niels Moller <nisse@webrtc.org>
Reviewed-by: Peter Slatala <psla@webrtc.org>
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#26465}
This commit is contained in:
Niels Möller
2019-01-30 09:38:43 +01:00
committed by Commit Bot
parent 840b05587f
commit 358c99a66c
3 changed files with 1 additions and 26 deletions

View File

@ -29,7 +29,6 @@
#include "api/units/data_rate.h"
#include "api/video/encoded_image.h"
#include "rtc_base/copy_on_write_buffer.h"
#include "rtc_base/deprecation.h"
#include "rtc_base/network_route.h"
namespace rtc {
@ -185,12 +184,6 @@ class MediaTransportAudioSinkInterface {
// Represents encoded video frame, along with the codec information.
class MediaTransportEncodedVideoFrame final {
public:
// TODO(bugs.webrtc.org/9719): Switch to payload_type
RTC_DEPRECATED MediaTransportEncodedVideoFrame(
int64_t frame_id,
std::vector<int64_t> referenced_frame_ids,
VideoCodecType codec_type,
const webrtc::EncodedImage& encoded_image);
MediaTransportEncodedVideoFrame(int64_t frame_id,
std::vector<int64_t> referenced_frame_ids,
int payload_type,
@ -203,8 +196,6 @@ class MediaTransportEncodedVideoFrame final {
MediaTransportEncodedVideoFrame&& other);
MediaTransportEncodedVideoFrame(MediaTransportEncodedVideoFrame&&);
// TODO(bugs.webrtc.org/9719): Switch to payload_type
RTC_DEPRECATED VideoCodecType codec_type() const { return codec_type_; }
int payload_type() const { return payload_type_; }
const webrtc::EncodedImage& encoded_image() const { return encoded_image_; }
@ -220,7 +211,6 @@ class MediaTransportEncodedVideoFrame final {
private:
MediaTransportEncodedVideoFrame();
VideoCodecType codec_type_;
int payload_type_;
// The buffer is not owned by the encoded image. On the sender it means that