Displaying 9 results from an estimated 9 matches for "jitter_buffer_init".
2007 Apr 18
3
Problems with the Speex Jitter Buffer
...or less the halve of the
packets. But all the packets are added to the JitterBuffer.
I posted some of the code i use in my email and i would be really
thankfull if anybody could tell me where i am using the JitterBuffer wrong.
Many thanks in advance
David Feurle
Init()
{
m_JitterBuffer = jitter_buffer_init(m_Ticks);
jitter_buffer_reset(m_JitterBuffer);
}
Exit()
{
jitter_buffer_destroy(m_JitterBuffer);
}
void BeatJitterBuffer::AddPacket(Packet* packet)
{
m_Mutex.Aquire();
char buff[320];
JitterBufferPacket p;
m_Decoder->DecompressPacket(packet, buff, 32...
2007 Apr 20
2
Problems with the Speex Jitter Buffer
...ed some of the code i use in my email and i would be really
>> thankfull if anybody could tell me where i am using the JitterBuffer wrong.
>>
>> Many thanks in advance
>>
>> David Feurle
>>
>>
>>
>> Init()
>> {
>> m_JitterBuffer = jitter_buffer_init(m_Ticks);
>> jitter_buffer_reset(m_JitterBuffer);
>> }
>>
>> Exit()
>> {
>> jitter_buffer_destroy(m_JitterBuffer);
>> }
>>
>> void BeatJitterBuffer::AddPacket(Packet* packet)
>> {
>> m_Mutex.Aquire();
>> c...
2007 Sep 17
3
Libspeex splitting attempt
Hi,
A while ago I mentioned I was considering splitting libspeex into two
parts. I'm attaching a patch that does exactly that, but I haven't
applied it to svn because I first want to have some feedback. That patch
leaves the codec in libspeex and moves the other stuff (jitter buffer,
AEC, preprocessor, ...) to libspeexvoip (I'm open to suggestions on
better names).
Some of the things
2007 Apr 20
0
Problems with the Speex Jitter Buffer
...added to the JitterBuffer.
> I posted some of the code i use in my email and i would be really
> thankfull if anybody could tell me where i am using the JitterBuffer wrong.
>
> Many thanks in advance
>
> David Feurle
>
>
>
> Init()
> {
> m_JitterBuffer = jitter_buffer_init(m_Ticks);
> jitter_buffer_reset(m_JitterBuffer);
> }
>
> Exit()
> {
> jitter_buffer_destroy(m_JitterBuffer);
> }
>
> void BeatJitterBuffer::AddPacket(Packet* packet)
> {
> m_Mutex.Aquire();
> char buff[320];
> JitterBufferPacket...
2007 Sep 20
0
Libspeex splitting attempt
Hi,
Can you please confirm/give any sample on the "tick" value to be passed
to jitter_buffer_init ( int tick ) ?
Is this: Tick = GetTickCount() ?
Thanks
-----Original Message-----
From: speex-dev-bounces@xiph.org [mailto:speex-dev-bounces@xiph.org] On
Behalf Of Jean-Marc Valin
Sent: Monday, September 17, 2007 4:29 PM
To: speex-dev
Subject: [Speex-dev] Libspeex splitting attempt
Hi,
A w...
2007 Apr 20
0
Problems with the Speex Jitter Buffer
...ly
>>> thankfull if anybody could tell me where i am using the JitterBuffer
>>> wrong.
>>>
>>> Many thanks in advance
>>>
>>> David Feurle
>>>
>>>
>>>
>>> Init()
>>> {
>>> m_JitterBuffer = jitter_buffer_init(m_Ticks);
>>> jitter_buffer_reset(m_JitterBuffer);
>>> }
>>>
>>> Exit()
>>> {
>>> jitter_buffer_destroy(m_JitterBuffer);
>>> }
>>>
>>> void BeatJitterBuffer::AddPacket(Packet* packet)
>>> {
>>&...
2008 Sep 15
1
Jitter Buffer issues
...real time voice using UDP
I use TCP for the first two to insure all voice packets are delivered to
the user. I must use UDP for the Full Duplex link to minimize latency.
When I use UDP I also use the Speex Jitter Buffer. I have run into some
issues when using it.
My first problem is minor with jitter_buffer_init(int step_size). The
initialization of buffer_margin I think this should be 1 not 0.
/*FIXME: Should this be 0 or 1?*/
jitter->buffer_margin = 0;
With it set to 0 there is a problem if jitter_buffer_get() is called
before jitter_buffer_put(). This cause all packets to be discarded...
2008 Mar 29
0
GCC/ELF Visibility patch
...alSpeexStereoState *stereo;
spx_word16_t sign=1, dexp;
Index: libspeex/jitter.c
===================================================================
--- libspeex/jitter.c (revision 14645)
+++ libspeex/jitter.c (working copy)
@@ -269,7 +269,7 @@
/** Initialise jitter buffer */
-JitterBuffer *jitter_buffer_init(int step_size)
+EXPORT JitterBuffer *jitter_buffer_init(int step_size)
{
JitterBuffer *jitter = (JitterBuffer*)speex_alloc(sizeof(JitterBuffer));
if (jitter)
@@ -294,7 +294,7 @@
}
/** Reset jitter buffer */
-void jitter_buffer_reset(JitterBuffer *jitter)
+EXPORT void jitter_buffer_rese...
2008 Mar 29
2
GCC/ELF Visibility patch (fwd)
...alSpeexStereoState *stereo;
spx_word16_t sign=1, dexp;
Index: libspeex/jitter.c
===================================================================
--- libspeex/jitter.c (revision 14645)
+++ libspeex/jitter.c (working copy)
@@ -269,7 +269,7 @@
/** Initialise jitter buffer */
-JitterBuffer *jitter_buffer_init(int step_size)
+EXPORT JitterBuffer *jitter_buffer_init(int step_size)
{
JitterBuffer *jitter = (JitterBuffer*)speex_alloc(sizeof(JitterBuffer));
if (jitter)
@@ -294,7 +294,7 @@
}
/** Reset jitter buffer */
-void jitter_buffer_reset(JitterBuffer *jitter)
+EXPORT void jitter_buffer_rese...