FMLiveSwitchTransportCCManager Class Reference

Manages transport-wide congestion control logic including sequence numbers, timestamps, and control frame generation. More...

Instance Methods

(long long) - arrivalTimesBeginSequenceNumber
 Gets the begin sequence number for arrival times. More...
 
(long long) - arrivalTimesEndSequenceNumber
 Gets the end sequence number for arrival times. More...
 
(int) - getNextOutboundTransportSequenceNumber
 Gets the next outbound transport-wide sequence number. More...
 
(FMLiveSwitchTransportCCControlFrame *) - getTransportCCControlFrame
 Gets a transport-CC control frame if needed. More...
 
(FMLiveSwitchTransportCCControlFrame *) - getTransportCCControlFrameWithSystemTimestamp:
 Gets a transport-CC control frame if needed based on timing. More...
 
(NSString *) - id
 Gets the Transport CC Manager Id. More...
 
(instancetype) - initWithReportInterval:
 Construct a Transport CC Manager. More...
 
(void) - setInboundTimestampWithSequenceNumber:systemTimestamp:
 Sets an inbound transport-wide sequence number. More...
 

Class Methods

(int) + receiveDeltaMultipleTicks
 Gets the delta between packets time unit reported as intervals of 250 microseconds in ticks. More...
 
(int) + referenceTimeMultipleTicks
 Gets the reference time unit reported as intervals of 64 ms in ticks. More...
 
(FMLiveSwitchTransportCCManager *) + transportCCManagerWithReportInterval:
 Construct a Transport CC Manager. More...
 

Detailed Description

Manages transport-wide congestion control logic including sequence numbers, timestamps, and control frame generation.

Method Documentation

◆ arrivalTimesBeginSequenceNumber

- (long long) arrivalTimesBeginSequenceNumber

Gets the begin sequence number for arrival times.

◆ arrivalTimesEndSequenceNumber

- (long long) arrivalTimesEndSequenceNumber

Gets the end sequence number for arrival times.

◆ getNextOutboundTransportSequenceNumber

- (int) getNextOutboundTransportSequenceNumber

Gets the next outbound transport-wide sequence number.

Returns
The next outbound transport-wide sequence number.

◆ getTransportCCControlFrame

- (FMLiveSwitchTransportCCControlFrame*) getTransportCCControlFrame

Gets a transport-CC control frame if needed.

Returns
A transport-CC control frame, or null.

◆ getTransportCCControlFrameWithSystemTimestamp:

- (FMLiveSwitchTransportCCControlFrame*) getTransportCCControlFrameWithSystemTimestamp: (long long)  systemTimestamp

Gets a transport-CC control frame if needed based on timing.

Parameters
systemTimestampThe current system timestamp.
Returns
A transport-CC control frame, or null.

◆ id

- (NSString*) id

Gets the Transport CC Manager Id.

◆ initWithReportInterval:

- (instancetype) initWithReportInterval: (int)  reportInterval

Construct a Transport CC Manager.

Parameters
reportInterval

◆ receiveDeltaMultipleTicks

+ (int) receiveDeltaMultipleTicks

Gets the delta between packets time unit reported as intervals of 250 microseconds in ticks.

◆ referenceTimeMultipleTicks

+ (int) referenceTimeMultipleTicks

Gets the reference time unit reported as intervals of 64 ms in ticks.

◆ setInboundTimestampWithSequenceNumber:systemTimestamp:

- (void) setInboundTimestampWithSequenceNumber: (int)  sequenceNumber
systemTimestamp: (long long)  systemTimestamp 

Sets an inbound transport-wide sequence number.

Parameters
sequenceNumberThe inbound transport-wide sequence number.
systemTimestampThe system timestamp.

◆ transportCCManagerWithReportInterval:

+ (FMLiveSwitchTransportCCManager*) transportCCManagerWithReportInterval: (int)  reportInterval

Construct a Transport CC Manager.

Parameters
reportInterval