A stream synchronization context. More...
Instance Methods | |
(instancetype) | - initWithNtpTimestampTicks:systemTimestamp: |
Initializes a new instance of the FMLiveSwitchSynchronizeContext class. More... | |
(instancetype) | - initWithSystemTimestamp: |
Initializes a new instance of the FMLiveSwitchSynchronizeContext class. More... | |
(long long) | - ntpTimestampTicks |
Gets the NTP timestamp ticks. More... | |
(void) | - setNtpTimestampTicks: |
Sets the NTP timestamp ticks. More... | |
(void) | - setSystemTimestamp: |
Sets the system timestamp. More... | |
(long long) | - systemTimestamp |
Gets the system timestamp. More... | |
Class Methods | |
(FMLiveSwitchSynchronizeContext *) | + synchronizeContextWithNtpTimestampTicks:systemTimestamp: |
Initializes a new instance of the FMLiveSwitchSynchronizeContext class. More... | |
(FMLiveSwitchSynchronizeContext *) | + synchronizeContextWithSystemTimestamp: |
Initializes a new instance of the FMLiveSwitchSynchronizeContext class. More... | |
A stream synchronization context.
- (instancetype) initWithNtpTimestampTicks: | (long long) | ntpTimestampTicks | |
systemTimestamp: | (long long) | systemTimestamp | |
Initializes a new instance of the FMLiveSwitchSynchronizeContext class.
ntpTimestampTicks | The NTP timestamp ticks. |
systemTimestamp | The system timestamp. |
- (instancetype) initWithSystemTimestamp: | (long long) | systemTimestamp |
Initializes a new instance of the FMLiveSwitchSynchronizeContext class.
systemTimestamp | The system timestamp. |
- (long long) ntpTimestampTicks |
Gets the NTP timestamp ticks.
- (void) setNtpTimestampTicks: | (long long) | value |
Sets the NTP timestamp ticks.
- (void) setSystemTimestamp: | (long long) | value |
Sets the system timestamp.
Uses a clock known only to the remote sender, but consistent across synchronized streams.
+ (FMLiveSwitchSynchronizeContext*) synchronizeContextWithNtpTimestampTicks: | (long long) | ntpTimestampTicks | |
systemTimestamp: | (long long) | systemTimestamp | |
Initializes a new instance of the FMLiveSwitchSynchronizeContext class.
ntpTimestampTicks | The NTP timestamp ticks. |
systemTimestamp | The system timestamp. |
+ (FMLiveSwitchSynchronizeContext*) synchronizeContextWithSystemTimestamp: | (long long) | systemTimestamp |
Initializes a new instance of the FMLiveSwitchSynchronizeContext class.
systemTimestamp | The system timestamp. |
- (long long) systemTimestamp |
Gets the system timestamp.
Uses a clock known only to the remote sender, but consistent across synchronized streams.