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

Method GetInfoForPlayer

NetStream/source/browsers/ftp_server_browser.cpp:110–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108}
109
110void FtpServerBrowser::GetInfoForPlayer(string const& in, string& url, GenericPlayer::Option **opt)
111{
112 url = "http://";
113 CURLU *turl = curl_url_dup(m_url);
114 curl_url_set(turl, CURLUPART_URL, in.c_str(), 0);
115 char *result;
116 curl_url_get(turl, CURLUPART_URL, &result, 0);
117 url += result;
118 curl_free(result);
119 curl_url_cleanup(turl);
120 *opt = NULL;
121}
122
123void FtpServerBrowser::SetPath(const char *ref)
124{

Callers 1

OnPlayerCreateTimeoutMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected