MCPcopy Create free account
hub / github.com/TelegramMessenger/tgcalls / create_network

Method create_network

tgcalls/StaticThreads.cpp:94–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92 return init(std::unique_ptr<rtc::Thread>(rtc::Thread::Create()), name);
93 }
94 static Thread create_network(const std::string &name) {
95 return init(std::unique_ptr<rtc::Thread>(rtc::Thread::CreateWithSocketServer()), name);
96 }
97
98 static Thread init(Thread value, const std::string &name) {
99 value->SetName(name, nullptr);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected