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