| 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 HOST_LOOKUP_EVENT = 19; | |
| 44 } | 43 } |
| 45 | 44 |
| 46 // required - Indicates the type of this event | 45 // required - Indicates the type of this event |
| 47 optional EventType type = 2; | 46 optional EventType type = 2; |
| 48 | 47 |
| 49 oneof subtype { | 48 oneof subtype { |
| 50 // required if type == RTP_EVENT | 49 // required if type == RTP_EVENT |
| 51 RtpPacket rtp_packet = 3; | 50 RtpPacket rtp_packet = 3; |
| 52 | 51 |
| 53 // required if type == RTCP_EVENT | 52 // required if type == RTCP_EVENT |
| (...skipping 21 matching lines...) Expand all Loading... |
| 75 AudioSendConfig audio_sender_config = 11; | 74 AudioSendConfig audio_sender_config = 11; |
| 76 | 75 |
| 77 // required if type == AUDIO_NETWORK_ADAPTATION_EVENT | 76 // required if type == AUDIO_NETWORK_ADAPTATION_EVENT |
| 78 AudioNetworkAdaptation audio_network_adaptation = 16; | 77 AudioNetworkAdaptation audio_network_adaptation = 16; |
| 79 | 78 |
| 80 // required if type == BWE_PROBE_CLUSTER_CREATED_EVENT | 79 // required if type == BWE_PROBE_CLUSTER_CREATED_EVENT |
| 81 BweProbeCluster probe_cluster = 17; | 80 BweProbeCluster probe_cluster = 17; |
| 82 | 81 |
| 83 // required if type == BWE_PROBE_RESULT_EVENT | 82 // required if type == BWE_PROBE_RESULT_EVENT |
| 84 BweProbeResult probe_result = 18; | 83 BweProbeResult probe_result = 18; |
| 85 | |
| 86 // required if type == HOST_LOOKUP_EVENT | |
| 87 HostLookupResult host_lookup_result = 19; | |
| 88 } | 84 } |
| 89 } | 85 } |
| 90 | 86 |
| 91 message RtpPacket { | 87 message RtpPacket { |
| 92 // required - True if the packet is incoming w.r.t. the user logging the data | 88 // required - True if the packet is incoming w.r.t. the user logging the data |
| 93 optional bool incoming = 1; | 89 optional bool incoming = 1; |
| 94 | 90 |
| 95 optional MediaType type = 2 [deprecated = true]; | 91 optional MediaType type = 2 [deprecated = true]; |
| 96 | 92 |
| 97 // required - The size of the packet including both payload and header. | 93 // required - The size of the packet including both payload and header. |
| (...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 311 INVALID_SEND_RECEIVE_RATIO = 2; | 307 INVALID_SEND_RECEIVE_RATIO = 2; |
| 312 TIMEOUT = 3; | 308 TIMEOUT = 3; |
| 313 } | 309 } |
| 314 | 310 |
| 315 // required - The result of this probing attempt. | 311 // required - The result of this probing attempt. |
| 316 optional ResultType result = 2; | 312 optional ResultType result = 2; |
| 317 | 313 |
| 318 // optional - but required if result == SUCCESS. The resulting bitrate in bps. | 314 // optional - but required if result == SUCCESS. The resulting bitrate in bps. |
| 319 optional uint64 bitrate_bps = 3; | 315 optional uint64 bitrate_bps = 3; |
| 320 } | 316 } |
| 321 | |
| 322 message HostLookupResult { | |
| 323 // required - error code or 0 for OK | |
| 324 optional int32 error = 1; | |
| 325 | |
| 326 // required - Time elapsed for lookup in milliseconds. | |
| 327 optional int64 host_lookup_time_ms = 2; | |
| 328 } | |
| 329 | |
| OLD | NEW |