OLD | NEW |
1 syntax = "proto2"; | 1 syntax = "proto2"; |
2 option optimize_for = LITE_RUNTIME; | 2 option optimize_for = LITE_RUNTIME; |
3 option java_package = "org.webrtc.AudioNetworkAdaptor"; | 3 option java_package = "org.webrtc.AudioNetworkAdaptor"; |
4 option java_outer_classname = "Config"; | 4 option java_outer_classname = "Config"; |
5 package webrtc.audio_network_adaptor.config; | 5 package webrtc.audio_network_adaptor.config; |
6 | 6 |
7 message FecController { | 7 message FecController { |
8 message Threshold { | 8 message Threshold { |
9 // Threshold defines a curve in the bandwidth/packet-loss domain. The | 9 // Threshold defines a curve in the bandwidth/packet-loss domain. The |
10 // curve is characterized by the two conjunction points: A and B. | 10 // curve is characterized by the two conjunction points: A and B. |
(...skipping 25 matching lines...) Expand all Loading... |
36 | 36 |
37 // |time_constant_ms| is the time constant for an exponential filter, which | 37 // |time_constant_ms| is the time constant for an exponential filter, which |
38 // is used for smoothing the packet loss fraction. | 38 // is used for smoothing the packet loss fraction. |
39 optional int32 time_constant_ms = 3; | 39 optional int32 time_constant_ms = 3; |
40 } | 40 } |
41 | 41 |
42 message FrameLengthController { | 42 message FrameLengthController { |
43 // Uplink packet loss fraction below which frame length can increase. | 43 // Uplink packet loss fraction below which frame length can increase. |
44 optional float fl_increasing_packet_loss_fraction = 1; | 44 optional float fl_increasing_packet_loss_fraction = 1; |
45 | 45 |
46 // Uplink packet loss fraction below which frame length should decrease. | 46 // Uplink packet loss fraction above which frame length should decrease. |
47 optional float fl_decreasing_packet_loss_fraction = 2; | 47 optional float fl_decreasing_packet_loss_fraction = 2; |
48 | 48 |
49 // Uplink bandwidth below which frame length can switch from 20ms to 60ms. | 49 // Uplink bandwidth below which frame length can switch from 20ms to 60ms. |
50 optional int32 fl_20ms_to_60ms_bandwidth_bps = 3; | 50 optional int32 fl_20ms_to_60ms_bandwidth_bps = 3; |
51 | 51 |
52 // Uplink bandwidth above which frame length should switch from 60ms to 20ms. | 52 // Uplink bandwidth above which frame length should switch from 60ms to 20ms. |
53 optional int32 fl_60ms_to_20ms_bandwidth_bps = 4; | 53 optional int32 fl_60ms_to_20ms_bandwidth_bps = 4; |
54 | 54 |
55 // Uplink bandwidth below which frame length can switch from 60ms to 120ms. | 55 // Uplink bandwidth below which frame length can switch from 60ms to 120ms. |
56 optional int32 fl_60ms_to_120ms_bandwidth_bps = 5; | 56 optional int32 fl_60ms_to_120ms_bandwidth_bps = 5; |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 message ControllerManager { | 107 message ControllerManager { |
108 repeated Controller controllers = 1; | 108 repeated Controller controllers = 1; |
109 | 109 |
110 // Least time since last reordering for a new reordering to be made. | 110 // Least time since last reordering for a new reordering to be made. |
111 optional int32 min_reordering_time_ms = 2; | 111 optional int32 min_reordering_time_ms = 2; |
112 | 112 |
113 // Least squared distance from last scoring point for a new reordering to be | 113 // Least squared distance from last scoring point for a new reordering to be |
114 // made. | 114 // made. |
115 optional float min_reordering_squared_distance = 3; | 115 optional float min_reordering_squared_distance = 3; |
116 } | 116 } |
OLD | NEW |