Class ScreenSource
A ScreenCapture-based video source.
Inheritance
System.Object
    
    
    
    MediaSource<IVideoOutput, IVideoInput, IVideoInputCollection, VideoSource, VideoFrame, VideoBuffer, VideoBufferCollection, VideoFormat>
    
    
    
    ScreenSource
  Implements
Inherited Members
Namespace: FM.LiveSwitch.Unity
Assembly: FM.LiveSwitch.Unity.dll
Syntax
public class ScreenSource : Texture2DSourceBase, IVideoOutput, IMediaOutput<IVideoOutput, IVideoInput, VideoFrame, VideoBuffer, VideoBufferCollection, VideoFormat>, IOutput<IVideoOutput, IVideoInput, VideoFrame, VideoBuffer, VideoBufferCollection, VideoFormat>, IVideoElement, IMediaElement, IElement
  Constructors
ScreenSource()
Initializes a new instance of the ScreenSource class.
Declaration
public ScreenSource()
  ScreenSource(Int32)
Initializes a new instance of the ScreenSource class.
Declaration
public ScreenSource(int targetFrameRate)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | targetFrameRate | 
Properties
Label
Gets a label that identifies this class.
Declaration
public override string Label { get; }
  Property Value
| Type | Description | 
|---|---|
| System.String | 
Overrides
FM.LiveSwitch.MediaSource<FM.LiveSwitch.IVideoOutput, FM.LiveSwitch.IVideoInput, FM.LiveSwitch.IVideoInputCollection, FM.LiveSwitch.VideoSource, FM.LiveSwitch.VideoFrame, FM.LiveSwitch.VideoBuffer, FM.LiveSwitch.VideoBufferCollection, FM.LiveSwitch.VideoFormat>.Label
  Methods
GetTexture2D()
Gets the current Texture2D.
Declaration
protected override Texture2D GetTexture2D()
  Returns
| Type | Description | 
|---|---|
| Texture2D |