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

Unified Diff: webrtc/common_types.h

Issue 2960363002: Implement RTP keepalive in native stack. (Closed)
Patch Set: Addressed comments. market bit set to false Created 3 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | webrtc/modules/rtp_rtcp/BUILD.gn » ('j') | webrtc/modules/rtp_rtcp/BUILD.gn » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « no previous file | webrtc/modules/rtp_rtcp/BUILD.gn » ('j') | webrtc/modules/rtp_rtcp/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698