public class CanvasVideoSurface extends VideoSurface
| Constructor and Description |
|---|
CanvasVideoSurface(Canvas canvas,
VideoSurfaceAdapter videoSurfaceAdapter)
Create a new video surface.
|
| Modifier and Type | Method and Description |
|---|---|
void |
attach(LibVlc libvlc,
MediaPlayer mediaPlayer)
Attach the video surface to a media player.
|
Canvas |
canvas()
Get the canvas.
|
public CanvasVideoSurface(Canvas canvas, VideoSurfaceAdapter videoSurfaceAdapter)
canvas - video surface componentvideoSurfaceAdapter - adapter to attach a video surface to a native media playerpublic final Canvas canvas()
public void attach(LibVlc libvlc, MediaPlayer mediaPlayer)
VideoSurfaceattach in class VideoSurfacelibvlc - native library interfacemediaPlayer - media player instanceCopyright © 2009-2012 Caprica Software Limited. All Rights Reserved.