Chromium Code Reviews| Index: webrtc/common_types.h |
| diff --git a/webrtc/common_types.h b/webrtc/common_types.h |
| index 7b62dbca09bf63fc2e301f92e967ce62ce2ad488..875fdb4f77ec0d75a7bcce59615038ec8572471b 100644 |
| --- a/webrtc/common_types.h |
| +++ b/webrtc/common_types.h |
| @@ -913,6 +913,17 @@ enum NetworkState { |
| kNetworkDown, |
| }; |
| +struct RtpKeepAliveConfig { |
| + // If no packet has been sent for |timeout_interval_ms|, send a keep-alive |
| + // packet. The keep-laive packet is an empty (no payload) RTP packet with a |
|
åsapersson
2017/07/05 15:19:55
alive
sprang_webrtc
2017/07/05 15:56:47
Done.
|
| + // payload type of 20 as long as the other end has not negotiated the use of |
| + // this value. If this value has already been negotiated, then some other |
| + // unused static payload type from table 5 of RFC 3551 shall be used and set |
| + // in |payload_type|. |
| + int64_t timeout_interval_ms = -1; |
| + uint8_t payload_type = 20; |
| +}; |
| + |
| } // namespace webrtc |
| #endif // WEBRTC_COMMON_TYPES_H_ |