Class EncodedMediaFrame
- Assembly
- VisioForge.Core.dll
Represents a single encoded media frame stored in the pre-event circular buffer. Contains a copy of the encoded frame data along with timing and keyframe information.
public sealed class EncodedMediaFrame : IDisposableInheritance
Implements
Inherited Members
Properties
Caps
Gets or sets the GStreamer caps string describing the encoded format.
public string Caps { get; set; }Property Value
Data
Gets or sets the encoded frame data (byte array copy of GStreamer buffer).
public byte[] Data { get; set; }Property Value
- byte[]
Dts
Gets or sets the decode timestamp in nanoseconds.
public ulong Dts { get; set; }Property Value
Duration
Gets or sets the frame duration in nanoseconds.
public ulong Duration { get; set; }Property Value
FrameType
Gets or sets the type of media (Video or Audio).
public EncodedMediaFrameType FrameType { get; set; }Property Value
IsKeyFrame
Gets or sets a value indicating whether this video frame is a keyframe (I-frame / IDR / sync point). Always false for audio frames.
public bool IsKeyFrame { get; set; }Property Value
Pts
Gets or sets the presentation timestamp in nanoseconds.
public ulong Pts { get; set; }Property Value
Size
Gets the frame size in bytes.
public int Size { get; }Property Value
Methods
Dispose()
Releases the frame data.
public void Dispose()