TrackContent

Which media streams a track contributes to the output.

A music bed is Audio, and anything read straight from a camera roll is AudioAndVideo. Only the primary track may carry video, so a later track set to Video or AudioAndVideo is refused at plan time. Selecting one here drops the other before mixing, rather than muting it.

Entries

Link copied to clipboard

Audio only. Video from these clips is never decoded.

Link copied to clipboard

Video only. Audio from these clips is never decoded.

Link copied to clipboard

Both, which is what a plain video clip contributes.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
expect val name: String
Link copied to clipboard
expect val ordinal: Int

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.