simulcast_test_fixture.h 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. /*
  2. * Copyright (c) 2018 The WebRTC project authors. All Rights Reserved.
  3. *
  4. * Use of this source code is governed by a BSD-style license
  5. * that can be found in the LICENSE file in the root of the source
  6. * tree. An additional intellectual property rights grant can be found
  7. * in the file PATENTS. All contributing project authors may
  8. * be found in the AUTHORS file in the root of the source tree.
  9. */
  10. #ifndef API_TEST_SIMULCAST_TEST_FIXTURE_H_
  11. #define API_TEST_SIMULCAST_TEST_FIXTURE_H_
  12. namespace webrtc {
  13. namespace test {
  14. class SimulcastTestFixture {
  15. public:
  16. virtual ~SimulcastTestFixture() = default;
  17. virtual void TestKeyFrameRequestsOnAllStreams() = 0;
  18. virtual void TestPaddingAllStreams() = 0;
  19. virtual void TestPaddingTwoStreams() = 0;
  20. virtual void TestPaddingTwoStreamsOneMaxedOut() = 0;
  21. virtual void TestPaddingOneStream() = 0;
  22. virtual void TestPaddingOneStreamTwoMaxedOut() = 0;
  23. virtual void TestSendAllStreams() = 0;
  24. virtual void TestDisablingStreams() = 0;
  25. virtual void TestActiveStreams() = 0;
  26. virtual void TestSwitchingToOneStream() = 0;
  27. virtual void TestSwitchingToOneOddStream() = 0;
  28. virtual void TestSwitchingToOneSmallStream() = 0;
  29. virtual void TestSpatioTemporalLayers333PatternEncoder() = 0;
  30. virtual void TestSpatioTemporalLayers321PatternEncoder() = 0;
  31. virtual void TestStrideEncodeDecode() = 0;
  32. virtual void TestDecodeWidthHeightSet() = 0;
  33. virtual void
  34. TestEncoderInfoForDefaultTemporalLayerProfileHasFpsAllocation() = 0;
  35. };
  36. } // namespace test
  37. } // namespace webrtc
  38. #endif // API_TEST_SIMULCAST_TEST_FIXTURE_H_