A media stream. More...
Instance Methods | |
(FMLiveSwitchStreamDirection) | - absoluteSenderTimeDirection |
Gets the current direction for the RTP Header Extension for Absolute Sender Time. More... | |
(FMLiveSwitchStreamDirection) | - absoluteSenderTimeLocalDirection |
Gets the current local direction for the RTP Header Extension for Absolute Sender Time. More... | |
(FMLiveSwitchStreamDirection) | - absoluteSenderTimeRemoteDirection |
Gets the current remote direction for the RTP Header Extension for Absolute Sender Time. More... | |
(void) | - addInput: |
Adds an input. More... | |
(void) | - addInputs: |
Adds some inputs. More... | |
(void) | - addOnDiscardBitrateNotification: |
Adds a handler that is raised when a bitrate notification is discarded due to policy restrictions or lack of support by the remote endpoint. More... | |
(FMLiveSwitchBitrateNotification *) | - addOnDiscardBitrateNotificationWithBlock |
Adds a handler that is raised when a bitrate notification is discarded due to policy restrictions or lack of support by the remote endpoint. More... | |
(void) | - addOnDiscardBitrateNotificationWithBlock: |
Adds a handler that is raised when a bitrate notification is discarded due to policy restrictions or lack of support by the remote endpoint. More... | |
(void) | - addOnDiscardBitrateRequest: |
Adds a handler that is raised when a bitrate notification message is discarded by the internal in-band messaging mechanism because the peer does not support bitrate notifications. More... | |
(FMLiveSwitchBitrateRequest *) | - addOnDiscardBitrateRequestWithBlock |
Adds a handler that is raised when a bitrate notification message is discarded by the internal in-band messaging mechanism because the peer does not support bitrate notifications. More... | |
(void) | - addOnDiscardBitrateRequestWithBlock: |
Adds a handler that is raised when a bitrate notification message is discarded by the internal in-band messaging mechanism because the peer does not support bitrate notifications. More... | |
(void) | - addOnDiscardOutboundControlFrame: |
Adds a handler that is raised when an outbound control frame is discarded due to policy restrictions or lack of support by the remote endpoint. More... | |
(FMLiveSwitchMediaControlFrame *) | - addOnDiscardOutboundControlFrameWithBlock |
Adds a handler that is raised when an outbound control frame is discarded due to policy restrictions or lack of support by the remote endpoint. More... | |
(void) | - addOnDiscardOutboundControlFrameWithBlock: |
Adds a handler that is raised when an outbound control frame is discarded due to policy restrictions or lack of support by the remote endpoint. More... | |
(void) | - addOnMasterSynchronizeContextReady: |
Adds a handler that is raised by master streams when the synchronize context is ready. More... | |
(FMLiveSwitchSynchronizeContext *) | - addOnMasterSynchronizeContextReadyWithBlock |
Adds a handler that is raised by master streams when the synchronize context is ready. More... | |
(void) | - addOnMasterSynchronizeContextReadyWithBlock: |
Adds a handler that is raised by master streams when the synchronize context is ready. More... | |
(void) | - addOnPausedChange: |
Adds a handler that is raised when the Paused property changes state. More... | |
(void) | - addOnProcessControlFrameResponses: |
Adds a handler that is raised when control frame responses are processed. More... | |
(NSMutableArray *) | - addOnProcessControlFrameResponsesWithBlock |
Adds a handler that is raised when control frame responses are processed. More... | |
(void) | - addOnProcessControlFrameResponsesWithBlock: |
Adds a handler that is raised when control frame responses are processed. 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) | - addOnProcessedFrame: |
Adds a handler that is raised when a frame has been processed. More... | |
(TFrame) | - addOnProcessedFrameWithBlock |
Adds a handler that is raised when a frame has been processed. More... | |
(void) | - addOnProcessedFrameWithBlock: |
Adds a handler that is raised when a frame has been processed. More... | |
(void) | - addOnProcessFrame: |
Adds a handler that is raised when a frame is being processed. More... | |
(TFrame) | - addOnProcessFrameWithBlock |
Adds a handler that is raised when a frame is being processed. More... | |
(void) | - addOnProcessFrameWithBlock: |
Adds a handler that is raised when a frame is being 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) | - addOnRaiseControlFrames: |
Adds a handler that is raised when control frames are raised. More... | |
(NSMutableArray *) | - addOnRaiseControlFramesWithBlock |
Adds a handler that is raised when control frames are raised. More... | |
(void) | - addOnRaiseControlFramesWithBlock: |
Adds a handler that is raised when control frames are 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) | - addOnReceiveFrame: |
Adds a handler that is raised when a frame is received. More... | |
(TFrame) | - addOnReceiveFrameWithBlock |
Adds a handler that is raised when a frame is received. More... | |
(void) | - addOnReceiveFrameWithBlock: |
Adds a handler that is raised when a frame is received. More... | |
(void) | - addOnSendFrame: |
Adds a handler that is raised when a frame is sent. More... | |
(TFrame) | - addOnSendFrameWithBlock |
Adds a handler that is raised when a frame is sent. More... | |
(void) | - addOnSendFrameWithBlock: |
Adds a handler that is raised when a frame is sent. More... | |
(void) | - addOutput: |
Adds an output. More... | |
(void) | - addOutputs: |
Adds some outputs. More... | |
(FMLiveSwitchBandwidthAdaptationPolicy) | - bandwidthAdaptationPolicy |
Gets bandwidth adapation policy for this stream. More... | |
(bool) | - ccmFirEnabled |
Gets whether CCM FIRs are allowed. More... | |
(FMLiveSwitchCcmFirPolicy) | - ccmFirPolicy |
Gets the CCM FIR Policy. More... | |
(bool) | - ccmLrrEnabled |
Gets whether CCM LRRs are allowed. More... | |
(FMLiveSwitchCcmLrrPolicy) | - ccmLrrPolicy |
Gets the CCM LRR Policy. More... | |
(bool) | - ccmTmmbnEnabled |
Gets whether CCM TMMBNs are allowed. More... | |
(FMLiveSwitchCcmTmmbnPolicy) | - ccmTmmbnPolicy |
Gets the CCM TMMBR Policy. More... | |
(bool) | - ccmTmmbrEnabled |
Gets whether CCM TMMBRs are allowed. More... | |
(FMLiveSwitchCcmTmmbrPolicy) | - ccmTmmbrPolicy |
Gets the CCM TMMBR Policy. More... | |
(FMLiveSwitchFuture< id > *) | - changeInputFormat: |
Changes the current input format (switches codecs). More... | |
(NSString *) | - content |
Gets the content descriptor. More... | |
(FMLiveSwitchTransportInfo *) | - controlTransportInfo |
Gets control transport information. More... | |
(TFormat) | - createFormatWithAttribute:formatParametersAttribute: |
Creates a format. More... | |
(TFormat) | - createFormatWithName:clockRate:parameters:payloadType: |
Creates a format. More... | |
(TIInputCollection) | - createInputCollectionWithOutput: |
Creates an input collection. More... | |
(TFormatCollection) | - createMediaFormatCollection |
Creates a media format collection. More... | |
(TIOutputCollection) | - createOutputCollectionWithInput: |
Creates an output collection. More... | |
(TFormat) | - createRedFormat |
Creates a RED format. More... | |
(TFormat) | - createUlpFecFormat |
Creates a ulpfec format. More... | |
(long long) | - defaultLocalSynchronizationSource |
Gets default local synchronization source (SSRC) associated with a local sender. More... | |
(bool) | - destroy |
Destroys this instance. More... | |
(bool) | - disableAutomaticReports |
Gets a value indicating whether to disable automatic RTCP sender/receiver reports. More... | |
(NSMutableArray *) | - disabledInputFormats |
Gets the disabled input formats. More... | |
(FMLiveSwitchFuture< id > *) | - disableInputFormat: |
Disables an input format. More... | |
(FMLiveSwitchFuture< id > *) | - enableInputFormat: |
Enables an input format. More... | |
(NSMutableArray *) | - formatArrayFromListWithFormatList: |
Creates a format array from a format list. More... | |
(int) | - getCcmSequenceNumber |
Gets the FIR sequence number. More... | |
(bool) | - getInputSourceMutedWithInput: |
Gets whether an input source is muted. More... | |
(bool) | - getInputSourceMutedWithInputs: |
Gets whether an input source is muted. More... | |
(NSString *) | - getLocalRtpStreamIdWithLocalSynchronizationSource: |
Gets the local RTP stream identifier for a given local synchronization source. More... | |
(long long) | - getLocalSynchronizationSourceWithRtpStreamId: |
Gets the local synchronization source for a given local RTP stream identifier. More... | |
(bool) | - getOutputSinkMutedWithOutput: |
Gets whether an output source is muted. More... | |
(bool) | - getOutputSinkMutedWithOutputs: |
Gets whether an output sink is muted. More... | |
(long long) | - getPipelineSystemDelayWithOutputFormat: |
Gets the total pipeline system delay in ticks for a given output format. More... | |
(NSString *) | - getRemoteRtpStreamIdWithRemoteSynchronizationSource: |
Gets the remote RTP stream identifier for a given remote synchronization source. More... | |
(long long) | - getRemoteSynchronizationSourceWithRtpStreamId: |
Gets the remote synchronization source for a given remote RTP stream identifier. More... | |
(void) | - incrementCcmSequenceNumber |
Increments the FIR sequence number. More... | |
(instancetype) | - initWithType:jitterConfig: |
Initializes a new instance of the FMLiveSwitchMediaStream`15 class. More... | |
(bool) | - injectionAllowed |
Gets whether at least one frame has been successfully processed. More... | |
(TIOutput) | - input |
Gets the input. More... | |
(NSMutableArray *) | - inputArrayFromListWithInputList: |
Creates an input array from an input list. More... | |
(bool) | - inputDeactivated |
Gets whether input is deactivated. More... | |
(TFormat) | - inputFormat |
Gets the current input format. More... | |
(NSMutableArray *) | - inputFormats |
Gets the available input formats. More... | |
(int) | - inputMaxOutputBitrate |
Gets the sum of the bitrates from FMLiveSwitchMediaStream`15inputMaxOutputEncodings. More... | |
(NSMutableArray *) | - inputMaxOutputEncodings |
Gets the inputs' maximum allowed output encodings. More... | |
(int) | - inputMinOutputBitrate |
Gets the sum of the bitrates from FMLiveSwitchMediaStream`15inputMinOutputEncodings. More... | |
(NSMutableArray *) | - inputMinOutputEncodings |
Gets the inputs' minimum allowed output encodings. More... | |
(bool) | - inputMuted |
Gets whether the input track is muted. More... | |
(NSString *) | - inputRtpStreamId |
Gets null to satisfy interface requirements. More... | |
(NSMutableArray *) | - inputs |
Gets the inputs. More... | |
(bool) | - inputSynchronizationDisabled |
Gets whether input synchronization is disabled. More... | |
(long long) | - inputSynchronizationSource |
Gets -1 to satisfy interface requirements. More... | |
(NSMutableArray *) | - inputSynchronizationSources |
Gets the input synchronization sources. More... | |
(int) | - inputTargetOutputBitrate |
Gets the sum of the bitrates from FMLiveSwitchMediaStream`15inputTargetOutputEncodings. More... | |
(NSMutableArray *) | - inputTargetOutputEncodings |
Gets the inputs' target output encodings. More... | |
(FMLiveSwitchJitterConfig *) | - jitterConfig |
Gets the jitter configuration. More... | |
(bool) | - legacyReceiver |
Gets whether to use legacy receiver processing. More... | |
(NSString *) | - localDescriptionMediaId |
Gets the local description media identifier. More... | |
(NSString *) | - localDescriptionTrackId |
Gets the local description track identifier. More... | |
(FMLiveSwitchLocalMedia *) | - localMedia |
Gets the local media, if one was specified. More... | |
(TTrack) | - localTrack |
Gets the local track from this media. More... | |
(int) | - maxInputBitrate |
Gets the maximum allowed input bitrate, in kbps. More... | |
(FMLiveSwitchEncodingInfo *) | - maxInputEncoding |
Gets the max input encoding. More... | |
(int) | - maxOutputBitrate |
Gets the maximum allowed output bitrate, in kbps. More... | |
(FMLiveSwitchEncodingInfo *) | - maxOutputEncoding |
Gets the max output encoding. More... | |
(int) | - maxReceiveBitrate |
Gets the maximum desired receive bitrate, in kbps. More... | |
(int) | - minInputBitrate |
Gets the minimum allowed input bitrate, in kbps. More... | |
(FMLiveSwitchEncodingInfo *) | - minInputEncoding |
Gets the min input encoding. More... | |
(int) | - minOutputBitrate |
Gets the minimum allowed output bitrate, in kbps. More... | |
(FMLiveSwitchEncodingInfo *) | - minOutputEncoding |
Gets the min output encoding. More... | |
(bool) | - multiplexed |
Gets a value indicating whether Rtp and Rtcp components for this stream are multiplexed on the same port. More... | |
(bool) | - multiplexingSupported |
Gets a value indicating whether so far negotiation with the peer indicates that Rtp and Rtcp component multiplexing on the same port is supported. More... | |
(FMLiveSwitchNackConfig *) | - nackConfig |
Gets Nack config. More... | |
(bool) | - nackEnabled |
Gets whether NACKs are allowed. More... | |
(bool) | - nackPliEnabled |
Gets whether NACK PLIs are allowed. More... | |
(FMLiveSwitchNackPliPolicy) | - nackPliPolicy |
Gets the NACK PLI Policy. More... | |
(FMLiveSwitchNackPolicy) | - nackPolicy |
Gets the NACK Policy. More... | |
(TIInput) | - output |
Gets the output. More... | |
(NSMutableArray *) | - outputArrayFromListWithOutputList: |
Creates an output array from an output list. More... | |
(bool) | - outputDeactivated |
Gets whether output is deactivated. More... | |
(TFormat) | - outputFormat |
Gets the output format. More... | |
(int) | - outputMaxInputBitrate |
Gets the sum of the bitrates from FMLiveSwitchMediaStream`15outputMaxInputEncodings. More... | |
(NSMutableArray *) | - outputMaxInputEncodings |
Gets the outputs' maximum allowed input encodings. More... | |
(int) | - outputMinInputBitrate |
Gets the sum of the bitrates from FMLiveSwitchMediaStream`15outputMinInputEncodings. More... | |
(NSMutableArray *) | - outputMinInputEncodings |
Gets the outputs' minimum allowed input encodings. More... | |
(bool) | - outputMuted |
Gets whether the output track is muted. More... | |
(NSString *) | - outputRtpStreamId |
Gets null to satisfy interface requirements. More... | |
(NSMutableArray *) | - outputs |
Gets the outputs. More... | |
(bool) | - outputSynchronizable |
Gets whether output is synchronizable. More... | |
(bool) | - outputSynchronizationDisabled |
Gets whether output synchronization is disabled. More... | |
(long long) | - outputSynchronizationSource |
Gets -1 to satisfy interface requirements. More... | |
(NSMutableArray *) | - outputSynchronizationSources |
Gets the output synchronization sources. More... | |
(bool) | - overConstrained |
Gets whether this stream is over-constrained. More... | |
(bool) | - overConstrainedBitrate |
Gets whether the stream bitrate is over-constrained. More... | |
(bool) | - overConstrainedInput |
Gets whether the input is over-contrained. More... | |
(bool) | - overConstrainedInputBitrate |
Gets whether the minimum allowed input bitrate exceeds the maximum allowed input bitrate. 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 stream 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 *) | - pipelineJsonFromInput |
Gets the pipeline JSON from an input. More... | |
(NSString *) | - pipelineJsonFromOutput |
Gets the pipeline JSON from an output. More... | |
(void) | - populateInfo: |
Populates the media stream info. More... | |
(void) | - processControlFrame: |
Processes a control frame. More... | |
(void) | - processControlFrameResponse: |
Processes a control frame response. More... | |
(void) | - processControlFrameResponses: |
Processes control frame responses. More... | |
(void) | - processControlFrames: |
Processes control frames. More... | |
(bool) | - processFrame: |
Processes a frame. More... | |
(FMLiveSwitchProcessFramePolicy) | - processFramePolicy |
Gets the ProcessFramePolicy for this media input. More... | |
(void) | - processSdpContentAttribute:isLocalDescription: |
Processes an SDP content attribute. More... | |
(FMLiveSwitchError *) | - processSdpMediaDescriptionFromInputWithMediaDescription:isOffer:isLocalDescription: |
Processes a local SDP media description from an input. More... | |
(FMLiveSwitchError *) | - processSdpMediaDescriptionFromOutputWithMediaDescription:isOffer:isLocalDescription: |
Processes a local SDP media description from an output. More... | |
(void) | - processSinkStatsFromInputWithSinkStats: |
Processes sink stats from an input. More... | |
(void) | - processSourceStatsFromOutputWithSourceStats: |
Processes source stats from an output. More... | |
(void) | - processStateChange |
Processes a state change. More... | |
(void) | - processTrackStatsFromInputWithTrackStats: |
Processes stats from an input. More... | |
(void) | - processTrackStatsFromOutputWithTrackStats: |
Processes stats from an output. More... | |
(bool) | - raiseBitrateNotification: |
Raises a bitrate notification to the remote track. More... | |
(bool) | - raiseBitrateRequest: |
Raises a bitrate request to the local track. More... | |
(void) | - raiseFrame: |
Raises a frame. More... | |
(FMLiveSwitchRedFecConfig *) | - redFecConfig |
Gets Fec Config. More... | |
(bool) | - redFecEnabled |
Gets True if Red Fec is negotiated. More... | |
(FMLiveSwitchRedFecPolicy) | - redFecPolicy |
Gets the Fec Policy. More... | |
(bool) | - rembEnabled |
Gets True if goog-remb is negotiated. More... | |
(FMLiveSwitchRembPolicy) | - rembPolicy |
Gets the goog-remb policy. More... | |
(NSString *) | - remoteDescriptionMediaId |
Gets the remote description media identifier. More... | |
(NSString *) | - remoteDescriptionTrackId |
Gets the remote description track identifier. More... | |
(FMLiveSwitchEncodingInfo *) | - remoteEncoding |
Gets the remote encoding. More... | |
(FMLiveSwitchRemoteMedia *) | - remoteMedia |
Gets the remote media, if one was specified. More... | |
(TTrack) | - remoteTrack |
Gets the remote track, if one was specified. More... | |
(bool) | - removeInput: |
Removes an input. More... | |
(void) | - removeInputs |
Removes all inputs. More... | |
(void) | - removeInputs: |
Removes some inputs. More... | |
(void) | - removeOnDiscardBitrateNotification: |
Removes a handler that is raised when a bitrate notification is discarded due to policy restrictions or lack of support by the remote endpoint. More... | |
(void) | - removeOnDiscardBitrateRequest: |
Removes a handler that is raised when a bitrate notification message is discarded by the internal in-band messaging mechanism because the peer does not support bitrate notifications. More... | |
(void) | - removeOnDiscardOutboundControlFrame: |
Removes a handler that is raised when an outbound control frame is discarded due to policy restrictions or lack of support by the remote endpoint. More... | |
(void) | - removeOnMasterSynchronizeContextReady: |
Removes a handler that is raised by master streams when the synchronize context is ready. More... | |
(void) | - removeOnPausedChange: |
Removes a handler that is raised when the Paused property changes state. More... | |
(void) | - removeOnProcessControlFrameResponses: |
Removes a handler that is raised when control frame responses are processed. More... | |
(void) | - removeOnProcessControlFrames: |
Removes a handler that is raised when control frames are processed. More... | |
(void) | - removeOnProcessedFrame: |
Removes a handler that is raised when a frame has been processed. More... | |
(void) | - removeOnProcessFrame: |
Removes a handler that is raised when a frame is being processed. More... | |
(void) | - removeOnRaiseControlFrameResponses: |
Removes a handler that is raised when control frame responses are raised. More... | |
(void) | - removeOnRaiseControlFrames: |
Removes a handler that is raised when control frames are 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) | - removeOnReceiveFrame: |
Removes a handler that is raised when a frame is received. More... | |
(void) | - removeOnSendFrame: |
Removes a handler that is raised when a frame is sent. More... | |
(bool) | - removeOutput: |
Removes an output. More... | |
(void) | - removeOutputs |
Removes all outputs. More... | |
(void) | - removeOutputs: |
Removes some outputs. More... | |
(FMLiveSwitchStreamDirection) | - rtpTransportWideCCDirection |
Gets the current direction for the RTP Header Extension for Transport-wide CC. More... | |
(FMLiveSwitchStreamDirection) | - rtpTransportWideCCLocalDirection |
Gets the current local direction for the RTP Header Extension for Transport-wide CC. More... | |
(FMLiveSwitchStreamDirection) | - rtpTransportWideCCRemoteDirection |
Gets the remote local direction for the RTP Header Extension for Transport-wide CC. More... | |
(void) | - setBandwidthAdaptationPolicy: |
Sets bandwidth adapation policy for this stream. More... | |
(void) | - setCcmFirPolicy: |
Sets the CCM FIR Policy. More... | |
(void) | - setCcmLrrPolicy: |
Sets the CCM LRR Policy. More... | |
(void) | - setCcmTmmbnPolicy: |
Sets the CCM TMMBR Policy. More... | |
(void) | - setCcmTmmbrPolicy: |
Sets the CCM TMMBR Policy. More... | |
(void) | - setDisableAutomaticReports: |
Sets a value indicating whether to disable automatic RTCP sender/receiver reports. More... | |
(void) | - setInputMuted: |
Sets whether the input track is muted. More... | |
(void) | - setInputRtpStreamId: |
Sets null to satisfy interface requirements. More... | |
(void) | - setInputSourceMutedWithInput:value: |
Sets whether an input source is muted. More... | |
(void) | - setInputSourceMutedWithInputs:value: |
Sets whether an input source is muted. More... | |
(void) | - setInputSynchronizationDisabled: |
Sets whether input synchronization is disabled. More... | |
(void) | - setInputSynchronizationSource: |
Sets -1 to satisfy interface requirements. More... | |
(void) | - setLegacyReceiver: |
Sets whether to use legacy receiver processing. More... | |
(void) | - setLocalDescriptionMediaId: |
Sets the local description media identifier. More... | |
(void) | - setLocalDescriptionTrackId: |
Sets the local description track identifier. More... | |
(void) | - setLocalMedia: |
Sets the local media, if one was specified. More... | |
(void) | - setLocalTrack: |
Sets the local track from this media. More... | |
(void) | - setMaxReceiveBitrate: |
Sets the maximum desired receive bitrate, in kbps. More... | |
(void) | - setNackPliPolicy: |
Sets the NACK PLI Policy. More... | |
(void) | - setNackPolicy: |
Sets the NACK Policy. More... | |
(void) | - setOutputFormat: |
Sets the output format. More... | |
(void) | - setOutputMuted: |
Sets whether the output track is muted. More... | |
(void) | - setOutputSinkMutedWithOutput:value: |
Sets whether an output source is muted. More... | |
(void) | - setOutputSinkMutedWithOutputs:value: |
Sets whether an output sink is muted. More... | |
(void) | - setOutputSynchronizationDisabled: |
Sets whether output synchronization is disabled. More... | |
(void) | - setProcessFramePolicy: |
Sets the ProcessFramePolicy for this media input. More... | |
(void) | - setRedFecPolicy: |
Sets the Fec Policy. More... | |
(void) | - setRemoteEncoding: |
Sets the remote encoding. More... | |
(void) | - setRemoteMedia: |
Sets the remote media, if one was specified. More... | |
(void) | - setRemoteTrack: |
Sets the remote track, if one was specified. More... | |
(void) | - setSimulcastMode: |
Sets the simulcast mode. More... | |
(void) | - setSynchronizeContext: |
Sets the synchronize context. More... | |
(void) | - setSystemDelay: |
Sets the system delay in ticks. More... | |
(FMLiveSwitchSimulcastMode) | - simulcastMode |
Gets the simulcast mode. More... | |
(FMLiveSwitchSynchronizeContext *) | - synchronizeContext |
Gets the synchronize context. More... | |
(NSMutableArray *) | - synchronizers |
Gets all synchronizers in the stream output tracks. More... | |
(void) | - synchronizeWithMaster: |
Initializes synchronization. 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... | |
(FMLiveSwitchTransportInfo *) | - transportInfo |
Gets transport information. More... | |
Class Methods | |
(FMLiveSwitchMediaStream *) | + mediaStreamWithType:jitterConfig: |
Initializes a new instance of the FMLiveSwitchMediaStream`15 class. More... | |
A media stream.
- (FMLiveSwitchStreamDirection) absoluteSenderTimeDirection |
Gets the current direction for the RTP Header Extension for Absolute Sender Time.
See https://webrtc.org/experiments/rtp-hdrext/abs-send-time/ . If the remote capability has not yet been receieved, only local requirements are taken into consideration.
- (FMLiveSwitchStreamDirection) absoluteSenderTimeLocalDirection |
Gets the current local direction for the RTP Header Extension for Absolute Sender Time.
See https://webrtc.org/experiments/rtp-hdrext/abs-send-time/ . If the remote capability has not yet been received, only local requirements are taken into consideration.
- (FMLiveSwitchStreamDirection) absoluteSenderTimeRemoteDirection |
Gets the current remote direction for the RTP Header Extension for Absolute Sender Time.
See https://webrtc.org/experiments/rtp-hdrext/abs-send-time/ . If the remote capability has not yet been receieved, only local requirements are taken into consideration.
- (void) addInput: | (TIOutput) | input |
Adds an input.
input | The input. |
- (void) addInputs: | (NSMutableArray *) | inputs |
Adds some inputs.
inputs | The inputs. |
- (void) addOnDiscardBitrateNotification: | (FMLiveSwitchAction1< FMLiveSwitchBitrateNotification * > *) | value |
Adds a handler that is raised when a bitrate notification is discarded due to policy restrictions or lack of support by the remote endpoint.
- (FMLiveSwitchBitrateNotification*) addOnDiscardBitrateNotificationWithBlock |
Adds a handler that is raised when a bitrate notification is discarded due to policy restrictions or lack of support by the remote endpoint.
- (void) addOnDiscardBitrateNotificationWithBlock: | (void(^)(FMLiveSwitchBitrateNotification *)) | valueBlock |
Adds a handler that is raised when a bitrate notification is discarded due to policy restrictions or lack of support by the remote endpoint.
- (void) addOnDiscardBitrateRequest: | (FMLiveSwitchAction1< FMLiveSwitchBitrateRequest * > *) | value |
Adds a handler that is raised when a bitrate notification message is discarded by the internal in-band messaging mechanism because the peer does not support bitrate notifications.
In this case, the bitrate notification needs to be transported out of band. LiveSwitch handles this internally by sending the message over Data Streams. No further action is required by application developers.
Use this event for for diagnostics and debugging.
- (FMLiveSwitchBitrateRequest*) addOnDiscardBitrateRequestWithBlock |
Adds a handler that is raised when a bitrate notification message is discarded by the internal in-band messaging mechanism because the peer does not support bitrate notifications.
In this case, the bitrate notification needs to be transported out of band. LiveSwitch handles this internally by sending the message over Data Streams. No further action is required by application developers.
Use this event for for diagnostics and debugging.
- (void) addOnDiscardBitrateRequestWithBlock: | (void(^)(FMLiveSwitchBitrateRequest *)) | valueBlock |
Adds a handler that is raised when a bitrate notification message is discarded by the internal in-band messaging mechanism because the peer does not support bitrate notifications.
In this case, the bitrate notification needs to be transported out of band. LiveSwitch handles this internally by sending the message over Data Streams. No further action is required by application developers.
Use this event for for diagnostics and debugging.
- (void) addOnDiscardOutboundControlFrame: | (FMLiveSwitchAction1< FMLiveSwitchMediaControlFrame * > *) | value |
Adds a handler that is raised when an outbound control frame is discarded due to policy restrictions or lack of support by the remote endpoint.
- (FMLiveSwitchMediaControlFrame*) addOnDiscardOutboundControlFrameWithBlock |
Adds a handler that is raised when an outbound control frame is discarded due to policy restrictions or lack of support by the remote endpoint.
- (void) addOnDiscardOutboundControlFrameWithBlock: | (void(^)(FMLiveSwitchMediaControlFrame *)) | valueBlock |
Adds a handler that is raised when an outbound control frame is discarded due to policy restrictions or lack of support by the remote endpoint.
- (void) addOnMasterSynchronizeContextReady: | (FMLiveSwitchAction1< FMLiveSwitchSynchronizeContext * > *) | value |
Adds a handler that is raised by master streams when the synchronize context is ready.
- (FMLiveSwitchSynchronizeContext*) addOnMasterSynchronizeContextReadyWithBlock |
Adds a handler that is raised by master streams when the synchronize context is ready.
- (void) addOnMasterSynchronizeContextReadyWithBlock: | (void(^)(FMLiveSwitchSynchronizeContext *)) | valueBlock |
Adds a handler that is raised by master streams when the synchronize context is ready.
- (void) addOnPausedChange: | (FMLiveSwitchAction0 *) | value |
Adds a handler that is raised when the Paused property changes state.
- (void) addOnProcessControlFrameResponses: | (FMLiveSwitchAction1< NSMutableArray * > *) | value |
Adds a handler that is raised when control frame responses are processed.
- (NSMutableArray*) addOnProcessControlFrameResponsesWithBlock |
Adds a handler that is raised when control frame responses are processed.
- (void) addOnProcessControlFrameResponsesWithBlock: | (void(^)(NSMutableArray *)) | valueBlock |
Adds a handler that is raised when control frame responses are processed.
- (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) addOnProcessedFrame: | (FMLiveSwitchAction1< TFrame > *) | value |
Adds a handler that is raised when a frame has been processed.
- (TFrame) addOnProcessedFrameWithBlock |
Adds a handler that is raised when a frame has been processed.
- (void) addOnProcessedFrameWithBlock: | (void(^)(TFrame)) | valueBlock |
Adds a handler that is raised when a frame has been processed.
- (void) addOnProcessFrame: | (FMLiveSwitchAction1< TFrame > *) | value |
Adds a handler that is raised when a frame is being processed.
- (TFrame) addOnProcessFrameWithBlock |
Adds a handler that is raised when a frame is being processed.
- (void) addOnProcessFrameWithBlock: | (void(^)(TFrame)) | valueBlock |
Adds a handler that is raised when a frame is being 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) addOnRaiseControlFrames: | (FMLiveSwitchAction1< NSMutableArray * > *) | value |
Adds a handler that is raised when control frames are raised.
- (NSMutableArray*) addOnRaiseControlFramesWithBlock |
Adds a handler that is raised when control frames are raised.
- (void) addOnRaiseControlFramesWithBlock: | (void(^)(NSMutableArray *)) | valueBlock |
Adds a handler that is raised when control frames are 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) addOnReceiveFrame: | (FMLiveSwitchAction1< TFrame > *) | value |
Adds a handler that is raised when a frame is received.
- (TFrame) addOnReceiveFrameWithBlock |
Adds a handler that is raised when a frame is received.
- (void) addOnReceiveFrameWithBlock: | (void(^)(TFrame)) | valueBlock |
Adds a handler that is raised when a frame is received.
- (void) addOnSendFrame: | (FMLiveSwitchAction1< TFrame > *) | value |
Adds a handler that is raised when a frame is sent.
- (TFrame) addOnSendFrameWithBlock |
Adds a handler that is raised when a frame is sent.
- (void) addOnSendFrameWithBlock: | (void(^)(TFrame)) | valueBlock |
Adds a handler that is raised when a frame is sent.
- (void) addOutput: | (TIInput) | output |
Adds an output.
output | The output. |
- (void) addOutputs: | (NSMutableArray *) | outputs |
Adds some outputs.
outputs | The outputs. |
- (FMLiveSwitchBandwidthAdaptationPolicy) bandwidthAdaptationPolicy |
Gets bandwidth adapation policy for this stream.
- (bool) ccmFirEnabled |
Gets whether CCM FIRs are allowed.
- (FMLiveSwitchCcmFirPolicy) ccmFirPolicy |
Gets the CCM FIR Policy.
- (bool) ccmLrrEnabled |
Gets whether CCM LRRs are allowed.
- (FMLiveSwitchCcmLrrPolicy) ccmLrrPolicy |
Gets the CCM LRR Policy.
- (bool) ccmTmmbnEnabled |
Gets whether CCM TMMBNs are allowed.
- (FMLiveSwitchCcmTmmbnPolicy) ccmTmmbnPolicy |
Gets the CCM TMMBR Policy.
- (bool) ccmTmmbrEnabled |
Gets whether CCM TMMBRs are allowed.
- (FMLiveSwitchCcmTmmbrPolicy) ccmTmmbrPolicy |
Gets the CCM TMMBR Policy.
- (FMLiveSwitchFuture<id>*) changeInputFormat: | (TFormat) | inputFormat |
Changes the current input format (switches codecs).
inputFormat | The input format. |
- (NSString*) content |
Gets the content descriptor.
- (FMLiveSwitchTransportInfo*) controlTransportInfo |
Gets control transport information.
- (TFormat) createFormatWithAttribute: | (FMLiveSwitchSdpRtpMapAttribute *) | attribute | |
formatParametersAttribute: | (FMLiveSwitchSdpFormatParametersAttribute *) | formatParametersAttribute | |
Creates a format.
attribute | The attribute. |
formatParametersAttribute | The format parameters attribute. |
Implemented in FMLiveSwitchVideoStream, and FMLiveSwitchAudioStream.
- (TFormat) createFormatWithName: | (NSString *) | name | |
clockRate: | (int) | clockRate | |
parameters: | (NSString *) | parameters | |
payloadType: | (int) | payloadType | |
Creates a format.
name | The format name. |
clockRate | The clock rate. |
parameters | The parameters. |
payloadType | The payload type. |
Implemented in FMLiveSwitchVideoStream, and FMLiveSwitchAudioStream.
- (TIInputCollection) createInputCollectionWithOutput: | (TIOutput) | output |
Creates an input collection.
output | The output. |
- (TFormatCollection) createMediaFormatCollection |
Creates a media format collection.
Implemented in FMLiveSwitchVideoStream, and FMLiveSwitchAudioStream.
- (TIOutputCollection) createOutputCollectionWithInput: | (TIInput) | input |
Creates an output collection.
input | The input. |
- (TFormat) createRedFormat |
Creates a RED format.
Implemented in FMLiveSwitchVideoStream, and FMLiveSwitchAudioStream.
- (TFormat) createUlpFecFormat |
Creates a ulpfec format.
Implemented in FMLiveSwitchVideoStream, and FMLiveSwitchAudioStream.
- (long long) defaultLocalSynchronizationSource |
Gets default local synchronization source (SSRC) associated with a local sender.
If the local SDP offer or answer has not yet been set on the Connection, this will return -1. Please wait till the local description has been set on the Connection before accessing this value.
- (bool) destroy |
Destroys this instance.
Implemented in FMLiveSwitchVideoStream.
- (bool) disableAutomaticReports |
Gets a value indicating whether to disable automatic RTCP sender/receiver reports.
- (NSMutableArray*) disabledInputFormats |
Gets the disabled input formats.
- (FMLiveSwitchFuture<id>*) disableInputFormat: | (TFormat) | inputFormat |
Disables an input format.
This will trigger a codec switch if disabling the current input format. This may disable the stream
inputFormat | The input format. |
- (FMLiveSwitchFuture<id>*) enableInputFormat: | (TFormat) | inputFormat |
Enables an input format.
This will NOT trigger a codec switch.
inputFormat | The input format. |
- (NSMutableArray*) formatArrayFromListWithFormatList: | (NSMutableArray< TFormat > *) | formatList |
Creates a format array from a format list.
formatList | The format list. |
- (int) getCcmSequenceNumber |
Gets the FIR sequence number.
- (bool) getInputSourceMutedWithInput: | (TIOutput) | input |
Gets whether an input source is muted.
input | The input. |
- (bool) getInputSourceMutedWithInputs: | (NSMutableArray *) | inputs |
Gets whether an input source is muted.
inputs | The inputs. |
- (NSString*) getLocalRtpStreamIdWithLocalSynchronizationSource: | (long long) | localSynchronizationSource |
Gets the local RTP stream identifier for a given local synchronization source.
localSynchronizationSource | The local synchronization source. |
- (long long) getLocalSynchronizationSourceWithRtpStreamId: | (NSString *) | rtpStreamId |
Gets the local synchronization source for a given local RTP stream identifier.
rtpStreamId | The RTP stream identifier. |
- (bool) getOutputSinkMutedWithOutput: | (TIInput) | output |
Gets whether an output source is muted.
output | The output. |
- (bool) getOutputSinkMutedWithOutputs: | (NSMutableArray *) | outputs |
Gets whether an output sink is muted.
outputs | The outputs. |
- (long long) getPipelineSystemDelayWithOutputFormat: | (TFormat) | outputFormat |
Gets the total pipeline system delay in ticks for a given output format.
outputFormat | The output format. |
- (NSString*) getRemoteRtpStreamIdWithRemoteSynchronizationSource: | (long long) | remoteSynchronizationSource |
Gets the remote RTP stream identifier for a given remote synchronization source.
remoteSynchronizationSource | The remote synchronization source. |
- (long long) getRemoteSynchronizationSourceWithRtpStreamId: | (NSString *) | rtpStreamId |
Gets the remote synchronization source for a given remote RTP stream identifier.
rtpStreamId | The RTP stream identifier. |
- (void) incrementCcmSequenceNumber |
Increments the FIR sequence number.
- (instancetype) initWithType: | (FMLiveSwitchStreamType) | type | |
jitterConfig: | (FMLiveSwitchJitterConfig *) | jitterConfig | |
Initializes a new instance of the FMLiveSwitchMediaStream`15 class.
type | The type. |
jitterConfig | The jitter configuration. |
- (bool) injectionAllowed |
Gets whether at least one frame has been successfully processed.
- (TIOutput) input |
Gets the input.
- (NSMutableArray*) inputArrayFromListWithInputList: | (NSMutableArray< TIInput > *) | inputList |
Creates an input array from an input list.
inputList | The input list. |
- (bool) inputDeactivated |
Gets whether input is deactivated.
Input is deactivated if the stream direction is unset, inactive, or recvonly.
- (TFormat) inputFormat |
Gets the current input format.
- (NSMutableArray*) inputFormats |
Gets the available input formats.
- (int) inputMaxOutputBitrate |
Gets the sum of the bitrates from FMLiveSwitchMediaStream`15inputMaxOutputEncodings.
- (NSMutableArray*) inputMaxOutputEncodings |
Gets the inputs' maximum allowed output encodings.
- (int) inputMinOutputBitrate |
Gets the sum of the bitrates from FMLiveSwitchMediaStream`15inputMinOutputEncodings.
- (NSMutableArray*) inputMinOutputEncodings |
Gets the inputs' minimum allowed output encodings.
- (bool) inputMuted |
Gets whether the input track is muted.
- (NSString*) inputRtpStreamId |
Gets null to satisfy interface requirements.
- (NSMutableArray*) inputs |
Gets the inputs.
- (bool) inputSynchronizationDisabled |
Gets whether input synchronization is disabled.
- (long long) inputSynchronizationSource |
Gets -1 to satisfy interface requirements.
- (NSMutableArray*) inputSynchronizationSources |
Gets the input synchronization sources.
- (int) inputTargetOutputBitrate |
Gets the sum of the bitrates from FMLiveSwitchMediaStream`15inputTargetOutputEncodings.
- (NSMutableArray*) inputTargetOutputEncodings |
Gets the inputs' target output encodings.
- (FMLiveSwitchJitterConfig*) jitterConfig |
Gets the jitter configuration.
- (bool) legacyReceiver |
Gets whether to use legacy receiver processing.
Legacy receiver processing uses a fixed-size jitter buffer and processes forward error correction pre-jitter.
- (NSString*) localDescriptionMediaId |
Gets the local description media identifier.
If not set, defaults to the FMLiveSwitchMediaStream`15localMedia identifier, if one exists.
- (NSString*) localDescriptionTrackId |
Gets the local description track identifier.
If not set, defaults to the FMLiveSwitchMediaStream`15localTrack identifier, if one exists.
- (FMLiveSwitchLocalMedia*) localMedia |
Gets the local media, if one was specified.
- (TTrack) localTrack |
Gets the local track from this media.
Returns null if there are no tracks.
- (int) maxInputBitrate |
Gets the maximum allowed input bitrate, in kbps.
A value of -1 indicates unset (no maximum).
- (FMLiveSwitchEncodingInfo*) maxInputEncoding |
Gets the max input encoding.
Implemented in FMLiveSwitchVideoStream.
- (int) maxOutputBitrate |
Gets the maximum allowed output bitrate, in kbps.
A value of -1 indicates unset (no maximum).
- (FMLiveSwitchEncodingInfo*) maxOutputEncoding |
Gets the max output encoding.
Implemented in FMLiveSwitchVideoStream.
- (int) maxReceiveBitrate |
Gets the maximum desired receive bitrate, in kbps.
+ (FMLiveSwitchMediaStream*) mediaStreamWithType: | (FMLiveSwitchStreamType) | type | |
jitterConfig: | (FMLiveSwitchJitterConfig *) | jitterConfig | |
Initializes a new instance of the FMLiveSwitchMediaStream`15 class.
type | The type. |
jitterConfig | The jitter configuration. |
- (int) minInputBitrate |
Gets the minimum allowed input bitrate, in kbps.
A value of -1 indicates unset (no minimum).
- (FMLiveSwitchEncodingInfo*) minInputEncoding |
Gets the min input encoding.
Implemented in FMLiveSwitchVideoStream.
- (int) minOutputBitrate |
Gets the minimum allowed output bitrate, in kbps.
A value of -1 indicates unset (no minimum).
- (FMLiveSwitchEncodingInfo*) minOutputEncoding |
Gets the min output encoding.
Implemented in FMLiveSwitchVideoStream.
- (bool) multiplexed |
Gets a value indicating whether Rtp and Rtcp components for this stream are multiplexed on the same port.
- (bool) multiplexingSupported |
Gets a value indicating whether so far negotiation with the peer indicates that Rtp and Rtcp component multiplexing on the same port is supported.
- (FMLiveSwitchNackConfig*) nackConfig |
Gets Nack config.
- (bool) nackEnabled |
Gets whether NACKs are allowed.
- (bool) nackPliEnabled |
Gets whether NACK PLIs are allowed.
- (FMLiveSwitchNackPliPolicy) nackPliPolicy |
Gets the NACK PLI Policy.
- (FMLiveSwitchNackPolicy) nackPolicy |
Gets the NACK Policy.
- (TIInput) output |
Gets the output.
- (NSMutableArray*) outputArrayFromListWithOutputList: | (NSMutableArray< TIOutput > *) | outputList |
Creates an output array from an output list.
outputList | The output list. |
- (bool) outputDeactivated |
Gets whether output is deactivated.
Output is deactivated if the stream direction is unset, inactive, or sendonly.
- (TFormat) outputFormat |
Gets the output format.
- (int) outputMaxInputBitrate |
Gets the sum of the bitrates from FMLiveSwitchMediaStream`15outputMaxInputEncodings.
- (NSMutableArray*) outputMaxInputEncodings |
Gets the outputs' maximum allowed input encodings.
- (int) outputMinInputBitrate |
Gets the sum of the bitrates from FMLiveSwitchMediaStream`15outputMinInputEncodings.
- (NSMutableArray*) outputMinInputEncodings |
Gets the outputs' minimum allowed input encodings.
- (bool) outputMuted |
Gets whether the output track is muted.
- (NSString*) outputRtpStreamId |
Gets null to satisfy interface requirements.
- (NSMutableArray*) outputs |
Gets the outputs.
- (bool) outputSynchronizable |
Gets whether output is synchronizable.
- (bool) outputSynchronizationDisabled |
Gets whether output synchronization is disabled.
- (long long) outputSynchronizationSource |
Gets -1 to satisfy interface requirements.
- (NSMutableArray*) outputSynchronizationSources |
Gets the output synchronization sources.
- (bool) overConstrained |
Gets whether this stream is over-constrained.
A stream is over-constrained if either it's input or output is over-constrained.
- (bool) overConstrainedBitrate |
Gets whether the stream bitrate is over-constrained.
A stream bitrate is over-constrained if the input bitrate or output bitrate is over-constrained.
- (bool) overConstrainedInput |
Gets whether the input is over-contrained.
An input is over-constrained if it's input bitrate is over-contrained.
Implemented in FMLiveSwitchVideoStream.
- (bool) overConstrainedInputBitrate |
Gets whether the minimum allowed input bitrate exceeds the maximum allowed input bitrate.
- (bool) overConstrainedOutput |
Gets whether the output is over-constrained.
An output is over-constrained if it's output bitrate is over-contrained.
Implemented in FMLiveSwitchVideoStream.
- (bool) overConstrainedOutputBitrate |
Gets whether the minimum allowed output bitrate exceeds the maximum allowed output bitrate.
- (bool) paused |
Gets a value indicating whether this stream is paused.
- (bool) persistent |
Gets a value indicating whether this instance is persistent.
Always returns false
.
- (NSString*) pipelineJson |
Gets the pipeline JSON with this as the central point.
- (NSString*) pipelineJsonFromInput |
Gets the pipeline JSON from an input.
- (NSString*) pipelineJsonFromOutput |
Gets the pipeline JSON from an output.
- (void) populateInfo: | (FMLiveSwitchMediaStreamInfo *) | info |
Populates the media stream info.
info |
- (void) processControlFrame: | (FMLiveSwitchMediaControlFrame *) | controlFrame |
Processes a control frame.
controlFrame | The control frame. |
- (void) processControlFrameResponse: | (FMLiveSwitchMediaControlFrame *) | controlFrameResponse |
Processes a control frame response.
controlFrameResponse | The control frame response. |
- (void) processControlFrameResponses: | (NSMutableArray *) | controlFrameResponses |
Processes control frame responses.
controlFrameResponses | The control frame responses. |
- (void) processControlFrames: | (NSMutableArray *) | controlFrames |
Processes control frames.
controlFrames | The control frames. |
- (bool) processFrame: | (TFrame) | frame |
Processes a frame.
frame | The frame. |
- (FMLiveSwitchProcessFramePolicy) processFramePolicy |
Gets the ProcessFramePolicy for this media input.
- (void) processSdpContentAttribute: | (FMLiveSwitchSdpContentAttribute *) | sdpContentAttribute | |
isLocalDescription: | (bool) | isLocalDescription | |
Processes an SDP content attribute.
sdpContentAttribute | The SDP content attribute. |
isLocalDescription | Whether the SDP content attribute comes from a local description. |
Implemented in FMLiveSwitchVideoStream, and FMLiveSwitchAudioStream.
- (FMLiveSwitchError*) processSdpMediaDescriptionFromInputWithMediaDescription: | (FMLiveSwitchSdpMediaDescription *) | mediaDescription | |
isOffer: | (bool) | isOffer | |
isLocalDescription: | (bool) | isLocalDescription | |
Processes a local SDP media description from an input.
mediaDescription | The media description. |
isOffer | if set to true [is offer]. |
isLocalDescription | if set to true [is local description]. |
- (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) processSinkStatsFromInputWithSinkStats: | (FMLiveSwitchMediaSinkStats *) | sinkStats |
Processes sink stats from an input.
sinkStats | The sink stats. |
- (void) processSourceStatsFromOutputWithSourceStats: | (FMLiveSwitchMediaSourceStats *) | sourceStats |
Processes source stats from an output.
sourceStats | The source stats. |
- (void) processStateChange |
Processes a state change.
- (void) processTrackStatsFromInputWithTrackStats: | (FMLiveSwitchMediaTrackStats *) | trackStats |
Processes stats from an input.
trackStats | The track stats. |
- (void) processTrackStatsFromOutputWithTrackStats: | (FMLiveSwitchMediaTrackStats *) | trackStats |
Processes stats from an output.
trackStats | The track stats. |
- (bool) raiseBitrateNotification: | (FMLiveSwitchBitrateNotification *) | bitrateNotification |
Raises a bitrate notification to the remote track.
bitrateNotification | The bitrate notification. |
- (bool) raiseBitrateRequest: | (FMLiveSwitchBitrateRequest *) | bitrateRequest |
Raises a bitrate request to the local track.
bitrateRequest | The bitrate request. |
- (void) raiseFrame: | (TFrame) | frame |
Raises a frame.
frame | The frame. |
- (FMLiveSwitchRedFecConfig*) redFecConfig |
Gets Fec Config.
- (bool) redFecEnabled |
Gets True if Red Fec is negotiated.
- (FMLiveSwitchRedFecPolicy) redFecPolicy |
Gets the Fec Policy.
- (bool) rembEnabled |
Gets True if goog-remb is negotiated.
- (FMLiveSwitchRembPolicy) rembPolicy |
Gets the goog-remb policy.
- (NSString*) remoteDescriptionMediaId |
Gets the remote description media identifier.
- (NSString*) remoteDescriptionTrackId |
Gets the remote description track identifier.
- (FMLiveSwitchEncodingInfo*) remoteEncoding |
Gets the remote encoding.
- (FMLiveSwitchRemoteMedia*) remoteMedia |
Gets the remote media, if one was specified.
- (TTrack) remoteTrack |
Gets the remote track, if one was specified.
- (bool) removeInput: | (TIOutput) | input |
Removes an input.
input | The input. |
- (void) removeInputs |
Removes all inputs.
- (void) removeInputs: | (NSMutableArray *) | inputs |
Removes some inputs.
inputs | The inputs. |
- (void) removeOnDiscardBitrateNotification: | (FMLiveSwitchAction1< FMLiveSwitchBitrateNotification * > *) | value |
Removes a handler that is raised when a bitrate notification is discarded due to policy restrictions or lack of support by the remote endpoint.
- (void) removeOnDiscardBitrateRequest: | (FMLiveSwitchAction1< FMLiveSwitchBitrateRequest * > *) | value |
Removes a handler that is raised when a bitrate notification message is discarded by the internal in-band messaging mechanism because the peer does not support bitrate notifications.
In this case, the bitrate notification needs to be transported out of band. LiveSwitch handles this internally by sending the message over Data Streams. No further action is required by application developers.
Use this event for for diagnostics and debugging.
- (void) removeOnDiscardOutboundControlFrame: | (FMLiveSwitchAction1< FMLiveSwitchMediaControlFrame * > *) | value |
Removes a handler that is raised when an outbound control frame is discarded due to policy restrictions or lack of support by the remote endpoint.
- (void) removeOnMasterSynchronizeContextReady: | (FMLiveSwitchAction1< FMLiveSwitchSynchronizeContext * > *) | value |
Removes a handler that is raised by master streams when the synchronize context is ready.
- (void) removeOnPausedChange: | (FMLiveSwitchAction0 *) | value |
Removes a handler that is raised when the Paused property changes state.
- (void) removeOnProcessControlFrameResponses: | (FMLiveSwitchAction1< NSMutableArray * > *) | value |
Removes a handler that is raised when control frame responses are processed.
- (void) removeOnProcessControlFrames: | (FMLiveSwitchAction1< NSMutableArray * > *) | value |
Removes a handler that is raised when control frames are processed.
- (void) removeOnProcessedFrame: | (FMLiveSwitchAction1< TFrame > *) | value |
Removes a handler that is raised when a frame has been processed.
- (void) removeOnProcessFrame: | (FMLiveSwitchAction1< TFrame > *) | value |
Removes a handler that is raised when a frame is being processed.
- (void) removeOnRaiseControlFrameResponses: | (FMLiveSwitchAction1< NSMutableArray * > *) | value |
Removes a handler that is raised when control frame responses are raised.
- (void) removeOnRaiseControlFrames: | (FMLiveSwitchAction1< NSMutableArray * > *) | value |
Removes a handler that is raised when control frames are 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) removeOnReceiveFrame: | (FMLiveSwitchAction1< TFrame > *) | value |
Removes a handler that is raised when a frame is received.
- (void) removeOnSendFrame: | (FMLiveSwitchAction1< TFrame > *) | value |
Removes a handler that is raised when a frame is sent.
- (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. |
- (FMLiveSwitchStreamDirection) rtpTransportWideCCDirection |
Gets the current direction for the RTP Header Extension for Transport-wide CC.
See https://datatracker.ietf.org/doc/html/draft-holmer-rmcat-transport-wide-cc-extensions-01 . If the remote capability has not yet been received, only local requirements are taken into consideration.
- (FMLiveSwitchStreamDirection) rtpTransportWideCCLocalDirection |
Gets the current local direction for the RTP Header Extension for Transport-wide CC.
See https://datatracker.ietf.org/doc/html/draft-holmer-rmcat-transport-wide-cc-extensions-01 . If the remote capability has not yet been received, only local requirements are taken into consideration.
- (FMLiveSwitchStreamDirection) rtpTransportWideCCRemoteDirection |
Gets the remote local direction for the RTP Header Extension for Transport-wide CC.
See https://datatracker.ietf.org/doc/html/draft-holmer-rmcat-transport-wide-cc-extensions-01 .
- (void) setBandwidthAdaptationPolicy: | (FMLiveSwitchBandwidthAdaptationPolicy) | value |
Sets bandwidth adapation policy for this stream.
- (void) setCcmFirPolicy: | (FMLiveSwitchCcmFirPolicy) | value |
Sets the CCM FIR Policy.
- (void) setCcmLrrPolicy: | (FMLiveSwitchCcmLrrPolicy) | value |
Sets the CCM LRR Policy.
- (void) setCcmTmmbnPolicy: | (FMLiveSwitchCcmTmmbnPolicy) | value |
Sets the CCM TMMBR Policy.
- (void) setCcmTmmbrPolicy: | (FMLiveSwitchCcmTmmbrPolicy) | value |
Sets the CCM TMMBR Policy.
- (void) setDisableAutomaticReports: | (bool) | value |
Sets a value indicating whether to disable automatic RTCP sender/receiver reports.
- (void) setInputMuted: | (bool) | value |
Sets whether the input track is muted.
- (void) setInputRtpStreamId: | (NSString *) | value |
Sets null to satisfy interface requirements.
- (void) setInputSourceMutedWithInput: | (TIOutput) | input | |
value: | (bool) | value | |
Sets whether an input source is muted.
input | The input. |
value | The value. |
- (void) setInputSourceMutedWithInputs: | (NSMutableArray *) | inputs | |
value: | (bool) | value | |
Sets whether an input source is muted.
inputs | The inputs. |
value | The value. |
- (void) setInputSynchronizationDisabled: | (bool) | value |
Sets whether input synchronization is disabled.
- (void) setInputSynchronizationSource: | (long long) | value |
Sets -1 to satisfy interface requirements.
- (void) setLegacyReceiver: | (bool) | value |
Sets whether to use legacy receiver processing.
Legacy receiver processing uses a fixed-size jitter buffer and processes forward error correction pre-jitter.
- (void) setLocalDescriptionMediaId: | (NSString *) | value |
Sets the local description media identifier.
If not set, defaults to the FMLiveSwitchMediaStream`15localMedia identifier, if one exists.
- (void) setLocalDescriptionTrackId: | (NSString *) | value |
Sets the local description track identifier.
If not set, defaults to the FMLiveSwitchMediaStream`15localTrack identifier, if one exists.
- (void) setLocalMedia: | (FMLiveSwitchLocalMedia *) | value |
Sets the local media, if one was specified.
- (void) setLocalTrack: | (TTrack) | value |
Sets the local track from this media.
Returns null if there are no tracks.
- (void) setMaxReceiveBitrate: | (int) | value |
Sets the maximum desired receive bitrate, in kbps.
- (void) setNackPliPolicy: | (FMLiveSwitchNackPliPolicy) | value |
Sets the NACK PLI Policy.
- (void) setNackPolicy: | (FMLiveSwitchNackPolicy) | value |
Sets the NACK Policy.
- (void) setOutputFormat: | (TFormat) | value |
Sets the output format.
- (void) setOutputMuted: | (bool) | value |
Sets whether the output track is muted.
- (void) setOutputSinkMutedWithOutput: | (TIInput) | output | |
value: | (bool) | value | |
Sets whether an output source is muted.
output | The output. |
value | The value. |
- (void) setOutputSinkMutedWithOutputs: | (NSMutableArray *) | outputs | |
value: | (bool) | value | |
Sets whether an output sink is muted.
outputs | The outputs. |
value | The value. |
- (void) setOutputSynchronizationDisabled: | (bool) | value |
Sets whether output synchronization is disabled.
- (void) setProcessFramePolicy: | (FMLiveSwitchProcessFramePolicy) | value |
Sets the ProcessFramePolicy for this media input.
- (void) setRedFecPolicy: | (FMLiveSwitchRedFecPolicy) | value |
Sets the Fec Policy.
- (void) setRemoteEncoding: | (FMLiveSwitchEncodingInfo *) | value |
Sets the remote encoding.
- (void) setRemoteMedia: | (FMLiveSwitchRemoteMedia *) | value |
Sets the remote media, if one was specified.
- (void) setRemoteTrack: | (TTrack) | value |
Sets the remote track, if one was specified.
- (void) setSimulcastMode: | (FMLiveSwitchSimulcastMode) | value |
Sets the simulcast mode.
- (void) setSynchronizeContext: | (FMLiveSwitchSynchronizeContext *) | value |
Sets the synchronize context.
- (void) setSystemDelay: | (long long) | value |
Sets the system delay in ticks.
- (FMLiveSwitchSimulcastMode) simulcastMode |
Gets the simulcast mode.
- (FMLiveSwitchSynchronizeContext*) synchronizeContext |
Gets the synchronize context.
- (NSMutableArray*) synchronizers |
Gets all synchronizers in the stream output tracks.
- (void) synchronizeWithMaster: | (bool) | master |
Initializes synchronization.
master | Whether this is a master stream. |
- (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 FMLiveSwitchVideoStream.
- (FMLiveSwitchTransportInfo*) transportInfo |
Gets transport information.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |