public static interface WOWZRenderAPI.VideoFrameRenderer
Modifier and Type | Method and Description |
---|---|
boolean |
isWZVideoFrameRendererActive()
Checks whether the frame renderer is active.
|
void |
onWZVideoFrameRendererDraw(WOWZGLES.EglEnv eglEnv,
WOWZSize frameSize,
int frameRotation)
Called to render a frame of video to the viewport for the current OpenGL ES context.
|
void |
onWZVideoFrameRendererInit(WOWZGLES.EglEnv eglEnv)
Called at the beginning of a rendering cycle.
|
void |
onWZVideoFrameRendererRelease(WOWZGLES.EglEnv eglEnv)
Called at the end of a rendering cycle.
|
boolean isWZVideoFrameRendererActive()
onWZVideoFrameRendererDraw(WOWZGLES.EglEnv, WOWZSize, int)
will only be called on an active renderer.void onWZVideoFrameRendererInit(WOWZGLES.EglEnv eglEnv)
eglEnv
- The current OpenGL ES environment, which may be a different EglEnv than the one supplied with
each call to onWZVideoFrameRendererDraw(WOWZGLES.EglEnv, WOWZSize, int)
. See for onWZVideoFrameRendererDraw(WOWZGLES.EglEnv, WOWZSize, int)
for details.void onWZVideoFrameRendererDraw(WOWZGLES.EglEnv eglEnv, WOWZSize frameSize, int frameRotation)
onWZVideoFrameRendererInit(WOWZGLES.EglEnv)
and onWZVideoFrameRendererRelease(WOWZGLES.EglEnv eglEnv)
are shared contexts and can access the same EGL resources.eglEnv
- The current OpenGL ES environment.frameSize
- The size of the video frame, in pixels.frameRotation
- The angle to apply when rendering, in degrees (usually 0).void onWZVideoFrameRendererRelease(WOWZGLES.EglEnv eglEnv)
eglEnv
- The current OpenGL ES environment.© 2016 - 2018 Wowza Media Systems, LLC. All rights reserved. Terms | Privacy | Trademarks | Legal