Method | Description | |
---|---|---|
JitterBuffer ( Game game, long initialServerTicks ) : System |
Creates instance of jitter buffer.
|
|
Pop ( long clientTicks, int playoutDelay, long latencyTicks, uint &ackCmdID ) : byte[] |
Pops snapshot from the queue.
|
|
Pop ( long clientTicks, int playoutDelay, uint &ackCmdID ) : byte[] |
Pops snapshot from the queue.
|
|
Push ( byte snapshotData, uint ackCmdID, long serverTicks, long clientTicks ) : void |
Pushes snapshot to the queue.
|
Method | Description | |
---|---|---|
Drift ( long current, long target, long up, long down ) : long |
Drifts value to target with constant velocity.
|
|
ShowJitter ( int queueSize, long svTicks, long clTicks, bool push, bool pull, long delay ) : void |
Shows incoming message jittering stuff
|
|
SignedDelta ( long sv, long cl ) : string | ||
SlowDecay ( long current, long target, long decayRate ) : long |
public JitterBuffer ( Game game, long initialServerTicks ) : System | ||
game | Game | |
initialServerTicks | long | |
return | System |
public Pop ( long clientTicks, int playoutDelay, long latencyTicks, uint &ackCmdID ) : byte[] | ||
clientTicks | long | |
playoutDelay | int | |
latencyTicks | long | |
ackCmdID | uint | |
return | byte[] |
public Pop ( long clientTicks, int playoutDelay, uint &ackCmdID ) : byte[] | ||
clientTicks | long | |
playoutDelay | int | |
ackCmdID | uint | |
return | byte[] |
public Push ( byte snapshotData, uint ackCmdID, long serverTicks, long clientTicks ) : void | ||
snapshotData | byte | |
ackCmdID | uint | |
serverTicks | long | |
clientTicks | long | |
return | void |