Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(109)

Side by Side Diff: webrtc/modules/audio_coding/audio_network_adaptor/config.proto

Issue 2364403004: Creating controller manager from config string in audio network adaptor. (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 syntax = "proto2";
2 option optimize_for = LITE_RUNTIME;
3 package webrtc.audio_network_adaptor.config;
4
5 message FecController {
6 message Threshold {
7 optional int32 low_bandwidth_bps = 1;
8 optional float low_bandwidth_packet_loss = 2;
9 optional int32 high_bandwidth_bps = 3;
10 optional float high_bandwidth_packet_loss = 4;
11 }
12 optional Threshold fec_enabling_threshold = 1;
13 optional Threshold fec_disabling_threshold = 2;
14 optional int32 time_constant_ms = 3;
15 }
16
17 message FrameLengthController {
18 optional float fl_increasing_packet_loss_fraction = 1;
19 optional float fl_decreasing_packet_loss_fraction = 2;
20 optional int32 fl_20ms_to_60ms_bandwidth_bps = 3;
21 optional int32 fl_60ms_to_20ms_bandwidth_bps = 4;
22 }
23
24 message ChannelController {
25 optional int32 channel_1_to_2_bandwidth_bps = 1;
26 optional int32 channel_2_to_1_bandwidth_bps = 2;
27 }
28
29 message DtxController {
30 optional int32 dtx_enabling_bandwidth_bps = 1;
31 optional int32 dtx_disabling_bandwidth_bps = 2;
32 }
33
34 message BitrateController {}
35
36 message Controller {
37 message ScoringPoint {
38 optional int32 uplink_bandwidth_bps = 1;
39 optional float uplink_packet_loss_fraction = 2;
40 }
41 optional ScoringPoint scoring_point = 1;
42 oneof controller {
43 FecController fec_controller = 21;
44 FrameLengthController frame_length_controller = 22;
45 ChannelController channel_controller = 23;
46 DtxController dtx_controller = 24;
47 BitrateController bitrate_controller = 25;
48 }
49 }
50
51 message ControllerManager {
52 repeated Controller controllers = 1;
53 optional int32 min_reordering_time_ms = 2;
54 optional float min_reordering_squared_distance = 3;
55 }
kwiberg-webrtc 2016/09/28 08:59:22 I think I see why it makes sense to have this as a
minyue-webrtc 2016/09/28 12:47:25 Right, we also would like it to be platform and la
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698