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

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

Issue 2661043003: Allow ANA to receive RPLR (recoverable packet loss rate) indications (Closed)
Patch Set: Uncomment thread-checker to fix UT Created 3 years, 9 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
1 syntax = "proto2"; 1 syntax = "proto2";
2 option optimize_for = LITE_RUNTIME; 2 option optimize_for = LITE_RUNTIME;
3 package webrtc.audio_network_adaptor.debug_dump; 3 package webrtc.audio_network_adaptor.debug_dump;
4 4
5 message NetworkMetrics { 5 message NetworkMetrics {
6 optional int32 uplink_bandwidth_bps = 1; 6 optional int32 uplink_bandwidth_bps = 1;
7 optional float uplink_packet_loss_fraction = 2; 7 optional float uplink_packet_loss_fraction = 2;
8 optional int32 target_audio_bitrate_bps = 3; 8 optional int32 target_audio_bitrate_bps = 3;
9 optional int32 rtt_ms = 4; 9 optional int32 rtt_ms = 4;
10 optional int32 uplink_recoverable_packet_loss_fraction = 5;
10 } 11 }
11 12
12 message EncoderRuntimeConfig { 13 message EncoderRuntimeConfig {
13 optional int32 bitrate_bps = 1; 14 optional int32 bitrate_bps = 1;
14 optional int32 frame_length_ms = 2; 15 optional int32 frame_length_ms = 2;
16 // Note: This is what we tell the encoder. It doesn't have to reflect
17 // the actual NetworkMetrics; it's subject to our decision.
15 optional float uplink_packet_loss_fraction = 3; 18 optional float uplink_packet_loss_fraction = 3;
16 optional bool enable_fec = 4; 19 optional bool enable_fec = 4;
17 optional bool enable_dtx = 5; 20 optional bool enable_dtx = 5;
21 // Some encoders can encode fewer channels than the actual input to make
22 // better use of the bandwidth. |num_channels| sets the number of channels
23 // to encode.
18 optional uint32 num_channels = 6; 24 optional uint32 num_channels = 6;
19 } 25 }
20 26
21 message Event { 27 message Event {
22 enum Type { 28 enum Type {
23 NETWORK_METRICS = 0; 29 NETWORK_METRICS = 0;
24 ENCODER_RUNTIME_CONFIG = 1; 30 ENCODER_RUNTIME_CONFIG = 1;
25 } 31 }
26 required Type type = 1; 32 required Type type = 1;
27 required uint32 timestamp = 2; 33 required uint32 timestamp = 2;
28 optional NetworkMetrics network_metrics = 3; 34 optional NetworkMetrics network_metrics = 3;
29 optional EncoderRuntimeConfig encoder_runtime_config = 4; 35 optional EncoderRuntimeConfig encoder_runtime_config = 4;
30 } 36 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698