Add ProtectionBitrateCalculator as an abstract class. ProtectionBitrateCalculatorDefault implements ProtectionBitrateCalculator. Register VideoSendStream to packet feedback
Bug: webrtc:8656 Change-Id: Iab4f6ab8997cb082762218afc8580e9985ac2522 Reviewed-on: https://webrtc-review.googlesource.com/33010 Commit-Queue: Ying Wang <yinwa@webrtc.org> Reviewed-by: Stefan Holmer <stefan@webrtc.org> Cr-Commit-Position: refs/heads/master@{#21348}
This commit is contained in:
@ -8,7 +8,7 @@
|
||||
* be found in the AUTHORS file in the root of the source tree.
|
||||
*/
|
||||
|
||||
#include "modules/video_coding/protection_bitrate_calculator.h"
|
||||
#include "modules/video_coding/protection_bitrate_calculator_default.h"
|
||||
#include "system_wrappers/include/clock.h"
|
||||
#include "test/gtest.h"
|
||||
|
||||
@ -46,7 +46,7 @@ class ProtectionBitrateCalculatorTest : public ::testing::Test {
|
||||
|
||||
SimulatedClock clock_;
|
||||
ProtectionCallback protection_callback_;
|
||||
ProtectionBitrateCalculator media_opt_;
|
||||
ProtectionBitrateCalculatorDefault media_opt_;
|
||||
};
|
||||
|
||||
TEST_F(ProtectionBitrateCalculatorTest, ProtectsUsingFecBitrate) {
|
||||
|
||||
Reference in New Issue
Block a user