Class VideoStreamTrack
Inheritance
VideoStreamTrack
Syntax
public class VideoStreamTrack : MediaStreamTrack, IDisposable
Constructors
VideoStreamTrack(Texture, Boolean)
Creates a new VideoStream object.
The track is created with a source.
Declaration
public VideoStreamTrack(Texture texture, bool needFlip = true)
Parameters
Properties
DataPtr
Declaration
public IntPtr DataPtr { get; }
Property Value
Decoding
Declaration
public bool Decoding { get; }
Property Value
Encoding
Declaration
public bool Encoding { get; }
Property Value
Texture
encoded / decoded texture
Declaration
public Texture Texture { get; }
Property Value
TexturePtr
encoded / decoded texture ptr
Declaration
public IntPtr TexturePtr { get; }
Property Value
Methods
Dispose()
Declaration
public override void Dispose()
Overrides
Events
OnVideoReceived
Declaration
public event OnVideoReceived OnVideoReceived
Event Type