Class CameraVideoSource
- Namespace
- LiveKit
public class CameraVideoSource : RtcVideoSource, IDisposable
- Inheritance
-
CameraVideoSource
- Implements
- Inherited Members
- Extension Methods
Constructors
CameraVideoSource(Camera, VideoBufferType)
public CameraVideoSource(Camera camera, VideoBufferType bufferType = VideoBufferType.Rgba)
Parameters
cameraCamerabufferTypeVideoBufferType
Properties
Camera
public Camera Camera { get; }
Property Value
- Camera
Methods
~CameraVideoSource()
protected ~CameraVideoSource()
GetHeight()
public override int GetHeight()
Returns
GetVideoRotation()
protected override VideoRotation GetVideoRotation()
Returns
GetWidth()
public override int GetWidth()
Returns
ReadBuffer()
protected override bool ReadBuffer()
Returns
Stop()
public override void Stop()