An audio chain. More...
Instance Methods | |
(void) | - addElement: |
Adds an element. More... | |
(void) | - addOnLevel: |
Adds a handler that is raised periodically when the audio's level is calculated. More... | |
(double) | - addOnLevelWithBlock |
Adds a handler that is raised periodically when the audio's level is calculated. More... | |
(void) | - addOnLevelWithBlock: |
Adds a handler that is raised periodically when the audio's level is calculated. More... | |
(NSMutableArray *) | - arrayFromInputs: |
Creates an array of inputs from a list of inputs. More... | |
(NSMutableArray *) | - arrayFromOutputs: |
Creates an array of outputs from a list of outputs. More... | |
(NSMutableArray *) | - arrayFromSinks: |
Creates an array of sinks from a list of sinks. More... | |
(FMLiveSwitchAudioBranch *) | - branchFromTracks: |
Creates a branch from an array of tracks. More... | |
(FMLiveSwitchAudioConfig *) | - config |
Gets the configuration. More... | |
(bool) | - destroy |
Destroys this media track. More... | |
(NSMutableArray *) | - elements |
Gets the elements. More... | |
(double) | - gain |
Gets a value indicating the gain (input amplification) of this track. More... | |
(instancetype) | - init |
Initializes a new instance of the FMLiveSwitchAudioTrack class. More... | |
(instancetype) | - initWithElement: |
Initializes a new instance of the FMLiveSwitchAudioTrack class. More... | |
(instancetype) | - initWithTracks: |
Initializes a new instance of the FMLiveSwitchAudioTrack class. More... | |
(bool) | - isBranchWithElement: |
Determines whether the specified element is a branch. More... | |
(bool) | - isInputWithElement: |
Determines whether the specified element is an input. More... | |
(bool) | - isOutputWithElement: |
Determines whether the specified element is an output. More... | |
(bool) | - isPipeWithElement: |
Determines whether the specified element is a pipe. More... | |
(bool) | - isSinkWithElement: |
Determines whether the specified element is a sink. More... | |
(bool) | - isSourceWithElement: |
Determines whether the specified element is a source. More... | |
(bool) | - isStreamWithElement: |
Determines whether the specified element is a stream. More... | |
(NSString *) | - label |
Gets a label that identifies this class. More... | |
(int) | - levelInterval |
Gets the interval in milliseconds between addOnLevel: events. More... | |
(void) | - removeOnLevel: |
Removes a handler that is raised periodically when the audio's level is calculated. More... | |
(void) | - setGain: |
Sets a value indicating the gain (input amplification) of this track. More... | |
(void) | - setLevelInterval: |
Sets the interval in milliseconds between addOnLevel: events. More... | |
(void) | - setVolume: |
Sets a value indicating the volume (output resistance) of this track. More... | |
(double) | - volume |
Gets a value indicating the volume (output resistance) of this track. More... | |
Instance Methods inherited from FMLiveSwitchMediaTrack | |
(TSink) | - activeSink |
Gets the active sink. More... | |
(void) | - addElement: |
Adds an element. More... | |
(void) | - addOnDestroyed: |
Adds a handler that is raised when the track is destroyed. More... | |
(void) | - addOnMuted: |
Adds a handler that is raised when the track is muted. More... | |
(void) | - addOnStarted: |
Adds a handler that is raised when the track is started. More... | |
(void) | - addOnStopped: |
Adds a handler that is raised when the track is stopped. More... | |
(void) | - addOnUnmuted: |
Adds a handler that is raised when the track is unmuted. More... | |
(NSMutableArray *) | - arrayFromInputs: |
Creates an array of inputs from a list of inputs. More... | |
(NSMutableArray *) | - arrayFromOutputs: |
Creates an array of outputs from a list of outputs. More... | |
(NSMutableArray *) | - arrayFromSinks: |
Creates an array of sinks from a list of sinks. More... | |
(FMLiveSwitchFuture< id > *) | - changeSinkOutput: |
Changes the sink output while the media track is active. More... | |
(FMLiveSwitchFuture< id > *) | - changeSourceInput: |
Changes the source input while the media track is active. More... | |
(bool) | - deactivated |
Gets a value indicating whether this track is deactivated. More... | |
(bool) | - disabled |
Gets a value indicating whether this track is disabled. More... | |
(NSString *) | - externalId |
Gets the external identifier. More... | |
(NSMutableArray< TIElement > *) | - findElementsWithWhere: |
Finds elements in the track. More... | |
(NSMutableArray< TIElement > *) | - findElementsWithWhere:recurse: |
Finds elements in this track. More... | |
(TIElement) | - findElementsWithWhereBlock |
Finds elements in the track. More... | |
(NSMutableArray< TIElement > *) | - findElementsWithWhereBlock: |
Finds elements in the track. More... | |
(NSMutableArray< TIElement > *) | - findElementsWithWhereBlock:recurse: |
Finds elements in this track. More... | |
(TIElement) | - findElementsWithWhereBlockAndRecurse |
Finds elements in this track. More... | |
(TIElement) | - findElementWithWhere: |
Finds an element in the track. More... | |
(TIElement) | - findElementWithWhere:recurse: |
Finds an element in this track. More... | |
(TIElement) | - findElementWithWhereBlock |
Finds an element in the track. More... | |
(TIElement) | - findElementWithWhereBlock: |
Finds an element in the track. More... | |
(TIElement) | - findElementWithWhereBlock:recurse: |
Finds an element in this track. More... | |
(TIElement) | - findElementWithWhereBlockAndRecurse |
Finds an element in this track. More... | |
(TIElement) | - firstElement |
Gets the first element. More... | |
(FMLiveSwitchFuture< NSMutableArray * > *) | - getSinkOutputs |
Gets the available sink outputs. More... | |
(FMLiveSwitchFuture< NSMutableArray * > *) | - getSourceInputs |
Gets the available source inputs. More... | |
(NSString *) | - id |
Gets the identifier. More... | |
(TIInput) | - input |
Gets the first input, if this track has inputs. More... | |
(TFormat) | - inputFormat |
Gets the input format. More... | |
(NSMutableArray *) | - inputs |
Gets the track inputs. More... | |
(bool) | - isBranched |
Gets a value indicating whether this track's last element is a branch. More... | |
(bool) | - isBranchWithElement: |
Determines whether the specified element is a branch. More... | |
(bool) | - isEmpty |
Gets a value indicating whether this instance is empty. More... | |
(bool) | - isInputWithElement: |
Determines whether the specified element is an input. More... | |
(bool) | - isOutputWithElement: |
Determines whether the specified element is an output. More... | |
(bool) | - isPipeWithElement: |
Determines whether the specified element is a pipe. More... | |
(bool) | - isSinkWithElement: |
Determines whether the specified element is a sink. More... | |
(bool) | - isSourceWithElement: |
Determines whether the specified element is a source. More... | |
(bool) | - isStreamWithElement: |
Determines whether the specified element is a stream. More... | |
(bool) | - isTerminated |
Gets a value indicating whether this track's last element is a sink. More... | |
(TIElement) | - lastElement |
Gets the last element. More... | |
(bool) | - muted |
Gets a value indicating whether any of the elements in this track are muted. More... | |
(TTrack) | - next: |
Adds an element to this track. More... | |
(TTrack) | - nextWithBranch: |
Branches out to several tracks. More... | |
(TTrack) | - nextWithTracks: |
Branches out to several tracks. More... | |
(TIOutput) | - output |
Gets the first output, if this track has outputs. More... | |
(TFormat) | - outputFormat |
Gets the output format. More... | |
(NSMutableArray *) | - outputs |
Gets the track outputs. More... | |
(bool) | - paused |
Gets a value indicating whether this track is paused. More... | |
(bool) | - persistent |
Gets a value indicating whether this instance is persistent. More... | |
(NSString *) | - pipelineJson |
Gets the pipeline JSON using the first element as a starting point. More... | |
(void) | - raiseOnMuted |
Raises the FMLiveSwitchMediaTrack`14addOnMuted: event. More... | |
(void) | - raiseOnStarted |
Raises the FMLiveSwitchMediaTrack`14addOnStarted: event. More... | |
(void) | - raiseOnStopped |
Raises the FMLiveSwitchMediaTrack`14addOnStopped: event. More... | |
(void) | - raiseOnUnmuted |
Raises the FMLiveSwitchMediaTrack`14addOnUnmuted: event. More... | |
(void) | - removeOnDestroyed: |
Removes a handler that is raised when the track is destroyed. More... | |
(void) | - removeOnMuted: |
Removes a handler that is raised when the track is muted. More... | |
(void) | - removeOnStarted: |
Removes a handler that is raised when the track is started. More... | |
(void) | - removeOnStopped: |
Removes a handler that is raised when the track is stopped. More... | |
(void) | - removeOnUnmuted: |
Removes a handler that is raised when the track is unmuted. More... | |
(void) | - setDeactivated: |
Sets a value indicating whether this track is deactivated. More... | |
(void) | - setExternalId: |
Sets the external identifier. More... | |
(void) | - setMuted: |
Sets a value indicating whether any of the elements in this track are muted. More... | |
(void) | - setPersistent: |
Sets a value indicating whether this instance is persistent. More... | |
(void) | - setSinkOutput: |
Sets the current sink output. More... | |
(void) | - setSourceInput: |
Sets the current source input. More... | |
(TSink) | - sink |
Gets the sink, if the last element is a sink. More... | |
(FMLiveSwitchSinkOutput *) | - sinkOutput |
Gets the current sink output. More... | |
(NSMutableArray *) | - sinks |
Gets the sinks. More... | |
(TSource) | - source |
Gets the source, if the first element is a source. More... | |
(FMLiveSwitchSourceInput *) | - sourceInput |
Gets the current source input. More... | |
Instance Methods inherited from <FMLiveSwitchIMediaOutput> | |
(void) | - addOnDisabledChange: |
Adds a handler that is raised when the Disabled property changes state. More... | |
(void) | - addOnDisabledChangeWithCaller: |
Adds a handler that is raised when the Disabled property changes state. More... | |
(id) | - addOnDisabledChangeWithCallerWithBlock |
Adds a handler that is raised when the Disabled property changes state. More... | |
(void) | - addOnDisabledChangeWithCallerWithBlock: |
Adds a handler that is raised when the Disabled property changes state. More... | |
(void) | - addOnPausedChange: |
Adds a handler that is raised when the Paused property changes state. More... | |
(void) | - addOnProcessControlFrames: |
Adds a handler that is raised when control frames are processed. More... | |
(NSMutableArray *) | - addOnProcessControlFramesWithBlock |
Adds a handler that is raised when control frames are processed. More... | |
(void) | - addOnProcessControlFramesWithBlock: |
Adds a handler that is raised when control frames are processed. More... | |
(void) | - addOnRaiseControlFrameResponses: |
Adds a handler that is raised when a control frame response is raised. More... | |
(NSMutableArray *) | - addOnRaiseControlFrameResponsesWithBlock |
Adds a handler that is raised when a control frame response is raised. More... | |
(void) | - addOnRaiseControlFrameResponsesWithBlock: |
Adds a handler that is raised when a control frame response is raised. More... | |
(void) | - addOnRaiseFrame: |
Adds a handler that is raised when a frame is raised. More... | |
(FMLiveSwitchMediaFrame *) | - addOnRaiseFrameWithBlock |
Adds a handler that is raised when a frame is raised. More... | |
(void) | - addOnRaiseFrameWithBlock: |
Adds a handler that is raised when a frame is raised. More... | |
(NSString *) | - content |
Gets the content descriptor. More... | |
(int) | - getCcmSequenceNumber |
Gets the CCM sequence number. More... | |
(long long) | - getPipelineSystemDelayWithOutputFormat: |
Gets the total pipeline system delay in ticks for a given media format. More... | |
(void) | - incrementCcmSequenceNumber |
Increments the CCM sequence number. More... | |
(int) | - maxOutputBitrate |
Gets the maximum allowed output bitrate, in kbps. More... | |
(FMLiveSwitchEncodingInfo *) | - maxOutputEncoding |
Gets the maximum allowed output encoding. More... | |
(int) | - minOutputBitrate |
Gets the minimum allowed output bitrate, in kbps. More... | |
(FMLiveSwitchEncodingInfo *) | - minOutputEncoding |
Gets the minimum allowed output encoding. More... | |
(bool) | - outputDeactivated |
Gets whether output is deactivated. More... | |
(bool) | - outputMuted |
Gets whether output is muted. More... | |
(NSString *) | - outputRtpStreamId |
Gets the output RTP stream identifier. More... | |
(bool) | - outputSynchronizable |
Gets whether output is synchronizable. More... | |
(long long) | - outputSynchronizationSource |
Gets the output synchronization source. More... | |
(void) | - processControlFrames: |
Processes control frames. More... | |
(FMLiveSwitchError *) | - processSdpMediaDescriptionFromOutputWithMediaDescription:isOffer:isLocalDescription: |
Processes a local SDP media description from an output. More... | |
(void) | - processSourceStatsFromOutputWithSourceStats: |
Processes source stats from an output. More... | |
(void) | - processTrackStatsFromOutputWithTrackStats: |
Processes track stats from an output. More... | |
(void) | - removeOnDisabledChange: |
Removes a handler that is raised when the Disabled property changes state. More... | |
(void) | - removeOnDisabledChangeWithCaller: |
Removes a handler that is raised when the Disabled property changes state. More... | |
(void) | - removeOnPausedChange: |
Removes a handler that is raised when the Paused property changes state. More... | |
(void) | - removeOnProcessControlFrames: |
Removes a handler that is raised when control frames are processed. More... | |
(void) | - removeOnRaiseControlFrameResponses: |
Removes a handler that is raised when a control frame response is raised. More... | |
(void) | - removeOnRaiseFrame: |
Removes a handler that is raised when a frame is raised. More... | |
(long long) | - systemDelay |
Gets the system delay in ticks. More... | |
(int) | - targetOutputBitrate |
Gets the target output bitrate, in kbps. More... | |
(FMLiveSwitchEncodingInfo *) | - targetOutputEncoding |
Gets the target output encoding. More... | |
Instance Methods inherited from <FMLiveSwitchIOutput> | |
(void) | - addOutput: |
Adds an output. More... | |
(void) | - addOutputs: |
Adds some outputs. More... | |
(NSObject< FMLiveSwitchIInput > *) | - output |
Gets the output. More... | |
(FMLiveSwitchMediaFormat *) | - outputFormat |
Gets the output format. More... | |
(NSMutableArray *) | - outputs |
Gets the outputs. More... | |
(NSString *) | - pipelineJsonFromOutput |
Gets the pipeline JSON from an output. More... | |
(bool) | - removeOutput: |
Removes an output. More... | |
(void) | - removeOutputs |
Removes all outputs. More... | |
(void) | - removeOutputs: |
Removes some outputs. More... | |
Instance Methods inherited from <FMLiveSwitchIElement> | |
(NSString *) | - externalId |
Gets the external identifier. More... | |
(NSString *) | - id |
Gets the identifier. More... | |
(NSString *) | - pipelineJson |
Gets the pipeline JSON with this as the central point. More... | |
(void) | - setExternalId: |
Sets the external identifier. More... | |
Instance Methods inherited from <FMLiveSwitchIMediaElement> | |
(bool) | - deactivated |
Gets a value indicating whether this instance is deactivated. More... | |
(bool) | - disabled |
Gets a value indicating whether this instance is disabled. More... | |
(bool) | - muted |
Gets a value indicating whether this instance is muted. More... | |
(bool) | - paused |
Gets a value indicating whether this instance is paused. More... | |
(bool) | - persistent |
Gets a value indicating whether this instance is persistent. More... | |
(void) | - setDeactivated: |
Sets a value indicating whether this instance is deactivated. More... | |
(void) | - setMuted: |
Sets a value indicating whether this instance is muted. More... | |
Class Methods | |
(FMLiveSwitchAudioTrack *) | + audioTrack |
Initializes a new instance of the FMLiveSwitchAudioTrack class. More... | |
(FMLiveSwitchAudioTrack *) | + audioTrackWithElement: |
Initializes a new instance of the FMLiveSwitchAudioTrack class. More... | |
(FMLiveSwitchAudioTrack *) | + audioTrackWithTracks: |
Initializes a new instance of the FMLiveSwitchAudioTrack class. More... | |
Class Methods inherited from FMLiveSwitchMediaTrack | |
(FMLiveSwitchMediaTrack *) | + mediaTrack |
Additional Inherited Members | |
Protected Attributes inherited from FMLiveSwitchMediaTrack | |
__pad0__: FMLiveSwitchMediaTrackBase<FMLiveSwitchIMediaTrack | |
FMLiveSwitchIMediaElement | |
An audio chain.
- (void) addElement: | (NSObject< FMLiveSwitchIAudioElement > *) | element |
Adds an element.
element |
- (void) addOnLevel: | (FMLiveSwitchAction1< id > *) | value |
Adds a handler that is raised periodically when the audio's level is calculated.
- (double) addOnLevelWithBlock |
Adds a handler that is raised periodically when the audio's level is calculated.
- (void) addOnLevelWithBlock: | (void(^)(double)) | valueBlock |
Adds a handler that is raised periodically when the audio's level is calculated.
- (NSMutableArray*) arrayFromInputs: | (NSMutableArray< NSObject< FMLiveSwitchIAudioInput > * > *) | inputs |
Creates an array of inputs from a list of inputs.
inputs | The list of inputs. |
- (NSMutableArray*) arrayFromOutputs: | (NSMutableArray< NSObject< FMLiveSwitchIAudioOutput > * > *) | outputs |
Creates an array of outputs from a list of outputs.
outputs | The list of outputs. |
- (NSMutableArray*) arrayFromSinks: | (NSMutableArray< FMLiveSwitchAudioSink * > *) | sinks |
Creates an array of sinks from a list of sinks.
sinks | The list of sinks. |
+ (FMLiveSwitchAudioTrack*) audioTrack |
Initializes a new instance of the FMLiveSwitchAudioTrack class.
+ (FMLiveSwitchAudioTrack*) audioTrackWithElement: | (NSObject< FMLiveSwitchIAudioElement > *) | element |
Initializes a new instance of the FMLiveSwitchAudioTrack class.
element | The element. |
+ (FMLiveSwitchAudioTrack*) audioTrackWithTracks: | (NSMutableArray *) | tracks |
Initializes a new instance of the FMLiveSwitchAudioTrack class.
tracks | The branch of tracks. |
- (FMLiveSwitchAudioBranch*) branchFromTracks: | (NSMutableArray *) | tracks |
Creates a branch from an array of tracks.
tracks | The tracks. |
Implements FMLiveSwitchMediaTrack.
- (FMLiveSwitchAudioConfig*) config |
Gets the configuration.
Reimplemented from <FMLiveSwitchIAudioOutput>.
- (bool) destroy |
Destroys this media track.
Implements FMLiveSwitchMediaTrack.
- (NSMutableArray*) elements |
Gets the elements.
Implements FMLiveSwitchMediaTrack.
- (double) gain |
Gets a value indicating the gain (input amplification) of this track.
Any value greater than or equal to 0.0 is acceptable.
- (instancetype) init |
Initializes a new instance of the FMLiveSwitchAudioTrack class.
Implements FMLiveSwitchMediaTrack.
- (instancetype) initWithElement: | (NSObject< FMLiveSwitchIAudioElement > *) | element |
Initializes a new instance of the FMLiveSwitchAudioTrack class.
element | The element. |
- (instancetype) initWithTracks: | (NSMutableArray *) | tracks |
Initializes a new instance of the FMLiveSwitchAudioTrack class.
tracks | The branch of tracks. |
- (bool) isBranchWithElement: | (NSObject< FMLiveSwitchIAudioElement > *) | element |
Determines whether the specified element is a branch.
element | The element. |
- (bool) isInputWithElement: | (NSObject< FMLiveSwitchIAudioElement > *) | element |
Determines whether the specified element is an input.
element | The element. |
- (bool) isOutputWithElement: | (NSObject< FMLiveSwitchIAudioElement > *) | element |
Determines whether the specified element is an output.
element | The element. |
- (bool) isPipeWithElement: | (NSObject< FMLiveSwitchIAudioElement > *) | element |
Determines whether the specified element is a pipe.
element | The element. |
- (bool) isSinkWithElement: | (NSObject< FMLiveSwitchIAudioElement > *) | element |
Determines whether the specified element is a sink.
element | The element. |
- (bool) isSourceWithElement: | (NSObject< FMLiveSwitchIAudioElement > *) | element |
Determines whether the specified element is a source.
element | The element. |
- (bool) isStreamWithElement: | (NSObject< FMLiveSwitchIAudioElement > *) | element |
Determines whether the specified element is a stream.
element | The element. |
- (NSString*) label |
Gets a label that identifies this class.
Implements FMLiveSwitchMediaTrack.
- (int) levelInterval |
Gets the interval in milliseconds between addOnLevel: events.
Defaults to 200.
- (void) removeOnLevel: | (FMLiveSwitchAction1< id > *) | value |
Removes a handler that is raised periodically when the audio's level is calculated.
- (void) setGain: | (double) | value |
Sets a value indicating the gain (input amplification) of this track.
Any value greater than or equal to 0.0 is acceptable.
- (void) setLevelInterval: | (int) | value |
Sets the interval in milliseconds between addOnLevel: events.
Defaults to 200.
- (void) setVolume: | (double) | value |
Sets a value indicating the volume (output resistance) of this track.
Valid value range is 0.0 to 1.0, inclusive.
Reimplemented from <FMLiveSwitchIAudioOutput>.
- (double) volume |
Gets a value indicating the volume (output resistance) of this track.
Valid value range is 0.0 to 1.0, inclusive.
Reimplemented from <FMLiveSwitchIAudioOutput>.