% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/record.R
\name{cgv_record_stop}
\alias{cgv_record_stop}
\title{Stop the Active Recording}
\usage{
cgv_record_stop(viewer)
}
\arguments{
\item{viewer}{External pointer from \code{cgv_viewer()}.}
}
\value{
Invisibly, an integer vector \code{c(frames, fps)} reporting how
  many frames were written.
}
\description{
Closes the ffmpeg pipe (which finalises the output file) and frees the
recording state on the viewer.
}
