vrplayer: work on removing server side timing
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user