Class NullAudioSource
An audio source that raises nothing.
Inheritance
System.Object
Foundation.NSObject
NullAudioSource
Implements
System.IEquatable<Foundation.NSObject>
Foundation.INSObjectProtocol
ObjCRuntime.INativeObject
System.IDisposable
Inherited Members
Foundation.NSObject.MonoMacAssembly
Foundation.NSObject.PlatformAssembly
Foundation.NSObject.Dispose()
Foundation.NSObject.IsNewRefcountEnabled()
Foundation.NSObject.MarkDirty()
Foundation.NSObject.ConformsToProtocol(System.IntPtr)
Foundation.NSObject.DangerousRelease()
Foundation.NSObject.DangerousRetain()
Foundation.NSObject.DangerousAutorelease()
Foundation.NSObject.GetNativeField(System.String)
Foundation.NSObject.SetNativeField(System.String, Foundation.NSObject)
Foundation.NSObject.BeginInvokeOnMainThread(ObjCRuntime.Selector, Foundation.NSObject)
Foundation.NSObject.InvokeOnMainThread(ObjCRuntime.Selector, Foundation.NSObject)
Foundation.NSObject.BeginInvokeOnMainThread(System.Action)
Foundation.NSObject.InvokeOnMainThread(System.Action)
Foundation.NSObject.FromObject(System.Object)
Foundation.NSObject.SetValueForKeyPath(System.IntPtr, Foundation.NSString)
Foundation.NSObject.GetHashCode()
Foundation.NSObject.Equals(System.Object)
Foundation.NSObject.Equals(Foundation.NSObject)
Foundation.NSObject.ToString()
Foundation.NSObject.Invoke(System.Action, System.Double)
Foundation.NSObject.Invoke(System.Action, System.TimeSpan)
Foundation.NSObject.Dispose(System.Boolean)
Foundation.NSObject.AddObserver(System.String, Foundation.NSKeyValueObservingOptions, System.Action<Foundation.NSObservedChange>)
Foundation.NSObject.AddObserver(Foundation.NSString, Foundation.NSKeyValueObservingOptions, System.Action<Foundation.NSObservedChange>)
Foundation.NSObject.AddObserver(Foundation.NSObject, Foundation.NSString, Foundation.NSKeyValueObservingOptions, System.IntPtr)
Foundation.NSObject.AddObserver(Foundation.NSObject, System.String, Foundation.NSKeyValueObservingOptions, System.IntPtr)
Foundation.NSObject.AutomaticallyNotifiesObserversForKey(System.String)
Foundation.NSObject.AwakeFromNib()
Foundation.NSObject.Bind(Foundation.NSString, Foundation.NSObject, System.String, Foundation.NSDictionary)
Foundation.NSObject.CancelPreviousPerformRequest(Foundation.NSObject)
Foundation.NSObject.CancelPreviousPerformRequest(Foundation.NSObject, ObjCRuntime.Selector, Foundation.NSObject)
Foundation.NSObject.CommitEditing()
Foundation.NSObject.CommitEditing(Foundation.NSObject, ObjCRuntime.Selector, System.IntPtr)
Foundation.NSObject.Copy()
Foundation.NSObject.DidChange(Foundation.NSKeyValueChange, Foundation.NSIndexSet, Foundation.NSString)
Foundation.NSObject.DidChange(Foundation.NSString, Foundation.NSKeyValueSetMutationKind, Foundation.NSSet)
Foundation.NSObject.DidChangeValue(System.String)
Foundation.NSObject.DoesNotRecognizeSelector(ObjCRuntime.Selector)
Foundation.NSObject.ExposedBindings()
Foundation.NSObject.GetBindingInfo(Foundation.NSString)
Foundation.NSObject.GetBindingOptionDescriptions(Foundation.NSString)
Foundation.NSObject.GetBindingValueClass(Foundation.NSString)
Foundation.NSObject.GetDefaultPlaceholder(Foundation.NSObject, System.String)
Foundation.NSObject.GetDefaultPlaceholder(Foundation.NSObject, Foundation.NSString)
Foundation.NSObject.GetDictionaryOfValuesFromKeys(Foundation.NSString[])
Foundation.NSObject.GetKeyPathsForValuesAffecting(Foundation.NSString)
Foundation.NSObject.GetMethodForSelector(ObjCRuntime.Selector)
Foundation.NSObject.GetNativeHash()
Foundation.NSObject.IsEqual(Foundation.NSObject)
Foundation.NSObject.IsKindOfClass(ObjCRuntime.Class)
Foundation.NSObject.IsMemberOfClass(ObjCRuntime.Class)
Foundation.NSObject.MutableCopy()
Foundation.NSObject.ObjectDidEndEditing(Foundation.NSObject)
Foundation.NSObject.ObserveValue(Foundation.NSString, Foundation.NSObject, Foundation.NSDictionary, System.IntPtr)
Foundation.NSObject.PerformSelector(ObjCRuntime.Selector, Foundation.NSObject, System.Double, Foundation.NSString[])
Foundation.NSObject.PerformSelector(ObjCRuntime.Selector, Foundation.NSObject, System.Double)
Foundation.NSObject.PerformSelector(ObjCRuntime.Selector, Foundation.NSThread, Foundation.NSObject, System.Boolean)
Foundation.NSObject.PerformSelector(ObjCRuntime.Selector, Foundation.NSThread, Foundation.NSObject, System.Boolean, Foundation.NSString[])
Foundation.NSObject.PerformSelector(ObjCRuntime.Selector)
Foundation.NSObject.PerformSelector(ObjCRuntime.Selector, Foundation.NSObject)
Foundation.NSObject.PerformSelector(ObjCRuntime.Selector, Foundation.NSObject, Foundation.NSObject)
Foundation.NSObject.PrepareForInterfaceBuilder()
Foundation.NSObject.RemoveObserver(Foundation.NSObject, Foundation.NSString, System.IntPtr)
Foundation.NSObject.RemoveObserver(Foundation.NSObject, System.String, System.IntPtr)
Foundation.NSObject.RemoveObserver(Foundation.NSObject, Foundation.NSString)
Foundation.NSObject.RemoveObserver(Foundation.NSObject, System.String)
Foundation.NSObject.RespondsToSelector(ObjCRuntime.Selector)
Foundation.NSObject.SetDefaultPlaceholder(Foundation.NSObject, Foundation.NSObject, Foundation.NSString)
Foundation.NSObject.SetNilValueForKey(Foundation.NSString)
Foundation.NSObject.SetValueForKey(Foundation.NSObject, Foundation.NSString)
Foundation.NSObject.SetValueForKeyPath(Foundation.NSObject, Foundation.NSString)
Foundation.NSObject.SetValueForUndefinedKey(Foundation.NSObject, Foundation.NSString)
Foundation.NSObject.SetValuesForKeysWithDictionary(Foundation.NSDictionary)
Foundation.NSObject.Unbind(Foundation.NSString)
Foundation.NSObject.ValueForKey(Foundation.NSString)
Foundation.NSObject.ValueForKeyPath(Foundation.NSString)
Foundation.NSObject.ValueForUndefinedKey(Foundation.NSString)
Foundation.NSObject.WillChange(Foundation.NSKeyValueChange, Foundation.NSIndexSet, Foundation.NSString)
Foundation.NSObject.WillChange(Foundation.NSString, Foundation.NSKeyValueSetMutationKind, Foundation.NSSet)
Foundation.NSObject.WillChangeValue(System.String)
Foundation.NSObject.IsDirectBinding
Foundation.NSObject.SuperHandle
Foundation.NSObject.Handle
Foundation.NSObject.ClassHandle
Foundation.NSObject.Class
Foundation.NSObject.DebugDescription
Foundation.NSObject.Description
Foundation.NSObject.IsProxy
Foundation.NSObject.RetainCount
Foundation.NSObject.Self
Foundation.NSObject.Superclass
Foundation.NSObject.Zone
Foundation.NSObject.ChangeIndexesKey
Foundation.NSObject.ChangeKindKey
Foundation.NSObject.ChangeNewKey
Foundation.NSObject.ChangeNotificationIsPriorKey
Foundation.NSObject.ChangeOldKey
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: FM.LiveSwitch.dll
Syntax
public class NullAudioSource : AudioSource, IEquatable<NSObject>, INSObjectProtocol, INativeObject, IDisposable, IAudioOutput, IMediaOutput<IAudioOutput, IAudioInput, AudioFrame, AudioBuffer, AudioBufferCollection, AudioFormat>, IOutput<IAudioOutput, IAudioInput, AudioFrame, AudioBuffer, AudioBufferCollection, AudioFormat>, IAudioElement, IMediaElement, IElement
Constructors
Declaration
public NullAudioSource(AudioFormat outputFormat)
Parameters
Type |
Name |
Description |
AudioFormat |
outputFormat |
The output format.
|
Properties
CanChangeBitrate
Gets whether this source can change the output bitrate.
Declaration
protected override bool CanChangeBitrate { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
FM.LiveSwitch.MediaSource<FM.LiveSwitch.IAudioOutput, FM.LiveSwitch.IAudioInput, FM.LiveSwitch.IAudioInputCollection, FM.LiveSwitch.AudioSource, FM.LiveSwitch.AudioFrame, FM.LiveSwitch.AudioBuffer, FM.LiveSwitch.AudioBufferCollection, FM.LiveSwitch.AudioFormat>.CanChangeBitrate
CanPauseBitrate
Gets whether this source can pause the output bitrate.
Declaration
protected override bool CanPauseBitrate { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
FM.LiveSwitch.MediaSource<FM.LiveSwitch.IAudioOutput, FM.LiveSwitch.IAudioInput, FM.LiveSwitch.IAudioInputCollection, FM.LiveSwitch.AudioSource, FM.LiveSwitch.AudioFrame, FM.LiveSwitch.AudioBuffer, FM.LiveSwitch.AudioBufferCollection, FM.LiveSwitch.AudioFormat>.CanPauseBitrate
Gets or sets the input RTP stream identifier.
Declaration
public virtual string InputRtpStreamId { get; set; }
Property Value
Type |
Description |
System.String |
|
Gets or sets the input synchronization source.
Declaration
public virtual long InputSynchronizationSource { get; set; }
Property Value
Type |
Description |
System.Int64 |
|
Label
Gets a label that identifies this class.
Declaration
public override string Label { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
FM.LiveSwitch.MediaSource<FM.LiveSwitch.IAudioOutput, FM.LiveSwitch.IAudioInput, FM.LiveSwitch.IAudioInputCollection, FM.LiveSwitch.AudioSource, FM.LiveSwitch.AudioFrame, FM.LiveSwitch.AudioBuffer, FM.LiveSwitch.AudioBufferCollection, FM.LiveSwitch.AudioFormat>.Label
Methods
DoDestroy()
Declaration
protected override void DoDestroy()
Overrides
DoStart()
Declaration
protected override Future<object> DoStart()
Returns
Type |
Description |
Future<System.Object> |
|
Overrides
FM.LiveSwitch.MediaSource<FM.LiveSwitch.IAudioOutput, FM.LiveSwitch.IAudioInput, FM.LiveSwitch.IAudioInputCollection, FM.LiveSwitch.AudioSource, FM.LiveSwitch.AudioFrame, FM.LiveSwitch.AudioBuffer, FM.LiveSwitch.AudioBufferCollection, FM.LiveSwitch.AudioFormat>.DoStart()
DoStop()
Declaration
protected override Future<object> DoStop()
Returns
Type |
Description |
Future<System.Object> |
|
Overrides
FM.LiveSwitch.MediaSource<FM.LiveSwitch.IAudioOutput, FM.LiveSwitch.IAudioInput, FM.LiveSwitch.IAudioInputCollection, FM.LiveSwitch.AudioSource, FM.LiveSwitch.AudioFrame, FM.LiveSwitch.AudioBuffer, FM.LiveSwitch.AudioBufferCollection, FM.LiveSwitch.AudioFormat>.DoStop()
GenerateAndProcessPcmFrame()
Generates and processes a 20ms PCM frame.
Declaration
public virtual void GenerateAndProcessPcmFrame()
GenerateAndProcessPcmFrame(Int32)
Generates and processes a PCM frame.
Declaration
public virtual void GenerateAndProcessPcmFrame(int duration)
Parameters
Type |
Name |
Description |
System.Int32 |
duration |
The duration.
|
Processes a control frame response by raising it.
Declaration
public virtual void ProcessControlFrameResponse(MediaControlFrame controlFrameResponse)
Parameters
Type |
Name |
Description |
MediaControlFrame |
controlFrameResponse |
The control frame response.
|
Processes control frame responses by raising them.
Declaration
public virtual void ProcessControlFrameResponses(MediaControlFrame[] controlFrameResponses)
Parameters
Type |
Name |
Description |
MediaControlFrame[] |
controlFrameResponses |
The control frame responses.
|
ProcessFrame(AudioFrame)
Processes a frame by raising it.
Declaration
public virtual void ProcessFrame(AudioFrame frame)
Parameters
UpdateCanChangeBitrate(Boolean)
Sets whether this source can change the output bitrate.
Declaration
public void UpdateCanChangeBitrate(bool canChangeBitrate)
Parameters
Type |
Name |
Description |
System.Boolean |
canChangeBitrate |
Whether this source can change the output bitrate.
|
UpdateCanPauseBitrate(Boolean)
Sets whether this source can pause the output bitrate.
Declaration
public void UpdateCanPauseBitrate(bool canPauseBitrate)
Parameters
Type |
Name |
Description |
System.Boolean |
canPauseBitrate |
Whether this source can pause the output bitrate.
|
UpdateMaxOutputBitrate(Int32)
Sets the maximum allowed output bitrate, in kbps.
A value of -1 indicates unset (no maximum).
Declaration
public virtual void UpdateMaxOutputBitrate(int maxOutputBitrate)
Parameters
Type |
Name |
Description |
System.Int32 |
maxOutputBitrate |
The maximum allowed output bitrate, in kbps.
|
UpdateMaxOutputEncoding(EncodingInfo)
Sets the maximum allowed output encoding.
A value of null indicates unset (no maximum).
Declaration
public virtual void UpdateMaxOutputEncoding(EncodingInfo maxOutputEncoding)
Parameters
Type |
Name |
Description |
EncodingInfo |
maxOutputEncoding |
The maximum allowed output encoding.
|
UpdateMinOutputBitrate(Int32)
Sets the minimum allowed output bitrate, in kbps.
A value of -1 indicates unset (no minimum).
Declaration
public virtual void UpdateMinOutputBitrate(int minOutputBitrate)
Parameters
Type |
Name |
Description |
System.Int32 |
minOutputBitrate |
The minimum allowed output bitrate, in kbps.
|
UpdateMinOutputEncoding(EncodingInfo)
Sets the minimum allowed output encoding.
A value of null indicates unset (no minimum).
Declaration
public virtual void UpdateMinOutputEncoding(EncodingInfo minOutputEncoding)
Parameters
Type |
Name |
Description |
EncodingInfo |
minOutputEncoding |
The minimum allowed output encoding.
|
UpdateOutputSynchronizable(Boolean)
Sets whether output is synchronizable.
Declaration
public virtual void UpdateOutputSynchronizable(bool outputSynchronizable)
Parameters
Type |
Name |
Description |
System.Boolean |
outputSynchronizable |
Whether output is synchronizable.
|
UpdateSystemDelay(Int64)
Sets the system delay in ticks.
Declaration
public virtual void UpdateSystemDelay(long systemDelay)
Parameters
Type |
Name |
Description |
System.Int64 |
systemDelay |
The system delay.
|
UpdateTargetOutputBitrate(Int32)
Sets the target output bitrate, in kbps.
A value of -1 indicates unset (no target).
Declaration
public virtual void UpdateTargetOutputBitrate(int targetOutputBitrate)
Parameters
Type |
Name |
Description |
System.Int32 |
targetOutputBitrate |
The target output bitrate, in kbps.
|
UpdateTargetOutputEncoding(EncodingInfo)
Sets the target output encoding.
A value of null indicates unset (no target).
Declaration
public virtual void UpdateTargetOutputEncoding(EncodingInfo targetOutputEncoding)
Parameters
Type |
Name |
Description |
EncodingInfo |
targetOutputEncoding |
The target output encoding.
|
Implements
System.IEquatable<T>
Foundation.INSObjectProtocol
ObjCRuntime.INativeObject
System.IDisposable