It's responsible for answering incoming Heartbeat Requests, and to send requests itself when a connection is idle. When it receives a response, it will measure the RTT and if it doesn't receive a response in time, that will result in a TX error, which will eventually close the connection. Bug: webrtc:12614 Change-Id: I08371d9072ff0461f60e0a2f7696c0fd7ccb57c5 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/214129 Reviewed-by: Tommi <tommi@webrtc.org> Commit-Queue: Victor Boivie <boivie@webrtc.org> Cr-Commit-Position: refs/heads/master@{#33828}
26 lines
817 B
Plaintext
26 lines
817 B
Plaintext
# Copyright (c) 2021 The WebRTC project authors. All Rights Reserved.
|
|
#
|
|
# Use of this source code is governed by a BSD-style license
|
|
# that can be found in the LICENSE file in the root of the source
|
|
# tree. An additional intellectual property rights grant can be found
|
|
# in the file PATENTS. All contributing project authors may
|
|
# be found in the AUTHORS file in the root of the source tree.
|
|
|
|
import("../../webrtc.gni")
|
|
|
|
if (rtc_include_tests) {
|
|
rtc_test("dcsctp_unittests") {
|
|
testonly = true
|
|
deps = [
|
|
"../../test:test_main",
|
|
"common:dcsctp_common_unittests",
|
|
"packet:dcsctp_packet_unittests",
|
|
"public:dcsctp_public_unittests",
|
|
"rx:dcsctp_rx_unittests",
|
|
"socket:dcsctp_socket_unittests",
|
|
"timer:dcsctp_timer_unittests",
|
|
"tx:dcsctp_tx_unittests",
|
|
]
|
|
}
|
|
}
|