MCPcopy Create free account
hub / github.com/Haivision/srt / SrtSource

Method SrtSource

testing/testmedia.cpp:1604–1610  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1602#endif
1603
1604SrtSource::SrtSource(string host, int port, std::string path, const map<string,string>& par)
1605{
1606 Init(host, port, path, par, SRT_EPOLL_IN);
1607 ostringstream os;
1608 os << host << ":" << port;
1609 hostport_copy = os.str();
1610}
1611
1612static void PrintSrtStats(SRTSOCKET sock, bool clr, bool bw, bool stats)
1613{

Callers

nothing calls this directly

Calls 1

strMethod · 0.45

Tested by

no test coverage detected