public static interface WOWZRenderAPI.VideoFrameListener
Modifier and Type | Method and Description |
---|---|
boolean |
isWZVideoFrameListenerActive()
Checks whether the frame listener is active.
|
void |
onWZVideoFrameListenerFrameAvailable(WOWZGLES.EglEnv eglEnv,
WOWZSize frameSize,
int frameRotation,
long timecodeNanos)
Called after a frame has been rendered to the current OpenGL ES surface.
|
void |
onWZVideoFrameListenerInit(WOWZGLES.EglEnv eglEnv)
Called at the beginning of a rendering cycle.
|
void |
onWZVideoFrameListenerRelease(WOWZGLES.EglEnv eglEnv)
Called at the end of a rendering cycle.
|
boolean isWZVideoFrameListenerActive()
onWZVideoFrameListenerFrameAvailable(WOWZGLES.EglEnv, WOWZSize, int, long)
will only be called on an active listener.void onWZVideoFrameListenerInit(WOWZGLES.EglEnv eglEnv)
eglEnv
- The current OpenGL ES environment, which may be a different EglEnv than the one supplied with
each call to onWZVideoFrameListenerFrameAvailable(WOWZGLES.EglEnv, WOWZSize, int, long)
.
See onWZVideoFrameListenerFrameAvailable(WOWZGLES.EglEnv, WOWZSize, int, long)
for details.void onWZVideoFrameListenerFrameAvailable(WOWZGLES.EglEnv eglEnv, WOWZSize frameSize, int frameRotation, long timecodeNanos)
onWZVideoFrameListenerInit(WOWZGLES.EglEnv)
and onWZVideoFrameListenerRelease(WOWZGLES.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).timecodeNanos
- The frame timecode, in nanoseconds.void onWZVideoFrameListenerRelease(WOWZGLES.EglEnv eglEnv)
eglEnv
- The current OpenGL ES environment.© 2016 - 2019 Wowza Media Systems, LLC. All rights reserved. Terms | Privacy | Trademarks | Legal