Class VideoSource
A YUV4MPEG-file-based video source.
Inheritance
System.Object
    
    
    
    MediaSource<IVideoOutput, IVideoInput, IVideoInputCollection, VideoSource, VideoFrame, VideoBuffer, VideoBufferCollection, VideoFormat>
    
    VideoSource
  Implements
Inherited Members
Namespace: FM.LiveSwitch.Yuv4Mpeg
Assembly: FM.LiveSwitch.dll
Syntax
public class VideoSource : VideoSource, IVideoOutput, IMediaOutput<IVideoOutput, IVideoInput, VideoFrame, VideoBuffer, VideoBufferCollection, VideoFormat>, IOutput<IVideoOutput, IVideoInput, VideoFrame, VideoBuffer, VideoBufferCollection, VideoFormat>, IVideoElement, IMediaElement, IElement
  Constructors
VideoSource(String)
Initializes a new instance of the VideoSource class.
Declaration
public VideoSource(string path)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | path | The path.  | 
      
Properties
Label
Gets the label.
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
  
  Path
Gets the path.
Declaration
public string Path { get; }
  Property Value
| Type | Description | 
|---|---|
| System.String | 
Methods
DoStart()
Starts the source.
Declaration
protected override Future<object> DoStart()
  Returns
| Type | Description | 
|---|---|
| Future<System.Object> | 
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>.DoStart()
  
  DoStop()
Stops the source.
Declaration
protected override Future<object> DoStop()
  Returns
| Type | Description | 
|---|---|
| Future<System.Object> | 
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>.DoStop()
  Events
OnEnded
Raised when the file ends.
Declaration
public event Action0 OnEnded
  Event Type
| Type | Description | 
|---|---|
| Action0 |