Posted: Wed Nov 07, 2007 4:28 am Post subject: [Asterisk-video] Jitter buffer reset problem
Hi Sergio,
I have problem with H324MSessionResetMediaQueue.
When i do call in, asterisk make cpu usage to 99%.
Another thing is, i need to reset all jitter buffer
content when receiving DTMF from handphone. I use
H324MSessionResetMediaQueue, with this scenario
astersik also make the cpu usage to 99%.
It seem it stuck at infinite loop at H223MAL2.cpp
inside Reset function.
The GetSDU function from jitterbuffer class will
always return 0.
Is it possible to provide a function just to clear the
memory(just like destructor of jitterbuffer class do)?
Is it possible to set jitterbuffer size from asterisk
dialplan or from app_h324m.cpp(this mean hardcoded,but
ok)?
Regards,
Reza
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
Posted: Wed Nov 07, 2007 8:35 am Post subject: [Asterisk-video] Jitter buffer reset problem
Ok, i'll check it as soon as possible.. could you fill a bug report?
BR
Sergio
----- Original Message -----
From: Reza Fatahillah [mailto:ezhot_95@yahoo.com]
To: asterisk-video@lists.digium.com
Sent: Tue, 6 Nov 2007 20:20:56 -0800 (PST)
Subject: [Asterisk-video] Jitter buffer reset problem
Hi Sergio,
I have problem with H324MSessionResetMediaQueue.
When i do call in, asterisk make cpu usage to 99%.
Another thing is, i need to reset all jitter buffer
content when receiving DTMF from handphone. I use
H324MSessionResetMediaQueue, with this scenario
astersik also make the cpu usage to 99%.
It seem it stuck at infinite loop at H223MAL2.cpp
inside Reset function.
The GetSDU function from jitterbuffer class will
always return 0.
Is it possible to provide a function just to clear the
memory(just like destructor of jitterbuffer class do)?
Is it possible to set jitterbuffer size from asterisk
dialplan or from app_h324m.cpp(this mean hardcoded,but
ok)?
Regards,
Reza
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
Posted: Wed Nov 07, 2007 11:48 pm Post subject: [Asterisk-video] Jitter buffer reset problem
I think I've fixed the problem, check the new version.
BR
Sergio
----- Original Message -----
From: "Sergio Garcia Murillo" <sergio.garcia@fontventa.com>
To: <asterisk-video@lists.digium.com>
Sent: Wednesday, November 07, 2007 9:27 AM
Subject: Re: [Asterisk-video] Jitter buffer reset problem
Ok, i'll check it as soon as possible.. could you fill a bug report?
BR
Sergio
----- Original Message -----
From: Reza Fatahillah [mailto:ezhot_95@yahoo.com]
To: asterisk-video@lists.digium.com
Sent: Tue, 6 Nov 2007 20:20:56 -0800 (PST)
Subject: [Asterisk-video] Jitter buffer reset problem
Hi Sergio,
I have problem with H324MSessionResetMediaQueue.
When i do call in, asterisk make cpu usage to 99%.
Another thing is, i need to reset all jitter buffer
content when receiving DTMF from handphone. I use
H324MSessionResetMediaQueue, with this scenario
astersik also make the cpu usage to 99%.
It seem it stuck at infinite loop at H223MAL2.cpp
inside Reset function.
The GetSDU function from jitterbuffer class will
always return 0.
Is it possible to provide a function just to clear the
memory(just like destructor of jitterbuffer class do)?
Is it possible to set jitterbuffer size from asterisk
dialplan or from app_h324m.cpp(this mean hardcoded,but
ok)?
Regards,
Reza
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
Posted: Thu Nov 08, 2007 4:23 am Post subject: [Asterisk-video] Jitter buffer reset problem
Hi Sergio,
Thanks for the fix.
But at certain interval the audio is skipped.
I think because of these lines always called:
else if (src && !f->src) {
/* Delete old one */
free(src);
/* Store it */
src = NULL;
/* Reset media */
H324MSessionResetMediaQueue(id);
}
Posted: Thu Nov 08, 2007 8:38 am Post subject: [Asterisk-video] Jitter buffer reset problem
Hi Reza,
It's skipped periodically? or it just doesn't play anymore? Which is in the other endpoint (app_mp4 or softphone)?
As you see in the code the queue would only reseted once as src is set to NULL also.. what you describe would happen if the f->src was alternating with null and non-null values.
BR
Sergio
----- Original Message -----
From: Reza Fatahillah [mailto:ezhot_95@yahoo.com]
To: asterisk-video@lists.digium.com
Sent: Wed, 7 Nov 2007 20:14:59 -0800 (PST)
Subject: Re: [Asterisk-video] Jitter buffer reset problem
Hi Sergio,
Thanks for the fix.
But at certain interval the audio is skipped.
I think because of these lines always called:
else if (src && !f->src) {
/* Delete old one */
free(src);
/* Store it */
src = NULL;
/* Reset media */
H324MSessionResetMediaQueue(id);
}
It's skipped periodically? or it just doesn't play
anymore? Which is in the other endpoint (app_mp4 or
softphone)?
As you see in the code the queue would only reseted
once as src is set to NULL also.. what you describe
would happen if the f->src was alternating with null
and non-null values.
BR
Sergio
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum