Class MediaTrack
Base class for media tracks sending to or receiving from the remote peer.
Namespace: Microsoft.MixedReality.WebRTC
Assembly: Microsoft.MixedReality.WebRTC.dll
Syntax
public abstract class MediaTrack : object
Properties
| Improve this Doc View SourceName
Track name as specified during creation. This property is immutable. For remote tracks the property is specified by the remote peer.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
String |
PeerConnection
Peer connection this media track is added to, if any.
This is null
after the track has been removed from the peer connection.
Declaration
public PeerConnection PeerConnection { get; protected set; }
Property Value
Type | Description |
---|---|
PeerConnection |
Transceiver
Transceiver this track is attached to, if any.
Declaration
public Transceiver Transceiver { get; protected set; }
Property Value
Type | Description |
---|---|
Transceiver |
Methods
| Improve this Doc View SourceToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String |