Package tvi.webrtc
Interface CameraSession
- All Known Implementing Classes:
Camera1Session
,Camera2Session
public interface CameraSession
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
static interface
static enum
-
Method Summary
Modifier and TypeMethodDescriptionstatic VideoFrame.TextureBuffer
createTextureBufferWithModifiedTransformMatrix
(TextureBufferImpl buffer, boolean mirror, int rotation) static int
getDeviceOrientation
(android.content.Context context) void
stop()
Stops the capture.
-
Method Details
-
stop
void stop()Stops the capture. Waits until no more calls to capture observer will be made. If waitCameraStop is true, also waits for the camera to stop. -
getDeviceOrientation
static int getDeviceOrientation(android.content.Context context) -
createTextureBufferWithModifiedTransformMatrix
static VideoFrame.TextureBuffer createTextureBufferWithModifiedTransformMatrix(TextureBufferImpl buffer, boolean mirror, int rotation)
-