|
Public Member Functions |
| RTSPCacheDir () |
| ~RTSPCacheDir () |
bool | isCached (const MNString &URI) |
CacheEntry * | getEntry (const MNString &URI) |
CacheEntry * | getEntryWithToken (const MNString &URI) |
CacheEntry * | getEntryByFile (const MNString &filename) |
bool | releaseToken (const MNString &URI) |
bool | addEntry (const MNString &URI, const MNString &lpmoc, CacheEntry *Entry, bool save=true) |
bool | addEntry (const MNString &URI, const MNString &file, const MNString &lpmoc, SDPSessionDescription *SDP, bool save=true, long file_size=0) |
bool | delEntry (const MNString &URI) |
bool | setLocalFile (MNString file) |
bool | setSDP (const SDPSessionDescription &SDP) |
bool | setComplete (bool complete) |
bool | checkSpace (int32_t bwidth, int32_t duration, int64_t &file_size) |
void | setFileComplete (const char *filename, bool comp) |
void | setSpaceBytes (u_int64_t space) |
bool | removeFirstFile () |
bool | removeFirstUnusedFile () |
u_int64_t | getSpaceBytes () const |