Contents

outputPresentationCommands(for:)

This function returns all presentation commands to be muxed into an MOV during an AVAssetWriter session. Don’t use this function for playback rendering.

Declaration

func outputPresentationCommands(for time: CMTime) -> [PresentationCommand]?

Parameters

  • time:

    PTS time to query for commands

Return Value

An array of PresentationCommand instances representing the commands that need to be included in the output file for that PTS.