public class ScreenPusher
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
ScreenPusher.VideoSourceTextureListener |
Constructor and Description |
---|
ScreenPusher() |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
void |
getTransformMatrix(float[] matrix) |
void |
init(int source,
int width,
int height,
int fps,
int rotation,
android.content.Intent mediaProjectionPermissionResultData,
android.content.Context applicationContext) |
void |
setVideoSourceTextureListener(ScreenPusher.VideoSourceTextureListener listener) |
void |
start(int surfaceId) |
void |
stop() |
int |
updateTexImage() |
public void init(int source, int width, int height, int fps, int rotation, android.content.Intent mediaProjectionPermissionResultData, android.content.Context applicationContext)
public void start(int surfaceId) throws java.lang.Exception
java.lang.Exception
public void stop()
public void destroy()
public void setVideoSourceTextureListener(ScreenPusher.VideoSourceTextureListener listener)
public int updateTexImage()
public void getTransformMatrix(float[] matrix)