A media source. More...
Instance Methods | |
(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) | - addOnMuted: |
Adds a handler that is raised when the source is muted. 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) | - addOnProcessedControlFrames: |
Adds a handler that is raised when control frames have been processed. More... | |
(NSMutableArray *) | - addOnProcessedControlFramesWithBlock |
Adds a handler that is raised when control frames have been processed. More... | |
(void) | - addOnProcessedControlFramesWithBlock: |
Adds a handler that is raised when control frames have been processed. More... | |
(void) | - addOnRaiseControlFrameResponses: |
Adds a handler that is raised when control frame responses are raised. More... | |
(NSMutableArray *) | - addOnRaiseControlFrameResponsesWithBlock |
Adds a handler that is raised when control frame responses are raised. More... | |
(void) | - addOnRaiseControlFrameResponsesWithBlock: |
Adds a handler that is raised when control frame responses are raised. More... | |
(void) | - addOnRaisedControlFrameResponses: |
Adds a handler that is raised when control frame responses have been raised. More... | |
(NSMutableArray *) | - addOnRaisedControlFrameResponsesWithBlock |
Adds a handler that is raised when control frame responses have been raised. More... | |
(void) | - addOnRaisedControlFrameResponsesWithBlock: |
Adds a handler that is raised when control frame responses have been raised. More... | |
(void) | - addOnRaisedFrame: |
Adds a handler that is raised when a frame has been raised. More... | |
(TFrame) | - addOnRaisedFrameWithBlock |
Adds a handler that is raised when a frame has been raised. More... | |
(void) | - addOnRaisedFrameWithBlock: |
Adds a handler that is raised when a frame has been raised. More... | |
(void) | - addOnRaiseFrame: |
Adds a handler that is raised when a frame is being raised. More... | |
(TFrame) | - addOnRaiseFrameWithBlock |
Adds a handler that is raised when a frame is being raised. More... | |
(void) | - addOnRaiseFrameWithBlock: |
Adds a handler that is raised when a frame is being raised. More... | |
(void) | - addOnStateChange: |
Adds a handler that is raised when the state changes. More... | |
(TSource) | - addOnStateChangeWithBlock |
Adds a handler that is raised when the state changes. More... | |
(void) | - addOnStateChangeWithBlock: |
Adds a handler that is raised when the state changes. More... | |
(void) | - addOnUnmuted: |
Adds a handler that is raised when the source is unmuted. More... | |
(void) | - addOutput: |
Adds an output. More... | |
(void) | - addOutputs: |
Adds some outputs. More... | |
(bool) | - allowDiagnosticTimer |
Gets whether this media pipe is allowed to be timed. More... | |
(bool) | - allowOutputRateTimer |
Gets whether this media pipe output rate is allowed to be timed. More... | |
(bool) | - canChangeBitrate |
Gets whether this source can change the output bitrate. More... | |
(bool) | - canPauseBitrate |
Gets whether this source can pause the output bitrate. More... | |
(FMLiveSwitchFuture< id > *) | - changeInput: |
Changes the current input. More... | |
(NSString *) | - content |
Gets the content descriptor. More... | |
(TIInputCollection) | - createInputCollectionWithOutput: |
Creates an input collection. More... | |
(bool) | - deactivated |
Gets a value indicating whether this source is deactivated. More... | |
(bool) | - deactivatedByApplication |
Gets whether this source is deactivated because the application has requested it. More... | |
(bool) | - deactivatedByServer |
Gets whether this source is deactivated because the server has requested it. More... | |
(NSString *) | - description |
Returns a string that represents this instance. More... | |
(bool) | - destroy |
Destroys this instance. More... | |
(bool) | - disabled |
Gets a value indicating whether this source is disabled. More... | |
(void) | - doDestroy |
Destroys this instance. More... | |
(void) | - doProcessControlFrames: |
Processes control frames. More... | |
(FMLiveSwitchError *) | - doProcessSdpMediaDescription:isOffer:isLocalDescription: |
Processes a local SDP media description. More... | |
(void) | - doProcessSourceStatsFromOutputWithSourceStats: |
Processes source stats from an output. More... | |
(void) | - doProcessTrackStatsFromOutputWithTrackStats: |
Processes track stats from an output. More... | |
(FMLiveSwitchFuture< id > *) | - doStart |
Starts this instance. More... | |
(FMLiveSwitchFuture< id > *) | - doStop |
Stops this instance. More... | |
(int) | - getCcmSequenceNumber |
Gets the CCM sequence number. More... | |
(FMLiveSwitchFuture< NSMutableArray * > *) | - getInputs |
Gets the available inputs. More... | |
(long long) | - getPipelineSystemDelayWithOutputFormat: |
Gets the total pipeline system delay in ticks for a given output format. More... | |
(bool) | - hasOutput: |
Determines whether this source has the specified output. More... | |
(void) | - incrementCcmSequenceNumber |
Increments the CCM sequence number. More... | |
(instancetype) | - initWithOutputFormat: |
Initializes a new instance of the FMLiveSwitchMediaSource`8 class. More... | |
(FMLiveSwitchSourceInput *) | - input |
Gets the current input. More... | |
(bool) | - isDestroyed |
Gets whether the current state is Destroyed. More... | |
(bool) | - isStarted |
Gets whether the current state is Started. More... | |
(bool) | - isStopped |
Gets whether the current state is Stopped. More... | |
(NSString *) | - label |
Gets a label that identifies this class. 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) | - muted |
Gets whether output is muted. More... | |
(TIInput) | - output |
Gets the output. More... | |
(void) | - outputAddedWithOutput: |
Called when an output is added. More... | |
(bool) | - outputCanProcessFrameWithOutput: |
Determines whether an output can process a frame from this pipe. More... | |
(bool) | - outputDeactivated |
Gets whether output is deactivated. More... | |
(TFormat) | - outputFormat |
Gets the output format. More... | |
(bool) | - outputMuted |
Gets whether output is muted. More... | |
(void) | - outputRemovedWithOutput: |
Called when an output is removed. More... | |
(NSString *) | - outputRtpStreamId |
Gets the output RTP stream identifier. More... | |
(NSMutableArray *) | - outputs |
Gets the outputs. More... | |
(bool) | - outputSynchronizable |
Gets whether output is synchronizable. More... | |
(long long) | - outputSynchronizationSource |
Gets the output synchronization source. More... | |
(bool) | - overConstrained |
Gets whether this source is over-constrained. More... | |
(bool) | - overConstrainedBitrate |
Gets whether the source bitrate is over-constrained. More... | |
(bool) | - overConstrainedOutput |
Gets whether the output is over-constrained. More... | |
(bool) | - overConstrainedOutputBitrate |
Gets whether the minimum allowed output bitrate exceeds the maximum allowed output bitrate. More... | |
(bool) | - paused |
Gets a value indicating whether this source is paused. More... | |
(bool) | - persistent |
Gets a value indicating whether this instance is persistent. More... | |
(NSString *) | - pipelineJson |
Gets the pipeline JSON with this as the central point. More... | |
(NSString *) | - pipelineJsonFromOutput |
Gets the pipeline JSON from an output. More... | |
(void) | - processControlFrame: |
Processes a control frame. 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) | - raiseControlFrameResponse: |
Raises a control frame response. More... | |
(void) | - raiseControlFrameResponse:outputs: |
Raises a control frame response. More... | |
(void) | - raiseControlFrameResponses: |
Raises control frame responses. More... | |
(void) | - raiseControlFrameResponses:outputs: |
Raises control frame responses. More... | |
(void) | - raiseDisabledChange |
Raises the OnDisabledChange event. More... | |
(void) | - raiseFrame: |
Raises a frame. 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) | - removeOnMuted: |
Removes a handler that is raised when the source is muted. 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) | - removeOnProcessedControlFrames: |
Removes a handler that is raised when control frames have been processed. More... | |
(void) | - removeOnRaiseControlFrameResponses: |
Removes a handler that is raised when control frame responses are raised. More... | |
(void) | - removeOnRaisedControlFrameResponses: |
Removes a handler that is raised when control frame responses have been raised. More... | |
(void) | - removeOnRaisedFrame: |
Removes a handler that is raised when a frame has been raised. More... | |
(void) | - removeOnRaiseFrame: |
Removes a handler that is raised when a frame is being raised. More... | |
(void) | - removeOnStateChange: |
Removes a handler that is raised when the state changes. More... | |
(void) | - removeOnUnmuted: |
Removes a handler that is raised when the source is unmuted. More... | |
(bool) | - removeOutput: |
Removes an output. More... | |
(void) | - removeOutputs |
Removes all outputs. More... | |
(void) | - removeOutputs: |
Removes some outputs. More... | |
(void) | - setDeactivated: |
Sets a value indicating whether this source is deactivated. More... | |
(void) | - setInput: |
Sets the current input. More... | |
(void) | - setMaxOutputBitrate: |
Sets the maximum allowed output bitrate, in kbps. More... | |
(void) | - setMaxOutputEncoding: |
Sets the maximum allowed output encoding. More... | |
(void) | - setMinOutputBitrate: |
Sets the minimum allowed output bitrate, in kbps. More... | |
(void) | - setMinOutputEncoding: |
Sets the minimum allowed output encoding. More... | |
(void) | - setMuted: |
Sets whether output is muted. More... | |
(void) | - setOutput: |
Sets the output. More... | |
(void) | - setOutputDeactivated: |
Sets whether output is deactivated. More... | |
(void) | - setOutputMuted: |
Sets whether output is muted. More... | |
(void) | - setOutputRtpStreamId: |
Sets the output RTP stream identifier. More... | |
(void) | - setOutputs: |
Sets the outputs. More... | |
(void) | - setOutputSynchronizable: |
Sets whether output is synchronizable. More... | |
(void) | - setOutputSynchronizationSource: |
Sets the output synchronization source. More... | |
(void) | - setPersistent: |
Sets a value indicating whether this instance is persistent. More... | |
(void) | - setSynchronizationSource: |
Sets the output synchronization source. More... | |
(void) | - setSystemDelay: |
Sets the system delay in ticks. More... | |
(void) | - setTargetOutputBitrate: |
Sets the target output bitrate, in kbps. More... | |
(void) | - setTargetOutputEncoding: |
Sets the target output encoding. More... | |
(FMLiveSwitchFuture< id > *) | - start |
Starts this instance. More... | |
(FMLiveSwitchMediaSourceState) | - state |
Gets the state. More... | |
(FMLiveSwitchFuture< id > *) | - stop |
Stops this instance. More... | |
(long long) | - synchronizationSource |
Gets the output synchronization source. 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... | |
(bool) | - updateDisabled |
Updates the disabled property. More... | |
Class Methods | |
(FMLiveSwitchMediaSource *) | + mediaSourceWithOutputFormat: |
Initializes a new instance of the FMLiveSwitchMediaSource`8 class. More... | |
Protected Attributes | |
__pad0__: FMLiveSwitchMediaSourceBase<FMLiveSwitchIMediaOutput | |
FMLiveSwitchIOutput | |
FMLiveSwitchIMediaElement | |
A media source.
- (void) addOnDisabledChange: | (FMLiveSwitchAction0 *) | value |
Adds a handler that is raised when the Disabled property changes state.
- (void) addOnDisabledChangeWithCaller: | (FMLiveSwitchAction1< id > *) | value |
Adds a handler that is raised when the Disabled property changes state.
- (id) addOnDisabledChangeWithCallerWithBlock |
Adds a handler that is raised when the Disabled property changes state.
- (void) addOnDisabledChangeWithCallerWithBlock: | (void(^)(id)) | valueBlock |
Adds a handler that is raised when the Disabled property changes state.
- (void) addOnMuted: | (FMLiveSwitchAction0 *) | value |
Adds a handler that is raised when the source is muted.
- (void) addOnPausedChange: | (FMLiveSwitchAction0 *) | value |
Adds a handler that is raised when the Paused property changes state.
- (void) addOnProcessControlFrames: | (FMLiveSwitchAction1< NSMutableArray * > *) | value |
Adds a handler that is raised when control frames are processed.
- (NSMutableArray*) addOnProcessControlFramesWithBlock |
Adds a handler that is raised when control frames are processed.
- (void) addOnProcessControlFramesWithBlock: | (void(^)(NSMutableArray *)) | valueBlock |
Adds a handler that is raised when control frames are processed.
- (void) addOnProcessedControlFrames: | (FMLiveSwitchAction1< NSMutableArray * > *) | value |
Adds a handler that is raised when control frames have been processed.
- (NSMutableArray*) addOnProcessedControlFramesWithBlock |
Adds a handler that is raised when control frames have been processed.
- (void) addOnProcessedControlFramesWithBlock: | (void(^)(NSMutableArray *)) | valueBlock |
Adds a handler that is raised when control frames have been processed.
- (void) addOnRaiseControlFrameResponses: | (FMLiveSwitchAction1< NSMutableArray * > *) | value |
Adds a handler that is raised when control frame responses are raised.
- (NSMutableArray*) addOnRaiseControlFrameResponsesWithBlock |
Adds a handler that is raised when control frame responses are raised.
- (void) addOnRaiseControlFrameResponsesWithBlock: | (void(^)(NSMutableArray *)) | valueBlock |
Adds a handler that is raised when control frame responses are raised.
- (void) addOnRaisedControlFrameResponses: | (FMLiveSwitchAction1< NSMutableArray * > *) | value |
Adds a handler that is raised when control frame responses have been raised.
- (NSMutableArray*) addOnRaisedControlFrameResponsesWithBlock |
Adds a handler that is raised when control frame responses have been raised.
- (void) addOnRaisedControlFrameResponsesWithBlock: | (void(^)(NSMutableArray *)) | valueBlock |
Adds a handler that is raised when control frame responses have been raised.
- (void) addOnRaisedFrame: | (FMLiveSwitchAction1< TFrame > *) | value |
Adds a handler that is raised when a frame has been raised.
- (TFrame) addOnRaisedFrameWithBlock |
Adds a handler that is raised when a frame has been raised.
- (void) addOnRaisedFrameWithBlock: | (void(^)(TFrame)) | valueBlock |
Adds a handler that is raised when a frame has been raised.
- (void) addOnRaiseFrame: | (FMLiveSwitchAction1< TFrame > *) | value |
Adds a handler that is raised when a frame is being raised.
- (TFrame) addOnRaiseFrameWithBlock |
Adds a handler that is raised when a frame is being raised.
- (void) addOnRaiseFrameWithBlock: | (void(^)(TFrame)) | valueBlock |
Adds a handler that is raised when a frame is being raised.
- (void) addOnStateChange: | (FMLiveSwitchAction1< TSource > *) | value |
Adds a handler that is raised when the state changes.
- (TSource) addOnStateChangeWithBlock |
Adds a handler that is raised when the state changes.
- (void) addOnStateChangeWithBlock: | (void(^)(TSource)) | valueBlock |
Adds a handler that is raised when the state changes.
- (void) addOnUnmuted: | (FMLiveSwitchAction0 *) | value |
Adds a handler that is raised when the source is unmuted.
- (void) addOutput: | (TIInput) | output |
Adds an output.
output | The output. |
- (void) addOutputs: | (NSMutableArray *) | outputs |
Adds some outputs.
outputs | The outputs. |
- (bool) allowDiagnosticTimer |
Gets whether this media pipe is allowed to be timed.
- (bool) allowOutputRateTimer |
Gets whether this media pipe output rate is allowed to be timed.
- (bool) canChangeBitrate |
Gets whether this source can change the output bitrate.
Implemented in FMLiveSwitchNullVideoSource, and FMLiveSwitchNullAudioSource.
- (bool) canPauseBitrate |
Gets whether this source can pause the output bitrate.
Implemented in FMLiveSwitchNullVideoSource, and FMLiveSwitchNullAudioSource.
- (FMLiveSwitchFuture<id>*) changeInput: | (FMLiveSwitchSourceInput *) | input |
Changes the current input.
input | The input. |
- (NSString*) content |
Gets the content descriptor.
Implemented in FMLiveSwitchVideoSource.
- (TIInputCollection) createInputCollectionWithOutput: | (TIOutput) | output |
Creates an input collection.
output | The output. |
- (bool) deactivated |
Gets a value indicating whether this source is deactivated.
Deactivating a source disables it until it is activated again. Upon reactivation, a pipe may remain disabled if its outputs are disabled. A deactivated source will not raise any frames. Alias for FMLiveSwitchMediaSource`8outputDeactivated.
- (bool) deactivatedByApplication |
Gets whether this source is deactivated because the application has requested it.
- (bool) deactivatedByServer |
Gets whether this source is deactivated because the server has requested it.
- (NSString*) description |
Returns a string that represents this instance.
- (bool) destroy |
Destroys this instance.
- (bool) disabled |
Gets a value indicating whether this source is disabled.
A source is automatically disabled if it is deactivated or if all of its outputs are disabled.
- (void) doDestroy |
Destroys this instance.
Implemented in FMLiveSwitchNullVideoSource, FMLiveSwitchNullAudioSource, FMLiveSwitchMatroskaVideoSource, FMLiveSwitchMatroskaAudioSource, and FMLiveSwitchAudioSource.
- (void) doProcessControlFrames: | (NSMutableArray *) | controlFrames |
Processes control frames.
controlFrames | The control frames. |
- (FMLiveSwitchError*) doProcessSdpMediaDescription: | (FMLiveSwitchSdpMediaDescription *) | mediaDescription | |
isOffer: | (bool) | isOffer | |
isLocalDescription: | (bool) | isLocalDescription | |
Processes a local SDP media description.
mediaDescription | The media description. |
isOffer | if set to true [is offer]. |
isLocalDescription | if set to true [is local description]. |
- (void) doProcessSourceStatsFromOutputWithSourceStats: | (FMLiveSwitchMediaSourceStats *) | sourceStats |
Processes source stats from an output.
sourceStats | The source stats. |
- (void) doProcessTrackStatsFromOutputWithTrackStats: | (FMLiveSwitchMediaTrackStats *) | trackStats |
Processes track stats from an output.
trackStats | The track stats. |
- (FMLiveSwitchFuture<id>*) doStart |
Starts this instance.
Implemented in FMLiveSwitchYuv4MpegVideoSource, FMLiveSwitchNullVideoSource, FMLiveSwitchNullAudioSource, FMLiveSwitchMatroskaVideoSource, FMLiveSwitchMatroskaAudioSource, FMLiveSwitchFakeVideoSource, and FMLiveSwitchFakeAudioSource.
- (FMLiveSwitchFuture<id>*) doStop |
Stops this instance.
Implemented in FMLiveSwitchYuv4MpegVideoSource, FMLiveSwitchNullVideoSource, FMLiveSwitchNullAudioSource, FMLiveSwitchMatroskaVideoSource, FMLiveSwitchMatroskaAudioSource, FMLiveSwitchFakeVideoSource, and FMLiveSwitchFakeAudioSource.
- (int) getCcmSequenceNumber |
Gets the CCM sequence number.
- (FMLiveSwitchFuture<NSMutableArray*>*) getInputs |
Gets the available inputs.
Implemented in FMLiveSwitchMatroskaVideoSource, and FMLiveSwitchMatroskaAudioSource.
- (long long) getPipelineSystemDelayWithOutputFormat: | (TFormat) | outputFormat |
Gets the total pipeline system delay in ticks for a given output format.
outputFormat | The output format. |
- (bool) hasOutput: | (TIInput) | output |
Determines whether this source has the specified output.
output | The output. |
- (void) incrementCcmSequenceNumber |
Increments the CCM sequence number.
- (instancetype) initWithOutputFormat: | (TFormat) | outputFormat |
Initializes a new instance of the FMLiveSwitchMediaSource`8 class.
outputFormat | The output format. |
- (FMLiveSwitchSourceInput*) input |
Gets the current input.
- (bool) isDestroyed |
Gets whether the current state is Destroyed.
- (bool) isStarted |
Gets whether the current state is Started.
- (bool) isStopped |
Gets whether the current state is Stopped.
- (NSString*) label |
Gets a label that identifies this class.
Implemented in FMLiveSwitchYuv4MpegVideoSource, FMLiveSwitchNullVideoSource, FMLiveSwitchNullAudioSource, FMLiveSwitchMatroskaVideoSource, FMLiveSwitchMatroskaAudioSource, FMLiveSwitchFakeVideoSource, and FMLiveSwitchFakeAudioSource.
- (int) maxOutputBitrate |
Gets the maximum allowed output bitrate, in kbps.
A value of -1 indicates unset (no maximum).
- (FMLiveSwitchEncodingInfo*) maxOutputEncoding |
Gets the maximum allowed output encoding.
Implemented in FMLiveSwitchVideoSource.
+ (FMLiveSwitchMediaSource*) mediaSourceWithOutputFormat: | (TFormat) | outputFormat |
Initializes a new instance of the FMLiveSwitchMediaSource`8 class.
outputFormat | The output format. |
- (int) minOutputBitrate |
Gets the minimum allowed output bitrate, in kbps.
A value of -1 indicates unset (no minimum).
- (FMLiveSwitchEncodingInfo*) minOutputEncoding |
Gets the minimum allowed output encoding.
Implemented in FMLiveSwitchVideoSource.
- (bool) muted |
Gets whether output is muted.
Alias for FMLiveSwitchMediaSource`8outputMuted.
- (TIInput) output |
Gets the output.
- (void) outputAddedWithOutput: | (TIInput) | output |
Called when an output is added.
output | The output. |
- (bool) outputCanProcessFrameWithOutput: | (TIInput) | output |
Determines whether an output can process a frame from this pipe.
output | The output. |
- (bool) outputDeactivated |
Gets whether output is deactivated.
- (TFormat) outputFormat |
Gets the output format.
- (bool) outputMuted |
Gets whether output is muted.
- (void) outputRemovedWithOutput: | (TIInput) | output |
Called when an output is removed.
output | The output. |
- (NSString*) outputRtpStreamId |
Gets the output RTP stream identifier.
- (NSMutableArray*) outputs |
Gets the outputs.
- (bool) outputSynchronizable |
Gets whether output is synchronizable.
- (long long) outputSynchronizationSource |
Gets the output synchronization source.
- (bool) overConstrained |
Gets whether this source is over-constrained.
A source is over-constrained if it's output is over-constrained.
- (bool) overConstrainedBitrate |
Gets whether the source bitrate is over-constrained.
A source bitrate is over-constrained if the output bitrate is over-constrained.
- (bool) overConstrainedOutput |
Gets whether the output is over-constrained.
An output is over-constrained if it's output bitrate is over-contrained.
Implemented in FMLiveSwitchVideoSource.
- (bool) overConstrainedOutputBitrate |
Gets whether the minimum allowed output bitrate exceeds the maximum allowed output bitrate.
- (bool) paused |
Gets a value indicating whether this source is paused.
- (bool) persistent |
Gets a value indicating whether this instance is persistent.
If true
, this instance will not be destroyed unless FMLiveSwitchMediaSource`8destroy is called explicitly on this instance. It will survive destruction of any parent elements that are being destroyed.
- (NSString*) pipelineJson |
Gets the pipeline JSON with this as the central point.
- (NSString*) pipelineJsonFromOutput |
Gets the pipeline JSON from an output.
- (void) processControlFrame: | (FMLiveSwitchMediaControlFrame *) | controlFrame |
Processes a control frame.
controlFrame | The control frame. |
- (void) processControlFrames: | (NSMutableArray *) | controlFrames |
Processes control frames.
controlFrames | The control frames. |
- (FMLiveSwitchError*) processSdpMediaDescriptionFromOutputWithMediaDescription: | (FMLiveSwitchSdpMediaDescription *) | mediaDescription | |
isOffer: | (bool) | isOffer | |
isLocalDescription: | (bool) | isLocalDescription | |
Processes a local SDP media description from an output.
mediaDescription | The media description. |
isOffer | if set to true [is offer]. |
isLocalDescription | if set to true [is local description]. |
- (void) processSourceStatsFromOutputWithSourceStats: | (FMLiveSwitchMediaSourceStats *) | sourceStats |
Processes source stats from an output.
sourceStats | The source stats. |
- (void) processTrackStatsFromOutputWithTrackStats: | (FMLiveSwitchMediaTrackStats *) | trackStats |
Processes track stats from an output.
trackStats | The track stats. |
- (void) raiseControlFrameResponse: | (FMLiveSwitchMediaControlFrame *) | controlFrameResponse |
Raises a control frame response.
controlFrameResponse | The control frame response. |
- (void) raiseControlFrameResponse: | (FMLiveSwitchMediaControlFrame *) | controlFrameResponse | |
outputs: | (NSMutableArray *) | outputs | |
Raises a control frame response.
controlFrameResponse | The control frame response. |
outputs | The outputs. |
- (void) raiseControlFrameResponses: | (NSMutableArray *) | controlFrameResponses |
Raises control frame responses.
controlFrameResponses | The control frame responses. |
- (void) raiseControlFrameResponses: | (NSMutableArray *) | controlFrameResponses | |
outputs: | (NSMutableArray *) | outputs | |
Raises control frame responses.
controlFrameResponses | The control frame responses. |
outputs | The outputs. |
- (void) raiseDisabledChange |
Raises the OnDisabledChange event.
- (void) raiseFrame: | (TFrame) | frame |
Raises a frame.
frame | The frame. |
- (void) removeOnDisabledChange: | (FMLiveSwitchAction0 *) | value |
Removes a handler that is raised when the Disabled property changes state.
- (void) removeOnDisabledChangeWithCaller: | (FMLiveSwitchAction1< id > *) | value |
Removes a handler that is raised when the Disabled property changes state.
- (void) removeOnMuted: | (FMLiveSwitchAction0 *) | value |
Removes a handler that is raised when the source is muted.
- (void) removeOnPausedChange: | (FMLiveSwitchAction0 *) | value |
Removes a handler that is raised when the Paused property changes state.
- (void) removeOnProcessControlFrames: | (FMLiveSwitchAction1< NSMutableArray * > *) | value |
Removes a handler that is raised when control frames are processed.
- (void) removeOnProcessedControlFrames: | (FMLiveSwitchAction1< NSMutableArray * > *) | value |
Removes a handler that is raised when control frames have been processed.
- (void) removeOnRaiseControlFrameResponses: | (FMLiveSwitchAction1< NSMutableArray * > *) | value |
Removes a handler that is raised when control frame responses are raised.
- (void) removeOnRaisedControlFrameResponses: | (FMLiveSwitchAction1< NSMutableArray * > *) | value |
Removes a handler that is raised when control frame responses have been raised.
- (void) removeOnRaisedFrame: | (FMLiveSwitchAction1< TFrame > *) | value |
Removes a handler that is raised when a frame has been raised.
- (void) removeOnRaiseFrame: | (FMLiveSwitchAction1< TFrame > *) | value |
Removes a handler that is raised when a frame is being raised.
- (void) removeOnStateChange: | (FMLiveSwitchAction1< TSource > *) | value |
Removes a handler that is raised when the state changes.
- (void) removeOnUnmuted: | (FMLiveSwitchAction0 *) | value |
Removes a handler that is raised when the source is unmuted.
- (bool) removeOutput: | (TIInput) | output |
Removes an output.
output | The output. |
- (void) removeOutputs |
Removes all outputs.
- (void) removeOutputs: | (NSMutableArray *) | outputs |
Removes some outputs.
outputs | The outputs. |
- (void) setDeactivated: | (bool) | value |
Sets a value indicating whether this source is deactivated.
Deactivating a source disables it until it is activated again. Upon reactivation, a pipe may remain disabled if its outputs are disabled. A deactivated source will not raise any frames. Alias for FMLiveSwitchMediaSource`8outputDeactivated.
- (void) setInput: | (FMLiveSwitchSourceInput *) | value |
Sets the current input.
- (void) setMaxOutputBitrate: | (int) | value |
Sets the maximum allowed output bitrate, in kbps.
A value of -1 indicates unset (no maximum).
- (void) setMaxOutputEncoding: | (FMLiveSwitchEncodingInfo *) | value |
Sets the maximum allowed output encoding.
Implemented in FMLiveSwitchVideoSource.
- (void) setMinOutputBitrate: | (int) | value |
Sets the minimum allowed output bitrate, in kbps.
A value of -1 indicates unset (no minimum).
- (void) setMinOutputEncoding: | (FMLiveSwitchEncodingInfo *) | value |
Sets the minimum allowed output encoding.
Implemented in FMLiveSwitchVideoSource.
- (void) setMuted: | (bool) | value |
Sets whether output is muted.
Alias for FMLiveSwitchMediaSource`8outputMuted.
- (void) setOutput: | (TIInput) | value |
Sets the output.
- (void) setOutputDeactivated: | (bool) | value |
Sets whether output is deactivated.
- (void) setOutputMuted: | (bool) | value |
Sets whether output is muted.
- (void) setOutputRtpStreamId: | (NSString *) | value |
Sets the output RTP stream identifier.
- (void) setOutputs: | (NSMutableArray *) | value |
Sets the outputs.
- (void) setOutputSynchronizable: | (bool) | value |
Sets whether output is synchronizable.
- (void) setOutputSynchronizationSource: | (long long) | value |
Sets the output synchronization source.
- (void) setPersistent: | (bool) | value |
Sets a value indicating whether this instance is persistent.
If true
, this instance will not be destroyed unless FMLiveSwitchMediaSource`8destroy is called explicitly on this instance. It will survive destruction of any parent elements that are being destroyed.
- (void) setSynchronizationSource: | (long long) | value |
Sets the output synchronization source.
Alias for FMLiveSwitchMediaSource`8outputSynchronizationSource.
- (void) setSystemDelay: | (long long) | value |
Sets the system delay in ticks.
- (void) setTargetOutputBitrate: | (int) | value |
Sets the target output bitrate, in kbps.
A value of -1 indicates unset (no target).
- (void) setTargetOutputEncoding: | (FMLiveSwitchEncodingInfo *) | value |
Sets the target output encoding.
Implemented in FMLiveSwitchVideoSource.
- (FMLiveSwitchFuture<id>*) start |
Starts this instance.
- (FMLiveSwitchMediaSourceState) state |
Gets the state.
- (FMLiveSwitchFuture<id>*) stop |
Stops this instance.
- (long long) synchronizationSource |
Gets the output synchronization source.
Alias for FMLiveSwitchMediaSource`8outputSynchronizationSource.
- (long long) systemDelay |
Gets the system delay in ticks.
- (int) targetOutputBitrate |
Gets the target output bitrate, in kbps.
A value of -1 indicates unset (no target).
- (FMLiveSwitchEncodingInfo*) targetOutputEncoding |
Gets the target output encoding.
Implemented in FMLiveSwitchVideoSource.
- (bool) updateDisabled |
Updates the disabled property.
|
protected |
|
protected |
|
protected |