Contents

hostPresentCount

The number of unique frames that the host has encoded since object creation.

Declaration

var hostPresentCount: Int { get }

Discussion

The value of this property can be smaller than the number of times you’ve called the encodeCurrentFrame(to:texture:region:) method if you encode the same frame multiple times.

See Also

Handling Frame Updates