| Index: webrtc/test/layer_filtering_transport.cc
|
| diff --git a/webrtc/test/layer_filtering_transport.cc b/webrtc/test/layer_filtering_transport.cc
|
| index 5ad3f8ce6a3f3527ae436d31dbe3301ae9b31a13..d6f3591180743bdcca70ab2f116c9671c3f36f65 100644
|
| --- a/webrtc/test/layer_filtering_transport.cc
|
| +++ b/webrtc/test/layer_filtering_transport.cc
|
| @@ -33,10 +33,12 @@ LayerFilteringTransport::LayerFilteringTransport(
|
| current_seq_num_(10000) {
|
| } // TODO(ivica): random seq num?
|
|
|
| -bool LayerFilteringTransport::SendRtp(const uint8_t* packet, size_t length) {
|
| +bool LayerFilteringTransport::SendRtp(const uint8_t* packet,
|
| + size_t length,
|
| + const PacketOptions& options) {
|
| if (tl_discard_threshold_ == 0 && sl_discard_threshold_ == 0) {
|
| // Nothing to change, forward the packet immediately.
|
| - return test::DirectTransport::SendRtp(packet, length);
|
| + return test::DirectTransport::SendRtp(packet, length, options);
|
| }
|
|
|
| bool set_marker_bit = false;
|
| @@ -93,7 +95,7 @@ bool LayerFilteringTransport::SendRtp(const uint8_t* packet, size_t length) {
|
|
|
| ++current_seq_num_; // Increase only if packet not discarded.
|
|
|
| - return test::DirectTransport::SendRtp(temp_buffer, length);
|
| + return test::DirectTransport::SendRtp(temp_buffer, length, options);
|
| }
|
|
|
| } // namespace test
|
|
|