Node.js SDK - Runtime.startExportingCaptureStreamToFile()

Home > rainway-sdk-native > Runtime > startExportingCaptureStreamToFile

Runtime.startExportingCaptureStreamToFile() method

Starts exporting the locally captured audio and video stream to a pair of files in the specified directory.

Signature:

startExportingCaptureStreamToFile(path: string): Promise<FilePaths>;

Parameters

ParameterTypeDescription
pathstringpath to a directory where the exported files should be stored. The files will be prefixed with the guest's external ID.

Returns:

Promise<FilePaths>

Complete file paths for the audio and video files.