Skip to main content
Version: 20 Mar 2024

MLWebRTCSource

The native representation of an MLWebRTC source.

Public Fields

Data

Gets an MLWebRTC.Source object from the data of this object.


public MLWebRTC.MediaStream.Track Data { get; set; }

TypeDescription
MLWebRTC.MediaStream.TrackStruct that represents a media stream track object.

Public Methods

MLWebRTCSource Create

Creates and returns an initialized version of this struct from a native MLWebRTCSource object.

public static MLWebRTCSource Create()

Returns: An initialized version of this struct.


Public Attributes

Handle

Handle of the struct.


public ulong Handle;


Type

Type of the struct.


public MLWebRTC.MediaStream.Track.Type Type;

TypeDescription
MLWebRTC.MediaStream.Track.TypeDefines the types of tracks that can exist.

Version

Version of the struct.


public uint Version;