Class SynchronizeContext
A stream synchronization context.
Inheritance
System.Object
SynchronizeContext
Namespace: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public class SynchronizeContext : object
Constructors
SynchronizeContext(Int64)
Initializes a new instance of the SynchronizeContext class.
Declaration
public SynchronizeContext(long systemTimestamp)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | systemTimestamp | The system timestamp. |
SynchronizeContext(Int64, Int64)
Initializes a new instance of the SynchronizeContext class.
Declaration
public SynchronizeContext(long ntpTimestampTicks, long systemTimestamp)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | ntpTimestampTicks | The NTP timestamp ticks. |
System.Int64 | systemTimestamp | The system timestamp. |
Properties
NtpTimestampTicks
Gets or sets the NTP timestamp ticks.
Declaration
public long NtpTimestampTicks { get; set; }
Property Value
Type | Description |
---|---|
System.Int64 |
SystemTimestamp
Gets or sets the system timestamp. Uses a clock known only to the remote sender, but consistent across synchronized streams.
Declaration
public long SystemTimestamp { get; set; }
Property Value
Type | Description |
---|---|
System.Int64 |