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

Method OpenClient

apps/transmitmedia.cpp:395–405  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

393}
394
395void SrtCommon::OpenClient(string host, int port)
396{
397 PrepareClient();
398
399 if (m_outgoing_port || m_adapter != "")
400 {
401 SetupAdapter(m_adapter, m_outgoing_port);
402 }
403
404 ConnectClient(host, port);
405}
406
407void SrtCommon::PrepareClient()
408{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected