setCacheDir

Sets the storage path for cached media files.

virtual int setCacheDir(const char *path) = 0;
Note: Make sure to initialize IRtcEngine before calling this method.

Parameters

path
The absolute path to store cached media files.
Note: Ensure the directory exists and is writable.

Return Values