aboutsummaryrefslogtreecommitdiff
path: root/api/data_channel_interface.h
diff options
context:
space:
mode:
Diffstat (limited to 'api/data_channel_interface.h')
-rw-r--r--api/data_channel_interface.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/api/data_channel_interface.h b/api/data_channel_interface.h
index 5b2b1263ab..56bb6c98fb 100644
--- a/api/data_channel_interface.h
+++ b/api/data_channel_interface.h
@@ -44,11 +44,13 @@ struct DataChannelInit {
//
// Cannot be set along with |maxRetransmits|.
// This is called |maxPacketLifeTime| in the WebRTC JS API.
+ // Negative values are ignored, and positive values are clamped to [0-65535]
absl::optional<int> maxRetransmitTime;
// The max number of retransmissions.
//
// Cannot be set along with |maxRetransmitTime|.
+ // Negative values are ignored, and positive values are clamped to [0-65535]
absl::optional<int> maxRetransmits;
// This is set by the application and opaque to the WebRTC implementation.