vrplayer: work on removing server side timing

This commit is contained in:
Jay Sorg
2013-11-08 11:39:31 -08:00
parent 2570319869
commit f5e9bc3308
7 changed files with 168 additions and 17 deletions
+21 -2
View File
@@ -1,3 +1,23 @@
// not used
#include "decoderthread.h"
/*
@@ -155,7 +175,6 @@ void DecoderThread::audioTimerCallback()
return;
}
printf("audio2\n");
pkt = audioQueue.dequeue();
delayInMs = (int) ((float) pkt->delay_in_us / 1000.0);
send_audio_pkt(channel, 101, pkt->av_pkt);
@@ -179,7 +198,7 @@ void DecoderThread::videoTimerCallback()
}
pkt = videoQueue.dequeue();
delayInMs = (int) ((float) pkt->delay_in_us / 1000.0);
delayInMs = (int) 10; // ((float) pkt->delay_in_us / 1000.0);
send_video_pkt(channel, 101, pkt->av_pkt);
delete pkt;
updateSlider();