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
..
2019-04-08 16:58:07 +00:00
2019-04-04 09:00:16 +00:00
2019-04-04 09:00:16 +00:00
2019-04-08 16:58:07 +00:00
2019-01-25 20:29:58 +00:00
2019-04-08 22:41:24 +00:00
2019-01-28 18:56:02 +00:00
2019-02-26 18:32:22 +00:00
2019-02-21 13:20:53 +00:00
2019-01-28 18:56:02 +00:00
2019-02-01 15:02:36 +00:00
2019-03-19 16:48:47 +00:00
2019-01-28 18:56:02 +00:00
2019-03-27 07:23:41 +00:00
2019-04-09 08:32:43 +00:00
2019-04-09 08:32:43 +00:00
2019-01-28 11:17:00 +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
2019-02-27 18:55:15 +00:00
2019-02-21 16:38:37 +00:00
2019-02-21 16:38:37 +00:00
2019-01-11 17:11:39 +00:00
2019-01-15 13:15:58 +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
2019-03-19 08:13:13 +00:00
2019-03-19 08:13:13 +00:00
2019-04-02 10:13:36 +00:00
2019-01-30 16:16:51 +00:00
2019-01-30 16:16:51 +00:00
2019-01-30 16:16:51 +00:00
2019-01-11 17:11:39 +00:00
2019-02-08 22:51:37 +00:00
2019-02-08 22:51:37 +00:00
2019-03-01 20:32:16 +00:00
2019-03-11 08:04:09 +00:00
2019-03-11 08:04:09 +00:00
2019-01-31 13:23:33 +00:00
2019-04-03 09:41:38 +00:00
2019-04-03 09:41:38 +00:00
2019-01-11 17:11:39 +00:00
2019-01-11 17:11:39 +00:00
2019-01-25 20:29:58 +00:00
2019-03-11 10:15:52 +00:00
2019-03-11 10:15:52 +00:00
2019-03-01 20:32:16 +00:00
2019-01-29 02:33:50 +00:00
2019-01-25 20:29:58 +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
2019-01-25 20:29:58 +00:00
2019-03-22 16:47:56 +00:00
2019-01-31 13:23:33 +00:00
2019-01-31 13:23:33 +00:00
2019-03-01 20:32:16 +00:00
2019-04-03 09:41:38 +00:00
2019-03-19 08:13:13 +00:00
2019-04-02 18:46:54 +00:00
2019-04-02 18:46:54 +00:00
2019-03-19 19:37:15 +00:00
2019-03-05 22:49:48 +00:00
2019-04-09 08:32:43 +00:00
2019-04-09 08:32:43 +00:00
2019-03-27 18:14:00 +00:00
2019-03-19 19:37:15 +00:00
2019-01-31 13:23:33 +00:00
2019-01-25 20:29:58 +00:00
2019-03-05 17:51:14 +00:00
2019-01-31 13:23:33 +00:00
2019-04-08 22:41:24 +00:00
2019-03-21 15:23:05 +00:00
2019-03-21 15:23:05 +00:00
2019-04-09 08:16:20 +00:00
2019-04-09 08:16:20 +00:00
2019-02-27 15:08:34 +00:00
2019-02-27 15:08:34 +00:00
2019-04-08 10:27:06 +00:00
2019-04-08 10:27:06 +00:00
2019-02-27 15:08:34 +00:00
2019-01-11 17:11:39 +00:00
2019-02-27 15:08:34 +00:00
2019-02-27 15:08:34 +00:00
2019-04-09 07:34:38 +00:00
2019-04-09 07:34:38 +00:00
2019-02-28 12:38:30 +00:00
2019-04-09 07:34:38 +00:00
2019-01-29 09:45:21 +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
2019-01-11 17:11:39 +00:00
2019-01-11 17:11:39 +00:00
2019-01-31 13:23:33 +00:00
2019-01-11 17:11:39 +00:00
2019-01-11 17:11:39 +00:00
2019-01-29 02:33:50 +00:00
2019-01-11 17:11:39 +00:00
2019-01-11 17:11:39 +00:00
2019-02-11 12:47:51 +00:00
2019-02-11 12:47:51 +00:00
2019-04-04 09:00:16 +00:00
2019-02-27 01:46:50 +00:00
2019-02-27 01:46:50 +00:00
2019-01-11 17:11:39 +00:00
2019-01-29 02:33:50 +00:00
2019-02-20 16:02:59 +00:00
2019-01-11 17:11:39 +00:00
2019-03-11 14:47:15 +00:00
2019-03-25 08:52:45 +00:00
2019-03-25 08:52:45 +00:00
2019-02-28 10:15:05 +00:00
2019-02-28 10:15:05 +00:00
2019-02-28 10:15:05 +00:00
2019-04-09 08:32:43 +00:00
2019-04-09 08:32:43 +00:00
2019-01-11 17:11:39 +00:00
2019-04-08 22:41:24 +00:00
2019-04-08 22:41:24 +00:00
2019-01-11 17:11:39 +00:00
2019-03-20 06:10:31 +00:00
2019-01-11 17:11:39 +00:00
2019-01-11 17:11:39 +00:00
2019-01-29 02:33:50 +00:00
2019-02-27 21:00:58 +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
2019-01-11 17:11:39 +00:00
2019-01-11 17:11:39 +00:00
2019-03-05 22:49:48 +00:00
2019-04-08 16:58:07 +00:00
2019-01-25 20:29:58 +00:00
2019-01-31 13:23:33 +00:00
2019-03-19 16:48:47 +00:00
2019-03-19 16:48:47 +00:00
2019-03-27 18:14:00 +00:00
2019-03-27 18:14:00 +00:00
2019-03-27 18:14:00 +00:00
2019-01-11 17:11:39 +00:00
2019-01-11 17:11:39 +00:00
2019-01-28 09:53:50 +00:00
2019-01-11 17:11:39 +00:00
2019-02-05 15:12:20 +00:00
2019-02-05 15:12:20 +00:00
2019-04-04 09:00:16 +00:00
2019-04-04 09:00:16 +00:00
2019-04-08 16:58:07 +00:00
2019-01-11 17:11:39 +00:00
2019-01-21 07:33:35 +00:00
2019-04-08 16:58:07 +00:00
2019-01-25 20:29:58 +00:00
2019-03-01 20:32:16 +00:00
2019-03-01 20:32:16 +00:00
2019-04-02 10:13:36 +00:00
2019-01-29 02:33:50 +00:00
2019-01-28 18:56:02 +00:00