adjusted play rate by adding sleep to the player if message timestamp is in the future

This commit is contained in:
amit bezalel
2017-07-14 17:57:22 +03:00
parent 01f050ae21
commit 680859b0ad
4 changed files with 9 additions and 5 deletions

View File

@@ -102,9 +102,7 @@ func (fbm *FramebufferUpdateMessage) Read(c common.IClientConn, r *common.RfbRea
logger.Errorf("unsupported encoding type: %d, %s", encodingTypeInt, encType)
return nil, fmt.Errorf("unsupported encoding type: %d, %s", encodingTypeInt, encType)
}
}
}
return &FramebufferUpdateMessage{rects}, nil