Contents

mediaTimeScale

The time scale of the track in the output file.

Declaration

var mediaTimeScale: CMTimeScale { get set }

Discussion

The default value is 0, which indicates that the input chooses an appropriate value, if applicable. It’s an error to set this value if the input’s media type is audio.

You can’t set this value after writing starts.

See Also

Configuring presentation