MediaProjectionVideoSourceFactory

constructor(mediaProjection: MediaProjection, overrideRotation: Int? = null)

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.