Harald Alvestrand
f3736ed3d8
Datachannel: Use absl::optional for maxRetransmits and maxRetransmitTime.
...
These parameters are nullable in the JS API.
This allows cleaner handling of "unset" vs "set" in Chrome.
Backwards compatibility note: Behavior should not change, even for users
who set the values explicitly to -1 in the DataChannelInit struct.
Those who try to read back the value will get a compile-time error.
Bug: chromium:854385
Change-Id: Ib488ca5f70bc24ba8b4a3f71b506434c4d2c60b2
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/131381
Reviewed-by: Henrik Boström <hbos@webrtc.org>
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Commit-Queue: Harald Alvestrand <hta@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#27507}
2019-04-09 08:32:43 +00:00
..
2018-09-17 10:06:57 +00:00
2018-09-17 10:06:57 +00:00
2019-01-11 17:11:39 +00:00
2018-09-17 10:06:57 +00:00
2019-01-11 17:11:39 +00:00
2018-11-14 18:55:50 +00:00
2019-01-11 17:11:39 +00:00
2019-01-11 17:11:39 +00:00
2019-01-11 17:11:39 +00:00
2018-10-25 17:59:48 +00:00
2018-10-25 17:59:48 +00:00
2018-09-17 10:06:57 +00:00
2019-01-25 20:29:58 +00:00
2018-09-17 10:06:57 +00:00
2019-04-09 08:32:43 +00:00
2019-01-11 17:11:39 +00:00
2018-09-17 10:06:57 +00:00
2019-01-11 17:11:39 +00:00
2019-01-11 17:11:39 +00:00
2019-02-08 08:56:23 +00:00
2019-03-07 10:12:57 +00:00
2019-03-06 13:15:53 +00:00
2019-03-06 13:15:53 +00:00
2018-09-17 10:06:57 +00:00
2019-01-11 17:11:39 +00:00
2018-09-17 10:06:57 +00:00
2018-09-17 10:06:57 +00:00
2018-09-12 10:46:04 +00:00
2019-01-11 17:11:39 +00:00
2019-01-11 17:11:39 +00:00
2018-09-17 10:06:57 +00:00
2019-01-11 17:11:39 +00:00
2019-02-08 14:45:00 +00:00
2019-02-14 12:07:07 +00:00
2019-02-14 12:07:07 +00:00
2018-09-17 10:06:57 +00:00
2019-01-11 17:11:39 +00:00
2018-09-17 10:06:57 +00:00
2019-01-11 17:11:39 +00:00
2018-09-17 10:06:57 +00:00
2019-01-11 17:11:39 +00:00
2018-09-17 10:06:57 +00:00
2018-09-28 07:21:07 +00:00
2019-02-27 09:29:29 +00:00
2019-01-28 09:53:50 +00:00
2019-01-11 17:11:39 +00:00
2019-02-27 09:29:29 +00:00
2018-09-17 10:06:57 +00:00
2019-01-14 14:56:40 +00:00
2019-01-25 20:29:58 +00:00
2019-01-25 20:29:58 +00:00
2019-01-25 20:29:58 +00:00
2018-10-08 18:11:06 +00:00
2018-11-21 18:52:45 +00:00
2018-11-21 18:52:45 +00:00
2019-01-11 17:11:39 +00:00
2018-09-17 10:06:57 +00:00
2019-01-11 17:11:39 +00:00
2018-09-17 10:06:57 +00:00
2019-01-11 17:11:39 +00:00
2019-01-11 17:11:39 +00:00
2019-03-27 17:35:20 +00:00
2019-03-27 17:35:20 +00:00
2019-01-11 17:11:39 +00:00
2018-09-17 10:06:57 +00:00
2019-01-11 17:11:39 +00:00
2018-09-17 10:06:57 +00:00
2019-01-11 17:11:39 +00:00
2018-09-17 10:06:57 +00:00
2019-01-11 17:11:39 +00:00
2019-01-25 20:29:58 +00:00
2019-01-11 17:11:39 +00:00
2018-09-17 10:06:57 +00:00
2019-01-11 17:11:39 +00:00
2019-01-25 20:29:58 +00:00
2019-01-11 17:11:39 +00:00
2018-10-31 12:20:05 +00:00
2019-01-11 17:11:39 +00:00
2018-09-17 10:06:57 +00:00
2019-01-11 17:11:39 +00:00
2019-02-21 18:29:16 +00:00
2019-02-21 18:29:16 +00:00
2019-02-21 18:29:16 +00:00
2018-12-12 12:48:15 +00:00
2018-09-17 10:06:57 +00:00
2019-01-11 17:11:39 +00:00
2019-01-11 17:11:39 +00:00
2018-09-17 10:06:57 +00:00
2019-01-11 17:11:39 +00:00