Class RTCTrackEvent
Represents an event triggered when a track is added to a peer connection.
Namespace: Unity.WebRTC
Assembly: Unity.WebRTC.dll
Syntax
public class RTCTrackEvent
Properties
Receiver
The receiver associated with the track event.
Declaration
public RTCRtpReceiver Receiver { get; }
Property Value
Type | Description |
---|---|
RTCRtpReceiver |
Streams
The media streams associated with the track event.
Declaration
public IEnumerable<MediaStream> Streams { get; }
Property Value
Type | Description |
---|---|
IEnumerable<MediaStream> |
Track
The media track associated with the event.
Declaration
public MediaStreamTrack Track { get; }
Property Value
Type | Description |
---|---|
MediaStreamTrack |
Transceiver
The transceiver associated with the track event.
Declaration
public RTCRtpTransceiver Transceiver { get; }
Property Value
Type | Description |
---|---|
RTCRtpTransceiver |