MediaProjectionVideoSourceFactory
class MediaProjectionVideoSourceFactory(mediaProjection: MediaProjection, overrideRotation: Int? = null) : IVideoSourceInternal.Factory
A factory to create a MediaProjectionVideoSourceFactory.
Parameters
mediaProjection
The media projection
overrideRotation
The override rotation. If null, the rotation is taken from the device orientation. Use this to force a specific rotation of the media projection surface.
Functions
Link copied to clipboard
open suspend override fun create(context: Context, dispatcherProvider: IVideoDispatcherProvider): IVideoSourceInternal
Creates an IVideoSourceInternal instance.
Link copied to clipboard
Whether the source that will be created by create is equal to another source.