Delete deprecated RTPSenderVideo::SendVideo function
Bug: webrtc:6471 Change-Id: I5e78895f82746d39e24299b648c6918d41d9924b Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/181000 Reviewed-by: Niels Moller <nisse@webrtc.org> Commit-Queue: Danil Chapovalov <danilchap@webrtc.org> Cr-Commit-Position: refs/heads/master@{#31858}
This commit is contained in:

committed by
Commit Bot

parent
dabe48bb4c
commit
6777d9b53b
@ -32,7 +32,6 @@
|
||||
#include "modules/rtp_rtcp/source/rtp_sender_video_frame_transformer_delegate.h"
|
||||
#include "modules/rtp_rtcp/source/rtp_video_header.h"
|
||||
#include "modules/rtp_rtcp/source/video_fec_generator.h"
|
||||
#include "rtc_base/deprecation.h"
|
||||
#include "rtc_base/one_time_event.h"
|
||||
#include "rtc_base/race_checker.h"
|
||||
#include "rtc_base/rate_statistics.h"
|
||||
@ -42,7 +41,6 @@
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
class RTPFragmentationHeader;
|
||||
class FrameEncryptorInterface;
|
||||
class RtpPacketizer;
|
||||
class RtpPacketToSend;
|
||||
@ -91,19 +89,6 @@ class RTPSenderVideo {
|
||||
|
||||
virtual ~RTPSenderVideo();
|
||||
|
||||
RTC_DEPRECATED
|
||||
bool SendVideo(int payload_type,
|
||||
absl::optional<VideoCodecType> codec_type,
|
||||
uint32_t rtp_timestamp,
|
||||
int64_t capture_time_ms,
|
||||
rtc::ArrayView<const uint8_t> payload,
|
||||
const RTPFragmentationHeader* /*fragmentation*/,
|
||||
RTPVideoHeader video_header,
|
||||
absl::optional<int64_t> expected_retransmission_time_ms) {
|
||||
return SendVideo(payload_type, codec_type, rtp_timestamp, capture_time_ms,
|
||||
payload, video_header, expected_retransmission_time_ms);
|
||||
}
|
||||
|
||||
// expected_retransmission_time_ms.has_value() -> retransmission allowed.
|
||||
// Calls to this method is assumed to be externally serialized.
|
||||
bool SendVideo(int payload_type,
|
||||
|
Reference in New Issue
Block a user