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 33 matching lines...) Loading... |
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 below 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 |
| 55 // Uplink bandwidth below which frame length can switch from 60ms to 120ms. |
| 56 optional int32 fl_60ms_to_120ms_bandwidth_bps = 5; |
| 57 |
| 58 // Uplink bandwidth above which frame length should switch from 120ms to 60ms. |
| 59 optional int32 fl_120ms_to_60ms_bandwidth_bps = 6; |
54 } | 60 } |
55 | 61 |
56 message ChannelController { | 62 message ChannelController { |
57 // Uplink bandwidth above which the number of encoded channels should switch | 63 // Uplink bandwidth above which the number of encoded channels should switch |
58 // from 1 to 2. | 64 // from 1 to 2. |
59 optional int32 channel_1_to_2_bandwidth_bps = 1; | 65 optional int32 channel_1_to_2_bandwidth_bps = 1; |
60 | 66 |
61 // Uplink bandwidth below which the number of encoded channels should switch | 67 // Uplink bandwidth below which the number of encoded channels should switch |
62 // from 2 to 1. | 68 // from 2 to 1. |
63 optional int32 channel_2_to_1_bandwidth_bps = 2; | 69 optional int32 channel_2_to_1_bandwidth_bps = 2; |
(...skipping 37 matching lines...) Loading... |
101 message ControllerManager { | 107 message ControllerManager { |
102 repeated Controller controllers = 1; | 108 repeated Controller controllers = 1; |
103 | 109 |
104 // 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. |
105 optional int32 min_reordering_time_ms = 2; | 111 optional int32 min_reordering_time_ms = 2; |
106 | 112 |
107 // 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 |
108 // made. | 114 // made. |
109 optional float min_reordering_squared_distance = 3; | 115 optional float min_reordering_squared_distance = 3; |
110 } | 116 } |
OLD | NEW |