aboutsummaryrefslogtreecommitdiffstats
path: root/libtransport/src/protocols/rtc.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libtransport/src/protocols/rtc.cc')
-rw-r--r--libtransport/src/protocols/rtc.cc20
1 files changed, 1 insertions, 19 deletions
diff --git a/libtransport/src/protocols/rtc.cc b/libtransport/src/protocols/rtc.cc
index 4fb352623..3b10c7467 100644
--- a/libtransport/src/protocols/rtc.cc
+++ b/libtransport/src/protocols/rtc.cc
@@ -52,26 +52,8 @@ int RTCTransportProtocol::start() {
probeRtt();
sentinelTimer();
newRound();
- scheduleNextInterests();
-
- is_first_ = false;
- is_running_ = true;
-
- if (is_async_) {
- portal_->runEventsLoop();
- is_running_ = false;
- }
- return 0;
-}
-
-void RTCTransportProtocol::stop() {
- if (!is_running_) return;
- is_running_ = false;
-
- if (is_async_) {
- portal_->stopEventsLoop();
- }
+ return TransportProtocol::start();
}
void RTCTransportProtocol::resume() {