config

fun config(looper: Looper = Looper.myLooper() ?: Looper.getMainLooper(), callback: RawVideoSink.Callback): Stream.Sink.Config

Creates a new RawVideoSink configuration.

Parameters

looper

looper onto which callbacks will be invoked; by default, either the current thread looper in case the current thread has a looper attached, otherwise the main thread looper.

callback

callback notified of sink events.