Class AudioStreamTrack
Inheritance
AudioStreamTrack
Syntax
public class AudioStreamTrack : MediaStreamTrack, IDisposable
Constructors
AudioStreamTrack()
Declaration
public AudioStreamTrack()
AudioStreamTrack(AudioSource)
Declaration
public AudioStreamTrack(AudioSource source)
Parameters
Properties
Loopback
This flag only works on sender side track.
If True, Send audio input to remote and Play audio in local.
If False, only send to remote. Not play audio in local.
Declaration
public bool Loopback { get; set; }
Property Value
Source
Declaration
public AudioSource Source { get; }
Property Value
Methods
Dispose()
Declaration
public override void Dispose()
Overrides
SetData(Single[], Int32, Int32)
Declaration
public void SetData(float[] array, int channels, int sampleRate)
Parameters
SetData(ref NativeArray<Single>, Int32, Int32)
Declaration
public void SetData(ref NativeArray<float> nativeArray, int channels, int sampleRate)
Parameters
SetData(ref NativeSlice<Single>, Int32, Int32)
Declaration
public void SetData(ref NativeSlice<float> nativeSlice, int channels, int sampleRate)
Parameters