MediaProjectionSource
Captures display video using an authorized MediaProjection.
Attach this source with MediaMixer.attachVideo. Closing the source stops the supplied projection and releases its virtual display.
Properties
Link copied to clipboard
The orientation of the video image.
Link copied to clipboard
Whether captured-content resize callbacks update the image orientation; defaults to true.
Link copied to clipboard
Valid pixels in the underlying hardware buffer, with exclusive right/bottom coordinates. Supply this when a producer crops from a nonzero origin: ImageReader can report only the cropped dimensions and lose that origin. Null uses the reader's reported crop.