Class AudioTrackSource
This component represents an audio track source generating audio frames for one or more audio tracks.
Inherited Members
Namespace: Microsoft.MixedReality.WebRTC.Unity
Assembly: cs.temp.dll.dll
Syntax
public abstract class AudioTrackSource : MediaTrackSource
Properties
IsLive
Indicates if the source is currently producing frames.
Declaration
public override bool IsLive { get; }
Property Value
Type | Description |
---|---|
Boolean |
Overrides
MediaKind
Media kind of the track source.
Declaration
public override MediaKind MediaKind { get; }
Property Value
Type | Description |
---|---|
MediaKind |
Overrides
Source
Audio track source object from the underlying C# library that this component encapsulates.
The object is owned by this component, which will create it and dispose of it automatically.
Declaration
public AudioTrackSource Source { get; }
Property Value
Type | Description |
---|---|
AudioTrackSource |
Methods
AttachSource(AudioTrackSource)
Declaration
protected void AttachSource(AudioTrackSource source)
Parameters
Type | Name | Description |
---|---|---|
AudioTrackSource | source |
DisposeSource()
Declaration
protected void DisposeSource()