MCPcopy Create free account
hub / github.com/GrapheneCt/NetStream / GetInfoForPlayer

Method GetInfoForPlayer

NetStream/source/browsers/local_server_browser.cpp:53–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51}
52
53void LocalServerBrowser::GetInfoForPlayer(string const& in, string& url, GenericPlayer::Option **opt)
54{
55 string fullPath = m_path + in;
56
57 if (!utils::IsLocalPath(in.c_str()))
58 {
59 url = in;
60 }
61 else
62 {
63 url = fullPath;
64 }
65 *opt = NULL;
66}
67
68void LocalServerBrowser::SetPath(const char *ref)
69{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected