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

Method GetInfoForPlayer

NetStream/source/browsers/http_server_browser.cpp:109–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected