drive
expect suspend fun drive(input: Flow<Frame>, onProgress: (framesEncoded: Long) -> Unit? = null, progressEveryNFrames: Int = 30)
Drain input into this encoder + the parent muxer. Returns when the flow completes. Reports progress every progressEveryNFrames via onProgress (the encoded-frame count).
actual suspend fun drive(input: Flow<Frame>, onProgress: (framesEncoded: Long) -> Unit?, progressEveryNFrames: Int)
Drain input into this encoder + the parent muxer. Returns when the flow completes. Reports progress every progressEveryNFrames via onProgress (the encoded-frame count).
actual suspend fun drive(input: Flow<Frame>, onProgress: (framesEncoded: Long) -> Unit?, progressEveryNFrames: Int)
Drain input into this encoder + the parent muxer. Returns when the flow completes. Reports progress every progressEveryNFrames via onProgress (the encoded-frame count).