Re: [Ekiga-devel-list] Another try at gstreamer in ekiga
- From: Julien Puydt <jpuydt free fr>
- To: ekiga-devel-list gnome org
- Subject: Re: [Ekiga-devel-list] Another try at gstreamer in ekiga
- Date: Fri, 22 Feb 2013 08:14:42 +0100
Le 22/02/2013 07:41, Julien Puydt a écrit :
Le 22/02/2013 06:11, Craig Southeren a écrit :
On write, the timing will be provided by the incoming RTP data or the
jitter buffer, depending on
which type of media you are using.
I push data as I receive it on a set_frame_data method:
bool
GST::AudioOutputManager::set_frame_data (Ekiga::AudioOutputPS ps,
const char* data,
unsigned size,
unsigned& written)
{
<cut>
}
and:
void
gst_helper_set_frame_data (gst_helper* self,
const char* data,
unsigned size)
{
<cut>
}
I forgot a link in the chain ptlib&opal->gstreamer ; the first one:
bool PSoundChannel_EKIGA::Write (const void *buf, PINDEX len)
{
unsigned bytesWritten = 0;
if (direction == Player) {
audiooutput_core->set_frame_data((char*)buf, len, bytesWritten);
}
lastWriteCount = bytesWritten;
return true;
}
Snark
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]