vrplayer: work on removing server side timing

ulab-next
Jay Sorg 11 years ago
parent e8c2f328fb
commit a836aa55cb

@ -155,6 +155,7 @@ 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);

@ -128,25 +128,27 @@ int OurInterface::sendMetadataFile()
int OurInterface::sendVideoFormat()
{
#if 0
if (xrdpvr_set_video_format(channel, stream_id))
{
emit on_ErrorMsg("I/O Error",
"Error sending video format to remote client");
return -1;
}
#endif
return 0;
}
int OurInterface::sendAudioFormat()
{
#if 0
if (xrdpvr_set_audio_format(channel, stream_id))
{
emit on_ErrorMsg("I/O Error",
"Error sending audio format to remote client");
return -1;
}
#endif
return 0;
}

@ -54,6 +54,7 @@ void PlayAudio::play()
label1:
printf("audio\n");
if (audioQueue->isEmpty())
{
qDebug() << "PlayAudio::play: GOT EMPTY";
@ -61,6 +62,7 @@ label1:
continue;
}
printf("")
pkt = audioQueue->dequeue();
sendMutex->lock();
send_audio_pkt(channel, stream_id, pkt->av_pkt);

Loading…
Cancel
Save