Class VideoData
An object that holds video binary data.
public class VideoData
- Inheritance
-
VideoData
- Inherited Members
Constructors
VideoData(byte[], VideoFormat)
Create VideoData object.
public VideoData(byte[] videoData, VideoFormat videoFormat)
Parameters
videoDatabyte[]Video binary data.
videoFormatVideoFormatFormat of the video.
VideoData(string)
Create VideoData object.
public VideoData(string filePath)
Parameters
filePathstringPath to the video file. The video format will be deduced from the file extension.
VideoData(string, VideoFormat)
Create VideoData object.
public VideoData(string filePath, VideoFormat videoFormat)
Parameters
filePathstringPath to the video file.
videoFormatVideoFormatFormat of the video.
Properties
Data
Video binary data.
public byte[] Data { get; }
Property Value
- byte[]
Format
Video format.
public VideoFormat Format { get; }