Interface IVideoTrack
Video track interface.
Inherited Members
Namespace: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public interface IVideoTrack : IMediaTrack
Properties
Size
Gets the size of the last processed video frame, if known.
Declaration
Size Size { get; }
Property Value
Type | Description |
---|---|
Size |
Methods
GrabFrame()
Grabs the next raw video frame.
Declaration
Future<VideoBuffer> GrabFrame()
Returns
Type | Description |
---|---|
Future<VideoBuffer> |
Events
OnSize
Raised whenever the video's frame size is known, once per frame.
Declaration
event Action1<Size> OnSize
Event Type
Type | Description |
---|---|
Action1<Size> |
OnSizeChange
Raised whenever the video's frame size changes.
Declaration
event Action1<Size> OnSizeChange
Event Type
Type | Description |
---|---|
Action1<Size> |