Chromium Code Reviews| Index: webrtc/modules/rtp_rtcp/source/rtp_sender.h |
| diff --git a/webrtc/modules/rtp_rtcp/source/rtp_sender.h b/webrtc/modules/rtp_rtcp/source/rtp_sender.h |
| index 6c9928c79312b98ce505d0b16b05c98adb10d397..9b0fe346a43a6559d6d917aaf22e7c7affde5992 100644 |
| --- a/webrtc/modules/rtp_rtcp/source/rtp_sender.h |
| +++ b/webrtc/modules/rtp_rtcp/source/rtp_sender.h |
| @@ -18,6 +18,7 @@ |
| #include "webrtc/base/constructormagic.h" |
| #include "webrtc/base/criticalsection.h" |
| +#include "webrtc/base/deprecation.h" |
| #include "webrtc/base/random.h" |
| #include "webrtc/base/rate_statistics.h" |
| #include "webrtc/base/thread_annotations.h" |
| @@ -271,15 +272,13 @@ class RTPSender { |
| int32_t SetFecParameters(const FecProtectionParams *delta_params, |
| const FecProtectionParams *key_params); |
| + size_t SendPadData(size_t bytes, int probe_cluster_id); |
|
stefan-webrtc
2016/09/15 13:02:02
Can this be made private now perhaps?
danilchap
2016/09/15 14:22:42
Done.
Yes, it can. TimeToSendPadding can be used i
|
| + |
| + RTC_DEPRECATED |
| size_t SendPadData(size_t bytes, |
| bool timestamp_provided, |
| uint32_t timestamp, |
| int64_t capture_time_ms); |
| - size_t SendPadData(size_t bytes, |
| - bool timestamp_provided, |
| - uint32_t timestamp, |
| - int64_t capture_time_ms, |
| - int probe_cluster_id); |
| // Called on update of RTP statistics. |
| void RegisterRtpStatisticsCallback(StreamDataCountersCallback* callback); |
| @@ -302,6 +301,12 @@ class RTPSender { |
| // time. |
| typedef std::map<int64_t, int> SendDelayMap; |
| + size_t DeprecatedSendPadData(size_t bytes, |
| + bool timestamp_provided, |
| + uint32_t timestamp, |
| + int64_t capture_time_ms, |
| + int probe_cluster_id); |
| + |
| size_t CreateRtpHeader(uint8_t* header, |
| int8_t payload_type, |
| uint32_t ssrc, |