Displaying 3 results from an estimated 3 matches for "ast_format_speex".
2004 May 05
1
Asterisk devel. - Mediatrix dtmf bug solved
...p_read: Unknown RTP codec
96 received
May 5 10:48:15 NOTICE[139648000]: rtp.c:418 ast_rtp_read: Unknown RTP codec
96 received
We had this static_RTP_PT[xx] structure in rtp.c :(asterisk source):
[...]
[34] = {1, AST_FORMAT_H263},
[97] = {1, AST_FORMAT_ILBC},
[101] = {0, AST_RTP_DTMF},
[110] = {1, AST_FORMAT_SPEEX},
[121] = {0, AST_RTP_CISCO_DTMF}, // Must be type 121
[...]
as there is no 96 entry and function ast_rtp_read() is returning 'Unknown
RTP.....".
We added entry, recompiled Asterisk and yeah it works!!!!!!
See debug below:
[...]
Answering with preferred capability 8
Answering with non-c...
2004 Dec 21
2
Jitter buffer
...o have the
ability to:
1) Take a look at some speex data, and return the number of samples it
contains. This would go 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);...
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: