Table of Contents

Class WebCameraSource

Namespace
LiveKit
public class WebCameraSource : RtcVideoSource, IDisposable
Inheritance
WebCameraSource
Implements
Inherited Members
Extension Methods

Constructors

WebCameraSource(WebCamTexture, VideoBufferType)

public WebCameraSource(WebCamTexture texture, VideoBufferType bufferType = VideoBufferType.Rgba)

Parameters

texture WebCamTexture
bufferType VideoBufferType

Properties

CamTexture

public WebCamTexture CamTexture { get; }

Property Value

WebCamTexture

Methods

~WebCameraSource()

protected ~WebCameraSource()

GetHeight()

public override int GetHeight()

Returns

int

GetVideoRotation()

protected override VideoRotation GetVideoRotation()

Returns

VideoRotation

GetWidth()

public override int GetWidth()

Returns

int

ReadBuffer()

protected override bool ReadBuffer()

Returns

bool