Example #1
0
    public async void StopTracking()
    {
        //stop commiting frames to the recorder and finish writing
        cameraInput.Dispose();
        var path = await recorder.FinishWriting();

        //file name
        string filename = $"{title}_REC.mov";

        Debug.Log("dest: " + mediaDesitinationPath);

        //safe data in zip / gallery
        FileManagement.CopyFile(sourceFile: path, destFile: $"{mediaDesitinationPath}{filename}");
    }