setCacheDir
Sets the storage path for cached media files.
int setCacheDir(String path);
Note: Make sure to initialize RtcEngine before calling this method.
Parameters
- path
- The absolute path for storing cached media files. Ensure the directory exists and is writable.
Return Values
- 0: Success.
- < 0: Failure. See MediaPlayerReason.