mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-29 07:22:07 +01:00
Delay Reduced
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@8183 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
5dbf96d109
commit
3e5cfc0a25
1 changed files with 2 additions and 2 deletions
|
@ -209,9 +209,9 @@ public class ImageTransmitter implements Runnable {
|
|||
trace = (System.currentTimeMillis() - trace);
|
||||
System.out.println("Loop Time:" + trace);
|
||||
|
||||
if (trace < 1000) {
|
||||
if (trace < 500) {
|
||||
try {
|
||||
Thread.sleep(1000 - trace);
|
||||
Thread.sleep(500 - trace);
|
||||
}
|
||||
catch (InterruptedException e) {
|
||||
e.printStackTrace();
|
||||
|
|
Loading…
Reference in a new issue