BaseSink.setAsyncEnabled

Configures sink to perform all state changes asynchronously. When async is disabled, the sink will immediately go to PAUSED instead of waiting for a preroll buffer. This feature is useful if the sink does not synchronize against the clock or when it is dealing with sparse streams.

class BaseSink
void
setAsyncEnabled
(
bool enabled
)

Parameters

enabled bool

the new async value.