Linux Video Player Surface
fun LinuxVideoPlayerSurface(playerState: LinuxVideoPlayerState, modifier: Modifier = Modifier, contentScale: ContentScale = ContentScale.Fit, overlay: @Composable () -> Unit = {}, isInFullscreenWindow: Boolean = false)
A composable function that renders a video player surface using a native GStreamer player via JNI with offscreen rendering.
Parameters
player State
The state object that encapsulates the native GStreamer player logic.
modifier
An optional Modifier for customizing the layout and appearance.
content Scale
Controls how the video content should be scaled inside the surface.
overlay
Optional composable content to be displayed on top of the video surface.
is In Fullscreen Window
Whether this surface is already being displayed in a fullscreen window.