Displaying 2 results from an estimated 2 matches for "ast_format_g723_1".
2004 Dec 21
2
Jitter buffer
...here in asterisk, for example:
asterisk/channels/chan_iax2.c:
static int get_samples(struct ast_frame *f)
{
int samples=0;
switch(f->subclass) {
case AST_FORMAT_SPEEX:
samples = 160; /* XXX Not necessarily true XXX */
break;
case AST_FORMAT_G723_1:
samples = 240 /* XXX Not necessarily true XXX */;
break;
case AST_FORMAT_ILBC:
samples = 240 * (f->datalen / 50);
break;
case AST_FORMAT_GSM:
samples = 160 * (f->datalen / 33);
bre...
2004 Nov 17
3
Jitter buffer
Jean-Marc Valin wrote:
>>Heh. I guess after playing with different jitter buffers long enough,
>>I've realized that there's always situations that you haven't properly
>>accounted for when designing one.
>>
>>
>
>For example? :-)
>
>
I have a bunch of examples listed on the wiki page where I had written
initial specifications: