[Asterisk-Dev] Re: Audio delay in MeetMe using SIP when not 'q' mode

Tony Mountifield tony at softins.clara.co.uk
Mon Feb 14 10:40:10 MST 2005


In article <4210DE98.9070302 at starnetworks.us>,
Kevin P. Fleming <kpfleming at starnetworks.us> wrote:
> Tony Mountifield wrote:
> 
> > I am suspecting that the problem is something to do with the conf_play()
> > of the enter and leave sounds. My guess is that by writing that raw data
> > into the pseudo device fd, it causes a backlog that never drains, because
> > the device is only getting emptied at the same rate as the conference is
> > filling it.
> 
> That's very interesting... it certainly seems possible that it could be 
> the case. It would be pretty simple to test, just replace the "conf 
> enter" sound with something quite a bit longer (4 or 5 seconds) and 
> determine if the delay increases accordingly.

Well I've tried the next best thing: commented out the careful_write that
is in conf_play(). The delay then went away, even on non-q confs.

Cheers
Tony
-- 
Tony Mountifield
Work: tony at softins.co.uk - http://www.softins.co.uk
Play: tony at mountifield.org - http://tony.mountifield.org



More information about the asterisk-dev mailing list