flush

inline suspend fun AudioDecoder.flush()(source)

The flush() method of the AudioDecoder interface returns a Promise that resolves once all pending messages in the queue have been completed.

MDN Reference


inline suspend fun AudioEncoder.flush()(source)

The flush() method of the AudioEncoder interface returns a Promise that resolves once all pending messages in the queue have been completed.

MDN Reference


inline suspend fun VideoDecoder.flush()(source)

The flush() method of the VideoDecoder interface returns a Promise that resolves once all pending messages in the queue have been completed.

MDN Reference


inline suspend fun VideoEncoder.flush()(source)

The flush() method of the VideoEncoder interface forces all pending encodes to complete.

MDN Reference