Interface ICustomVideoSource
ICustomVideoSource interface.
Namespace: VisioForge.Core.Types.VideoCapture
Assembly: VisioForge.Core.dll
Syntax
[JsonInterfaceConverter(typeof(JsonInterfaceConverter<ICustomVideoSource>))]
public interface ICustomVideoSource
Properties
VideoFrameRate
Gets or sets video frame rate.
Declaration
float VideoFrameRate { get; set; }
Property Value
Type | Description |
---|---|
float |
VideoHeight
Gets or sets video height.
Declaration
int VideoHeight { get; set; }
Property Value
Type | Description |
---|---|
int |
VideoWidth
Gets or sets video width.
Declaration
int VideoWidth { get; set; }
Property Value
Type | Description |
---|---|
int |
Methods
GetCameraInfo(string, string, string, out string, out Size)
Gets camera info.
Declaration
bool GetCameraInfo(string url, string username, string password, out string error, out Size videoSize)
Parameters
Type | Name | Description |
---|---|---|
string | url | URL. |
string | username | User name. |
string | password | Password. |
string | error | Error. |
Size | videoSize | Video size. |
Returns
Type | Description |
---|---|
bool | Returns bool. |
Start()
Starts.
Declaration
void Start()
VideoFillBuffer(RAWVideoFrame)
Fills video frame.
Declaration
void VideoFillBuffer(RAWVideoFrame frame)
Parameters
Type | Name | Description |
---|---|---|
RAWVideoFrame | frame | Frame. |
Events
OnVideoBuffer
Event fired on each video frame.
Declaration
event EventHandler<VideoFrameBufferEventArgs> OnVideoBuffer
Event Type
Type | Description |
---|---|
EventHandler<VideoFrameBufferEventArgs> |