Interface VideoSurfaceAdapter
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
LinuxVideoSurfaceAdapter
,OsxVideoSurfaceAdapter
,WindowsVideoSurfaceAdapter
public interface VideoSurfaceAdapter extends Serializable
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
attach(MediaPlayer mediaPlayer, long componentId)
Attach a video surface to a media player.
-
-
-
Method Detail
-
attach
void attach(MediaPlayer mediaPlayer, long componentId)
Attach a video surface to a media player.- Parameters:
mediaPlayer
- media player instancecomponentId
- native id of the video surface component
-
-