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

Method SrtSource

apps/transmitmedia.cpp:519–526  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

517}
518
519SrtSource::SrtSource(string host, int port, const map<string,string>& par)
520{
521 Init(host, port, par, false);
522
523 ostringstream os;
524 os << host << ":" << port;
525 hostport_copy = os.str();
526}
527
528int SrtSource::Read(size_t chunk, MediaPacket& pkt, ostream &out_stats)
529{

Callers

nothing calls this directly

Calls 1

strMethod · 0.45

Tested by

no test coverage detected