DispatcherProvider
data class DispatcherProvider(val audioThreadPriority: Int = Process.THREAD_PRIORITY_AUDIO, val videoThreadPriority: Int = defaultVideoPriorityValue) : IDispatcherProvider
A default implementation of IDispatcherProvider.
Functions
Link copied to clipboard
open override fun createAudioDispatcher(numOfThread: Int, componentName: String): ExecutorCoroutineDispatcher
Creates a CoroutineDispatcher for audio processing with audioThreadPriority.
Link copied to clipboard
open override fun createVideoDispatcher(numOfThread: Int, componentName: String): ExecutorCoroutineDispatcher
Creates a CoroutineDispatcher for video processing with videoThreadPriority.
Link copied to clipboard
Creates an Executor for video processing with videoThreadPriority.
Link copied to clipboard
Creates an Handler for video processing with videoThreadPriority.