#include <GPACFileMediaServer.h>
|
virtual NPT_Result | OnBrowseDirectChildren (PLT_ActionReference &action, const char *object_id, const char *filter, NPT_UInt32 starting_index, NPT_UInt32 requested_count, const char *sort_criteria, const PLT_HttpRequestContext &context) |
|
virtual NPT_Result | GetFilePath (const char *object_id, NPT_String &filepath) |
|
virtual NPT_Result | ServeFile (NPT_HttpRequest &request, const NPT_HttpRequestContext &context, NPT_HttpResponse &response, const NPT_String &file_path) |
|
virtual PLT_MediaObject * | BuildFromFilePath (const NPT_String &filepath, const PLT_HttpRequestContext &context, bool with_count=true, bool keep_extension_in_title=false) |
|
PLT_MediaObject * | BuildFromFilePathAndHost (const NPT_String &filepath, const PLT_HttpRequestContext *context=0, bool with_count=true, bool keep_extension_in_title=false, const char *for_host=0) |
|
NPT_Result | ServeVirtualFile (NPT_HttpResponse &response, GPAC_VirtualFile *vfile, NPT_Position start, NPT_Position end, bool request_is_head) |
|
GPAC_FileMediaServer::GPAC_FileMediaServer |
( |
const char * |
friendly_name, |
|
|
bool |
show_ip = false , |
|
|
const char * |
uuid = 0 , |
|
|
NPT_UInt16 |
port = 0 |
|
) |
| |
void GPAC_FileMediaServer::AddSharedDirectory |
( |
const char * |
path, |
|
|
const char * |
alias, |
|
|
Bool |
is_hidden = GF_FALSE |
|
) |
| |
NPT_String GPAC_FileMediaServer::GetResourceURI |
( |
const char * |
file_path, |
|
|
const char * |
for_host |
|
) |
| |
void GPAC_FileMediaServer::ShareVirtualResource |
( |
const char * |
res_uri, |
|
|
const char * |
res_val, |
|
|
const char * |
res_mime, |
|
|
Bool |
temporary = GF_FALSE |
|
) |
| |
NPT_Result GPAC_FileMediaServer::OnBrowseDirectChildren |
( |
PLT_ActionReference & |
action, |
|
|
const char * |
object_id, |
|
|
const char * |
filter, |
|
|
NPT_UInt32 |
starting_index, |
|
|
NPT_UInt32 |
requested_count, |
|
|
const char * |
sort_criteria, |
|
|
const PLT_HttpRequestContext & |
context |
|
) |
| |
|
protectedvirtual |
NPT_Result GPAC_FileMediaServer::GetFilePath |
( |
const char * |
object_id, |
|
|
NPT_String & |
filepath |
|
) |
| |
|
protectedvirtual |
NPT_Result GPAC_FileMediaServer::ServeFile |
( |
NPT_HttpRequest & |
request, |
|
|
const NPT_HttpRequestContext & |
context, |
|
|
NPT_HttpResponse & |
response, |
|
|
const NPT_String & |
file_path |
|
) |
| |
|
protectedvirtual |
PLT_MediaObject * GPAC_FileMediaServer::BuildFromFilePath |
( |
const NPT_String & |
filepath, |
|
|
const PLT_HttpRequestContext & |
context, |
|
|
bool |
with_count = true , |
|
|
bool |
keep_extension_in_title = false |
|
) |
| |
|
protectedvirtual |
PLT_MediaObject * GPAC_FileMediaServer::BuildFromFilePathAndHost |
( |
const NPT_String & |
filepath, |
|
|
const PLT_HttpRequestContext * |
context = 0 , |
|
|
bool |
with_count = true , |
|
|
bool |
keep_extension_in_title = false , |
|
|
const char * |
for_host = 0 |
|
) |
| |
|
protected |
NPT_Result GPAC_FileMediaServer::ServeVirtualFile |
( |
NPT_HttpResponse & |
response, |
|
|
GPAC_VirtualFile * |
vfile, |
|
|
NPT_Position |
start, |
|
|
NPT_Position |
end, |
|
|
bool |
request_is_head |
|
) |
| |
|
protected |
The documentation for this class was generated from the following files: