A sender report control frame. More...
Instance Methods | |
(instancetype) | - init |
Initializes a new instance of the FMLiveSwitchSRControlFrame class. More... | |
(instancetype) | - initWithBuffer: |
Initializes a new instance of the FMLiveSwitchSRControlFrame class. More... | |
(instancetype) | - initWithReportBlock: |
Initializes a new instance of the FMLiveSwitchSRControlFrame class. More... | |
(instancetype) | - initWithReportBlocks: |
Initializes a new instance of the FMLiveSwitchSRControlFrame class. More... | |
(instancetype) | - initWithSynchronizationSource:ntpTimestamp:rtpTimestamp:packetCount:octetCount: |
Initializes a new instance of the FMLiveSwitchSRControlFrame class. More... | |
(instancetype) | - initWithSynchronizationSource:ntpTimestamp:rtpTimestamp:packetCount:octetCount:reportBlock: |
Initializes a new instance of the FMLiveSwitchSRControlFrame class. More... | |
(instancetype) | - initWithSynchronizationSource:ntpTimestamp:rtpTimestamp:packetCount:octetCount:reportBlocks: |
Initializes a new instance of the FMLiveSwitchSRControlFrame class. More... | |
(long long) | - ntpTimestamp |
Gets the time when this report was sent (NTP-style). More... | |
(long long) | - octetCount |
Gets the sender's octet count. More... | |
(long long) | - packetCount |
Gets the sender's packet count. More... | |
(long long) | - rtpTimestamp |
Gets the time when this report was sent (RTP-style). More... | |
(void) | - setNtpTimestamp: |
Sets the time when this report was sent (NTP-style). More... | |
(void) | - setOctetCount: |
Sets the sender's octet count. More... | |
(void) | - setPacketCount: |
Sets the sender's packet count. More... | |
(void) | - setRtpTimestamp: |
Sets the time when this report was sent (RTP-style). More... | |
Instance Methods inherited from FMLiveSwitchReportControlFrame | |
(FMLiveSwitchReportBlock *) | - getReportBlockWithSynchronizationSource: |
Gets the report block. More... | |
(instancetype) | - initWithPayloadType:reportBlock: |
Initializes a new instance of the FMLiveSwitchReportControlFrame class. More... | |
(instancetype) | - initWithPayloadType:reportBlock:reportBlockOffset: |
Initializes a new instance of the FMLiveSwitchReportControlFrame class. More... | |
(instancetype) | - initWithPayloadType:reportBlockOffset:buffer: |
Initializes a new instance of the FMLiveSwitchReportControlFrame class. More... | |
(instancetype) | - initWithPayloadType:reportBlocks: |
Initializes a new instance of the FMLiveSwitchReportControlFrame class. More... | |
(instancetype) | - initWithPayloadType:reportBlocks:reportBlockOffset: |
Initializes a new instance of the FMLiveSwitchReportControlFrame class. More... | |
(instancetype) | - initWithPayloadType:synchronizationSource:reportBlock: |
Initializes a new instance of the FMLiveSwitchReportControlFrame class. More... | |
(instancetype) | - initWithPayloadType:synchronizationSource:reportBlock:reportBlockOffset: |
Initializes a new instance of the FMLiveSwitchReportControlFrame class. More... | |
(instancetype) | - initWithPayloadType:synchronizationSource:reportBlocks: |
Initializes a new instance of the FMLiveSwitchReportControlFrame class. More... | |
(instancetype) | - initWithPayloadType:synchronizationSource:reportBlocks:reportBlockOffset: |
Initializes a new instance of the FMLiveSwitchReportControlFrame class. More... | |
(int) | - receptionReportCount |
Gets the feedback message type. More... | |
(FMLiveSwitchReportBlock *) | - reportBlock |
Gets the report block. More... | |
(NSMutableArray *) | - reportBlocks |
Gets the report blocks. More... | |
(void) | - setReportBlock: |
Sets the report block. More... | |
(void) | - setReportBlocks: |
Sets the report blocks. More... | |
(void) | - setSynchronizationSource: |
Sets the synchronization source. More... | |
(long long) | - synchronizationSource |
Gets the synchronization source. More... | |
Instance Methods inherited from FMLiveSwitchMediaControlFrame | |
(int) | - byte1Last5Bits |
Gets the last 5 bits of the first byte. More... | |
(FMLiveSwitchDataBuffer *) | - dataBuffer |
Gets the buffer. More... | |
(FMLiveSwitchDataBuffer *) | - payload |
Gets the payload. More... | |
(int) | - payloadLengthWithPadding |
Gets the length of the payload, in bytes, with padding. More... | |
(int) | - payloadType |
Gets the payload type. More... | |
(void) | - setByte1Last5Bits: |
Sets the last 5 bits of the first byte. More... | |
(void) | - setDataBuffer: |
Sets the buffer. More... | |
(void) | - setPayloadLengthWithPadding: |
Sets the length of the payload, in bytes, with padding. More... | |
(void) | - setPayloadType: |
Sets the payload type. More... | |
(void) | - setVersion: |
Sets the version. More... | |
(NSString *) | - streamId |
Gets the stream ID. More... | |
(int) | - version |
Gets the version. More... | |
Instance Methods inherited from FMLiveSwitchDynamic | |
(NSMutableDictionary< NSString *, id > *) | - dynamicProperties |
Gets all dynamic properties on this instance. More... | |
(id) | - getDynamicValueWithKey: |
Gets a property value from the local cache. More... | |
(void) | - setDynamicValueWithKey:value: |
Sets a property value in the local cache. More... | |
(bool) | - unsetDynamicValueWithKey: |
Removes a property value from the local cache. More... | |
A sender report control frame.
+ (int) fixedSenderInfoPayloadLength |
Gets the fixed payload header length of a Sender Report.
- (instancetype) init |
Initializes a new instance of the FMLiveSwitchSRControlFrame class.
Implements FMLiveSwitchMediaControlFrame.
- (instancetype) initWithBuffer: | (FMLiveSwitchDataBuffer *) | buffer |
Initializes a new instance of the FMLiveSwitchSRControlFrame class.
buffer | The data buffer. |
Implements FMLiveSwitchMediaControlFrame.
- (instancetype) initWithReportBlock: | (FMLiveSwitchReportBlock *) | reportBlock |
Initializes a new instance of the FMLiveSwitchSRControlFrame class.
reportBlock | The report block. |
- (instancetype) initWithReportBlocks: | (NSMutableArray *) | reportBlocks |
Initializes a new instance of the FMLiveSwitchSRControlFrame class.
reportBlocks | The report blocks. |
- (instancetype) initWithSynchronizationSource: | (long long) | synchronizationSource | |
ntpTimestamp: | (long long) | ntpTimestamp | |
rtpTimestamp: | (long long) | rtpTimestamp | |
packetCount: | (long long) | packetCount | |
octetCount: | (long long) | octetCount | |
Initializes a new instance of the FMLiveSwitchSRControlFrame class.
synchronizationSource | The synchronization source. |
ntpTimestamp | The time when this report was sent (NTP-style). |
rtpTimestamp | The time when this report was sent (RTP-style). |
packetCount | The sender's packet count. |
octetCount | The sender's octet count. |
- (instancetype) initWithSynchronizationSource: | (long long) | synchronizationSource | |
ntpTimestamp: | (long long) | ntpTimestamp | |
rtpTimestamp: | (long long) | rtpTimestamp | |
packetCount: | (long long) | packetCount | |
octetCount: | (long long) | octetCount | |
reportBlock: | (FMLiveSwitchReportBlock *) | reportBlock | |
Initializes a new instance of the FMLiveSwitchSRControlFrame class.
synchronizationSource | The synchronization source. |
ntpTimestamp | The time when this report was sent (NTP-style). |
rtpTimestamp | The time when this report was sent (RTP-style). |
packetCount | The sender's packet count. |
octetCount | The sender's octet count. |
reportBlock | The report block. |
- (instancetype) initWithSynchronizationSource: | (long long) | synchronizationSource | |
ntpTimestamp: | (long long) | ntpTimestamp | |
rtpTimestamp: | (long long) | rtpTimestamp | |
packetCount: | (long long) | packetCount | |
octetCount: | (long long) | octetCount | |
reportBlocks: | (NSMutableArray *) | reportBlocks | |
Initializes a new instance of the FMLiveSwitchSRControlFrame class.
synchronizationSource | The synchronization source. |
ntpTimestamp | The time when this report was sent (NTP-style). |
rtpTimestamp | The time when this report was sent (RTP-style). |
packetCount | The sender's packet count. |
octetCount | The sender's octet count. |
reportBlocks | The report blocks. |
- (long long) ntpTimestamp |
Gets the time when this report was sent (NTP-style).
- (long long) octetCount |
Gets the sender's octet count.
- (long long) packetCount |
Gets the sender's packet count.
+ (int) registeredPayloadType |
Gets the sender report payload type.
+ (int) reportBlockOffset |
Gets the report block offset.
- (long long) rtpTimestamp |
Gets the time when this report was sent (RTP-style).
- (void) setNtpTimestamp: | (long long) | value |
Sets the time when this report was sent (NTP-style).
- (void) setOctetCount: | (long long) | value |
Sets the sender's octet count.
- (void) setPacketCount: | (long long) | value |
Sets the sender's packet count.
- (void) setRtpTimestamp: | (long long) | value |
Sets the time when this report was sent (RTP-style).
+ (FMLiveSwitchSRControlFrame*) srControlFrame |
Initializes a new instance of the FMLiveSwitchSRControlFrame class.
+ (FMLiveSwitchSRControlFrame*) srControlFrameWithBuffer: | (FMLiveSwitchDataBuffer *) | buffer |
Initializes a new instance of the FMLiveSwitchSRControlFrame class.
buffer | The data buffer. |
+ (FMLiveSwitchSRControlFrame*) srControlFrameWithReportBlock: | (FMLiveSwitchReportBlock *) | reportBlock |
Initializes a new instance of the FMLiveSwitchSRControlFrame class.
reportBlock | The report block. |
+ (FMLiveSwitchSRControlFrame*) srControlFrameWithReportBlocks: | (NSMutableArray *) | reportBlocks |
Initializes a new instance of the FMLiveSwitchSRControlFrame class.
reportBlocks | The report blocks. |
+ (FMLiveSwitchSRControlFrame*) srControlFrameWithSynchronizationSource: | (long long) | synchronizationSource | |
ntpTimestamp: | (long long) | ntpTimestamp | |
rtpTimestamp: | (long long) | rtpTimestamp | |
packetCount: | (long long) | packetCount | |
octetCount: | (long long) | octetCount | |
Initializes a new instance of the FMLiveSwitchSRControlFrame class.
synchronizationSource | The synchronization source. |
ntpTimestamp | The time when this report was sent (NTP-style). |
rtpTimestamp | The time when this report was sent (RTP-style). |
packetCount | The sender's packet count. |
octetCount | The sender's octet count. |
+ (FMLiveSwitchSRControlFrame*) srControlFrameWithSynchronizationSource: | (long long) | synchronizationSource | |
ntpTimestamp: | (long long) | ntpTimestamp | |
rtpTimestamp: | (long long) | rtpTimestamp | |
packetCount: | (long long) | packetCount | |
octetCount: | (long long) | octetCount | |
reportBlock: | (FMLiveSwitchReportBlock *) | reportBlock | |
Initializes a new instance of the FMLiveSwitchSRControlFrame class.
synchronizationSource | The synchronization source. |
ntpTimestamp | The time when this report was sent (NTP-style). |
rtpTimestamp | The time when this report was sent (RTP-style). |
packetCount | The sender's packet count. |
octetCount | The sender's octet count. |
reportBlock | The report block. |
+ (FMLiveSwitchSRControlFrame*) srControlFrameWithSynchronizationSource: | (long long) | synchronizationSource | |
ntpTimestamp: | (long long) | ntpTimestamp | |
rtpTimestamp: | (long long) | rtpTimestamp | |
packetCount: | (long long) | packetCount | |
octetCount: | (long long) | octetCount | |
reportBlocks: | (NSMutableArray *) | reportBlocks | |
Initializes a new instance of the FMLiveSwitchSRControlFrame class.
synchronizationSource | The synchronization source. |
ntpTimestamp | The time when this report was sent (NTP-style). |
rtpTimestamp | The time when this report was sent (RTP-style). |
packetCount | The sender's packet count. |
octetCount | The sender's octet count. |
reportBlocks | The report blocks. |