Update/delete old TODOs
Bug: webrtc:10198 Change-Id: I226768c2a6bd97ffcd0638e5bc6a1c286b71815f Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/267704 Commit-Queue: Niels Moller <nisse@webrtc.org> Reviewed-by: Harald Alvestrand <hta@webrtc.org> Cr-Commit-Position: refs/heads/main@{#37435}
This commit is contained in:
parent
fb9fbdf395
commit
c8152fe4a8
@ -986,7 +986,6 @@ TEST_F(TestSimulcastEncoderAdapterFake,
|
||||
EXPECT_FALSE(adapter_->GetEncoderInfo().supports_native_handle);
|
||||
}
|
||||
|
||||
// TODO(nisse): Reuse definition in webrtc/test/fake_texture_handle.h.
|
||||
class FakeNativeBufferI420 : public VideoFrameBuffer {
|
||||
public:
|
||||
FakeNativeBufferI420(int width, int height, bool allow_to_i420)
|
||||
|
||||
@ -2269,7 +2269,7 @@ void WebRtcVideoChannel::WebRtcVideoSendStream::SetCodec(
|
||||
|
||||
parameters_.codec_settings = codec_settings;
|
||||
|
||||
// TODO(nisse): Avoid recreation, it should be enough to call
|
||||
// TODO(bugs.webrtc.org/8830): Avoid recreation, it should be enough to call
|
||||
// ReconfigureEncoder.
|
||||
RTC_LOG(LS_INFO) << "RecreateWebRtcStream (send) because of SetCodec.";
|
||||
RecreateWebRtcStream();
|
||||
|
||||
@ -158,7 +158,6 @@ bool HasAnyRtxCodec(const std::vector<cricket::VideoCodec>& codecs) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// TODO(nisse): Duplicated in call.cc.
|
||||
const int* FindKeyByValue(const std::map<int, int>& m, int v) {
|
||||
for (const auto& kv : m) {
|
||||
if (kv.second == v)
|
||||
|
||||
@ -43,8 +43,9 @@ class StreamStatistician {
|
||||
// Returns average over the stream life time.
|
||||
virtual absl::optional<int> GetFractionLostInPercent() const = 0;
|
||||
|
||||
// TODO(nisse): Delete, migrate users to the above the GetStats method.
|
||||
// Gets received stream data counters (includes reset counter values).
|
||||
// TODO(bugs.webrtc.org/10679): Delete, migrate users to the above GetStats
|
||||
// method (and extend RtpReceiveStats if needed).
|
||||
// Gets receive stream data counters.
|
||||
virtual StreamDataCounters GetReceiveStreamDataCounters() const = 0;
|
||||
|
||||
virtual uint32_t BitrateReceived() const = 0;
|
||||
|
||||
@ -75,9 +75,6 @@ class ForwardErrorCorrection {
|
||||
};
|
||||
|
||||
// Used for the input to DecodeFec().
|
||||
//
|
||||
// TODO(nisse): Delete class, instead passing `is_fec` and `pkt` as separate
|
||||
// arguments.
|
||||
class ReceivedPacket : public SortablePacket {
|
||||
public:
|
||||
ReceivedPacket();
|
||||
|
||||
@ -151,8 +151,6 @@ class RtpRtcpRtxNackTest : public ::testing::Test {
|
||||
rtp_rtcp_module_->SetStartTimestamp(111111);
|
||||
|
||||
// Used for NACK processing.
|
||||
// TODO(nisse): Unclear on which side? It's confusing to use a
|
||||
// single rtp_rtcp module for both send and receive side.
|
||||
rtp_rtcp_module_->SetRemoteSSRC(kTestSsrc);
|
||||
|
||||
rtp_rtcp_module_->SetRtxSendPayloadType(kRtxPayloadType, kPayloadType);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user