OLD | NEW |
1 syntax = "proto2"; | 1 syntax = "proto2"; |
2 option optimize_for = LITE_RUNTIME; | 2 option optimize_for = LITE_RUNTIME; |
3 package webrtc.rtclog; | 3 package webrtc.rtclog; |
4 | 4 |
5 enum MediaType { | 5 enum MediaType { |
6 ANY = 0; | 6 ANY = 0; |
7 AUDIO = 1; | 7 AUDIO = 1; |
8 VIDEO = 2; | 8 VIDEO = 2; |
9 DATA = 3; | 9 DATA = 3; |
10 } | 10 } |
(...skipping 22 matching lines...) Expand all Loading... |
33 AUDIO_PLAYOUT_EVENT = 5; | 33 AUDIO_PLAYOUT_EVENT = 5; |
34 LOSS_BASED_BWE_UPDATE = 6; | 34 LOSS_BASED_BWE_UPDATE = 6; |
35 DELAY_BASED_BWE_UPDATE = 7; | 35 DELAY_BASED_BWE_UPDATE = 7; |
36 VIDEO_RECEIVER_CONFIG_EVENT = 8; | 36 VIDEO_RECEIVER_CONFIG_EVENT = 8; |
37 VIDEO_SENDER_CONFIG_EVENT = 9; | 37 VIDEO_SENDER_CONFIG_EVENT = 9; |
38 AUDIO_RECEIVER_CONFIG_EVENT = 10; | 38 AUDIO_RECEIVER_CONFIG_EVENT = 10; |
39 AUDIO_SENDER_CONFIG_EVENT = 11; | 39 AUDIO_SENDER_CONFIG_EVENT = 11; |
40 AUDIO_NETWORK_ADAPTATION_EVENT = 16; | 40 AUDIO_NETWORK_ADAPTATION_EVENT = 16; |
41 BWE_PROBE_CLUSTER_CREATED_EVENT = 17; | 41 BWE_PROBE_CLUSTER_CREATED_EVENT = 17; |
42 BWE_PROBE_RESULT_EVENT = 18; | 42 BWE_PROBE_RESULT_EVENT = 18; |
| 43 BWE_ACKED_BITRATE_EVENT = 19; |
| 44 ALR_STATE_EVENT = 20; |
| 45 PACKET_QUEUE_TIME = 21; |
43 } | 46 } |
44 | 47 |
45 // required - Indicates the type of this event | 48 // required - Indicates the type of this event |
46 optional EventType type = 2; | 49 optional EventType type = 2; |
47 | 50 |
48 oneof subtype { | 51 oneof subtype { |
49 // required if type == RTP_EVENT | 52 // required if type == RTP_EVENT |
50 RtpPacket rtp_packet = 3; | 53 RtpPacket rtp_packet = 3; |
51 | 54 |
52 // required if type == RTCP_EVENT | 55 // required if type == RTCP_EVENT |
(...skipping 21 matching lines...) Expand all Loading... |
74 AudioSendConfig audio_sender_config = 11; | 77 AudioSendConfig audio_sender_config = 11; |
75 | 78 |
76 // required if type == AUDIO_NETWORK_ADAPTATION_EVENT | 79 // required if type == AUDIO_NETWORK_ADAPTATION_EVENT |
77 AudioNetworkAdaptation audio_network_adaptation = 16; | 80 AudioNetworkAdaptation audio_network_adaptation = 16; |
78 | 81 |
79 // required if type == BWE_PROBE_CLUSTER_CREATED_EVENT | 82 // required if type == BWE_PROBE_CLUSTER_CREATED_EVENT |
80 BweProbeCluster probe_cluster = 17; | 83 BweProbeCluster probe_cluster = 17; |
81 | 84 |
82 // required if type == BWE_PROBE_RESULT_EVENT | 85 // required if type == BWE_PROBE_RESULT_EVENT |
83 BweProbeResult probe_result = 18; | 86 BweProbeResult probe_result = 18; |
| 87 |
| 88 // required if type == BWE_ACKED_BITRATE_EVENT |
| 89 BweAckedBitrate acked_bitrate = 19; |
| 90 |
| 91 // required if type == ALR_STATE_EVENT |
| 92 AlrState alr_state = 20; |
| 93 |
| 94 // required if type == PACKET_QUEUE_TIME |
| 95 PacketQueueTime packet_queue_time = 21; |
84 } | 96 } |
85 } | 97 } |
86 | 98 |
87 message RtpPacket { | 99 message RtpPacket { |
88 // required - True if the packet is incoming w.r.t. the user logging the data | 100 // required - True if the packet is incoming w.r.t. the user logging the data |
89 optional bool incoming = 1; | 101 optional bool incoming = 1; |
90 | 102 |
91 optional MediaType type = 2 [deprecated = true]; | 103 optional MediaType type = 2 [deprecated = true]; |
92 | 104 |
93 // required - The size of the packet including both payload and header. | 105 // required - The size of the packet including both payload and header. |
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
307 INVALID_SEND_RECEIVE_RATIO = 2; | 319 INVALID_SEND_RECEIVE_RATIO = 2; |
308 TIMEOUT = 3; | 320 TIMEOUT = 3; |
309 } | 321 } |
310 | 322 |
311 // required - The result of this probing attempt. | 323 // required - The result of this probing attempt. |
312 optional ResultType result = 2; | 324 optional ResultType result = 2; |
313 | 325 |
314 // optional - but required if result == SUCCESS. The resulting bitrate in bps. | 326 // optional - but required if result == SUCCESS. The resulting bitrate in bps. |
315 optional uint64 bitrate_bps = 3; | 327 optional uint64 bitrate_bps = 3; |
316 } | 328 } |
| 329 |
| 330 message BweAckedBitrate { |
| 331 optional uint64 bitrate_bps = 1; |
| 332 } |
| 333 |
| 334 message AlrState { |
| 335 // required - If we are in ALR or not. |
| 336 optional bool in_alr = 1; |
| 337 |
| 338 // required - The usage of the link in bps. |
| 339 optional uint64 usage_bps = 2; |
| 340 } |
| 341 |
| 342 message PacketQueueTime { |
| 343 // required - How long the packet was in the pacer queue. |
| 344 optional uint32 queue_time_ms = 1; |
| 345 |
| 346 // required - The ssrc. |
| 347 optional uint32 ssrc = 2; |
| 348 } |
| 349 |
OLD | NEW |