You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
1.0 KiB

​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. /*
  2. * Copyright 2018 The WebRTC project authors. All Rights Reserved.
  3. *
  4. * Use of this source code is governed by a BSD-style license
  5. * that can be found in the LICENSE file in the root of the source
  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. #include "api/data_channel_interface.h"
  11. namespace webrtc {
  12. bool DataChannelInterface::ordered() const {
  13. return false;
  14. }
  15. uint16_t DataChannelInterface::maxRetransmitTime() const {
  16. return 0;
  17. }
  18. uint16_t DataChannelInterface::maxRetransmits() const {
  19. return 0;
  20. }
  21. absl::optional<int> DataChannelInterface::maxRetransmitsOpt() const {
  22. return absl::nullopt;
  23. }
  24. absl::optional<int> DataChannelInterface::maxPacketLifeTime() const {
  25. return absl::nullopt;
  26. }
  27. std::string DataChannelInterface::protocol() const {
  28. return std::string();
  29. }
  30. bool DataChannelInterface::negotiated() const {
  31. return false;
  32. }
  33. } // namespace webrtc