webrtc/api/test/network_emulation/network_config_schedule.proto
Per Kjellander a0d1a51217 Reland "Add SchedulableNetworkBehavior and tests."
This reverts commit 045589e64c.

Reason for revert: Test flakiness fixed in https://webrtc-review.googlesource.com/c/src/+/352660

Original change's description:
> Revert "Add SchedulableNetworkBehavior and tests."
>
> This reverts commit 06815534d2.
>
> Reason for revert: Seems to break importer...
>
> Original change's description:
> > Add SchedulableNetworkBehavior and tests.
> >
> > This is a network behaviour that can change its parameters over time as specified with a schedule proto.
> >
> > Bug: webrtc:14525
> > Change-Id: Idd34cc48c8e3e8311975615f2c3dc3ffb522a708
> > Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/352140
> > Reviewed-by: Björn Terelius <terelius@webrtc.org>
> > Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
> > Commit-Queue: Per Kjellander <perkj@webrtc.org>
> > Cr-Commit-Position: refs/heads/main@{#42390}
>
> Bug: webrtc:14525
> Change-Id: I4386ffb7629198c74249e416076cab3b4c23a79b
> No-Presubmit: true
> No-Tree-Checks: true
> No-Try: true
> Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/352501
> Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
> Commit-Queue: Per Kjellander <perkj@webrtc.org>
> Bot-Commit: rubber-stamper@appspot.gserviceaccount.com <rubber-stamper@appspot.gserviceaccount.com>
> Cr-Commit-Position: refs/heads/main@{#42391}

Bug: webrtc:14525
Change-Id: I68f536c67ab15d97fa59700ce6c3c4b9edc1d1b9
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/352681
Commit-Queue: Per Kjellander <perkj@webrtc.org>
Bot-Commit: rubber-stamper@appspot.gserviceaccount.com <rubber-stamper@appspot.gserviceaccount.com>
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#42403}
2024-05-29 13:17:07 +00:00

27 lines
981 B
Protocol Buffer

syntax = "proto2";
option optimize_for = LITE_RUNTIME;
package webrtc.network_behaviour;
message NetworkConfigScheduleItem {
// Time since the first sent packet when this item should be applied.
// This should typically be 0 for the first item in the schedule.
optional int64 time_since_first_sent_packet_ms = 1;
// Network parameters, See webrtc::BuiltInNetworkBehaviorConfig.
optional int64 queue_length_packets = 2;
optional int64 queue_delay_ms = 3;
optional int64 link_capacity_kbps = 4;
optional int64 loss_percent = 5;
optional int64 delay_standard_deviation_ms = 6;
optional bool allow_reordering = 7;
optional int64 avg_burst_loss_length = 8;
optional int64 packet_overhead = 9;
}
// Schedule describing network parameters in a simulated network.
message NetworkConfigSchedule {
optional int64 repeat_schedule_after_last_ms = 1;
// Items should be sorted by time_since_first_sent_packet_ms.
repeated NetworkConfigScheduleItem item = 2;
}