you may not believe it but i have a problem
The scenario is as follows: There is a TV running a favourite News Channel with Stock Information etc… The TV is muted so that nobody is disturbed by it. When someone wants to listen to the program, he dials a certain number on his IP Phone and can hear the audio part via headset.
My idea was to use the MoH feature from Asterisk and grab the music from the Line-In of the soundcard. I built and tested it using this howto: http://www.voip-info.org/wiki-Asterisk+config+musiconhold.conf#Usingasoundcardasthesource
Added these two lines to the extensions.conf:
exten => 6000,1,Answer
exten => 6000,2,MusicOnHold()
It is working but there is a huge delay between audio an video at least 4 to 5 seconds. Do you have any idea where this delay comes from and how to get rid of it? CPU utilisation is not an issue it’s always at 0-1%. Is there any better/other way to do this?