startPreview

Starts audio and video capture. If you can prefer to call SingleStreamer.setAudioConfig before starting preview. It is a shortcut for setPreview and startPreview.

Parameters

surfaceView

The SurfaceView used for camera preview

See also


Starts audio and video capture. If you can prefer to call SingleStreamer.setAudioConfig before starting preview. It is a shortcut for setPreview and startPreview.

Parameters

surfaceHolder

The SurfaceHolder used for camera preview

See also


Starts audio and video capture. If you can prefer to call SingleStreamer.setAudioConfig before starting preview. It is a shortcut for setPreview and startPreview.

Parameters

textureView

The TextureView used for camera preview

See also