| 6 | * tree. An additional intellectual property rights grant can be found |
| 7 | * in the file PATENTS. All contributing project authors may |
| 8 | * be found in the AUTHORS file in the root of the source tree. |
| 9 | */ |
| 10 |
| 11 | #include "api/data_channel_interface.h" |
| 12 |
| 13 | namespace webrtc { |
| 14 |
| 15 | bool DataChannelInterface::ordered() const { |
| 16 | return false; |
| 17 | } |
| 18 |
| 19 | uint16_t DataChannelInterface::maxRetransmitTime() const { |
| 20 | return 0; |
| 21 | } |
| 22 |
| 23 | uint16_t DataChannelInterface::maxRetransmits() const { |
| 24 | return 0; |
| 25 | } |
| 26 |
| 27 | absl::optional<int> DataChannelInterface::maxRetransmitsOpt() const { |
| 28 | return absl::nullopt; |
| 29 | } |
| 30 |
| 31 | absl::optional<int> DataChannelInterface::maxPacketLifeTime() const { |
| 32 | return absl::nullopt; |
| 33 | } |
| 34 |
| 35 | std::string DataChannelInterface::protocol() const { |
| 36 | return std::string(); |
| 37 | } |
| 38 |
| 39 | bool DataChannelInterface::negotiated() const { |
| 40 | return false; |
| 41 | } |
| 42 |
| 43 | uint64_t DataChannelInterface::MaxSendQueueSize() { |
| 44 | return 16 * 1024 * 1024; // 16 MiB |
| 45 | } |
| 46 |
| 47 | } // namespace webrtc |
| 48 |