Delete deprecated function in RtpVideoStreamReceiver that references VideoCodec struct

Bug: webrtc:13045
Change-Id: I71c70765d1c265ead1f6fa314733ccb6b61ace15
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/258684
Auto-Submit: Danil Chapovalov <danilchap@webrtc.org>
Reviewed-by: Åsa Persson <asapersson@webrtc.org>
Commit-Queue: Åsa Persson <asapersson@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#36528}
This commit is contained in:
Danil Chapovalov 2022-04-11 15:23:22 +02:00 committed by WebRTC LUCI CQ
parent 8d3c8fc279
commit 4baaf99c5e
2 changed files with 0 additions and 12 deletions

View File

@ -185,7 +185,6 @@ rtc_source_set("video_legacy") {
"../api/video:recordable_encoded_frame",
"../api/video:video_frame",
"../api/video:video_rtp_headers",
"../api/video_codecs:video_codecs_api",
"../call:call_interfaces",
"../call:rtp_interfaces",
"../call:rtp_receiver", # For RtxReceiveStream.

View File

@ -18,7 +18,6 @@
#include <string>
#include <vector>
#include "absl/base/attributes.h"
#include "absl/types/optional.h"
#include "api/array_view.h"
#include "api/crypto/frame_decryptor_interface.h"
@ -27,7 +26,6 @@
#include "api/units/timestamp.h"
#include "api/video/color_space.h"
#include "api/video/video_codec_type.h"
#include "api/video_codecs/video_codec.h"
#include "call/rtp_packet_sink_interface.h"
#include "call/syncable.h"
#include "call/video_receive_stream.h"
@ -133,15 +131,6 @@ class RtpVideoStreamReceiver : public LossNotificationSender,
const std::map<std::string, std::string>& codec_params,
bool raw_payload);
ABSL_DEPRECATED("Use AddReceiveCodec above")
void AddReceiveCodec(uint8_t payload_type,
const VideoCodec& video_codec,
const std::map<std::string, std::string>& codec_params,
bool raw_payload) {
AddReceiveCodec(payload_type, video_codec.codecType, codec_params,
raw_payload);
}
void StartReceive();
void StopReceive();