Remove deprecated version of RtpPacket::SetPadding that used to randomize padding
was deprecated in https://webrtc-review.googlesource.com/c/src/+/103983 Bug: None Change-Id: I617b7b5112446deaa9be983978cabdb247638266 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/141865 Commit-Queue: Danil Chapovalov <danilchap@webrtc.org> Reviewed-by: Niels Moller <nisse@webrtc.org> Cr-Commit-Position: refs/heads/master@{#28266}
This commit is contained in:
committed by
Commit Bot
parent
5a8f860a01
commit
4284828887
@ -17,10 +17,8 @@
|
||||
#include "modules/rtp_rtcp/include/rtp_header_extension_map.h"
|
||||
#include "modules/rtp_rtcp/include/rtp_rtcp_defines.h"
|
||||
#include "rtc_base/copy_on_write_buffer.h"
|
||||
#include "rtc_base/deprecation.h"
|
||||
|
||||
namespace webrtc {
|
||||
class Random;
|
||||
|
||||
class RtpPacket {
|
||||
public:
|
||||
@ -125,10 +123,6 @@ class RtpPacket {
|
||||
uint8_t* SetPayloadSize(size_t size_bytes);
|
||||
// Same as SetPayloadSize but doesn't guarantee to keep current payload.
|
||||
uint8_t* AllocatePayload(size_t size_bytes);
|
||||
RTC_DEPRECATED
|
||||
bool SetPadding(uint8_t size_bytes, Random* random) {
|
||||
return SetPadding(size_bytes);
|
||||
}
|
||||
|
||||
bool SetPadding(size_t padding_size);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user