Module uk.co.caprica.vlcj
Interface VideoSurfaceAdapter
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
LinuxVideoSurfaceAdapter
,OsxVideoSurfaceAdapter
,WindowsVideoSurfaceAdapter
Specification for a component that can attach a video surface to a native media player instance.
An adapter is needed since attaching a video surface uses an operating system-specific implementation.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
attach
(MediaPlayer mediaPlayer, long componentId) Attach a video surface to a media player.
-
Method Details
-
attach
Attach a video surface to a media player.- Parameters:
mediaPlayer
- media player instancecomponentId
- native id of the video surface component
-