filePath property

String filePath
getter/setter pair

Field description: address of the recording file, which is required. Please ensure that the path is valid with read/write permissions; otherwise, the recording file cannot be generated.

Note: this path must be accurate to the file name and extension. The extension determines the format of the recording file. Currently, only the MP4 format is supported. For example, if you specify the path as mypath/record/test.mp4, it means that you want the SDK to generate a local video file in MP4 format. Please specify a valid path with read/write permissions; otherwise, the recording file cannot be generated.

Implementation

String filePath;