Check to find if other applications are using the sound device. Maybe that is the cause.
-----ԭʼʼ----- :"Jorge "Hernffffffffffe1ndez" yahoo.com=""> ʱ:2006-09-20 01:02:26 ռ:openh323 openh323.org :() :Re: [OpenH323]problems opening audio device on simph323 (update)
From: "Jorge "Hernffffffffffe1ndez" yahoo.com="">
To: openh323 openh323.org
Date: Wed, 20 Sep 2006 01:02:26 +0800 (CST)
Subject: Re: [OpenH323]problems opening audio device on simph323 (update)
> Hello Again:
>
> I have found the problem openh323 and opal
> applications does not find audio devices. The cause
> are oss or alsa plug-ins not being loaded in pwlib.
> You must use pwlib's "configure" with the option
> --enable-plugins wich is by default off.
>
> Additionally in compiling simph323 you must select the
> shared libraries option (for instance make opt) other
> way plug-ins are not loaded. (I don't know if there is
> a way to make it work with non shared libraries)
>
> In this way you can retrive and specify available
> audio devices.
>
> Now I have another problem. Audio devices report that
>
> Can't open sound devices. Actually this sound devices
> work fine with other applications including ekiga.
>
> This is the output of failing simph323
> -------------------------
>
> [jhernand localhost obj_linux_x86_r]$ ./simph323 -nl
> -s "Intel 82801DB-ICH4"
> SimpleH323 Version 1.18.0 by OpenH323 Project on Unix
> Linux (2.6.15-1.2054_FC5-i686)
>
> Local username: jhernand
> Silence compression is Enabled
> Auto answer is 0
> FastConnect is Enabled
> H245Tunnelling is Enabled
> Jitter buffer: 50-250 ms
> Sound output device: "Intel 82801DB-ICH4"
> Sound input device: "Intel 82801DB-ICH4"
> Codecs (in preference order):
> Table:
> G.711-ALaw-64k <1>
> G.711-uLaw-64k <2>
> UserInput/hookflash <3>
> UserInput/basicString <4>
> UserInput/dtmf <5>
> UserInput/RFC2833 <6>
> Set:
> 0:
> 0:
> G.711-ALaw-64k <1>
> G.711-uLaw-64k <2>
> 1:
> UserInput/hookflash <3>
> UserInput/basicString <4>
> UserInput/dtmf <5>
> UserInput/RFC2833 <6>
>
> Waiting for incoming calls for "jhernand"
> Press X to exit.
> H323> Incoming call from "phone [10.0.3.201]", answer
> call (Y/n)? y
> Could not open sound device Intel 82801DB-ICH4 - Check
> permissions or full duplex capability.
> Could not open sound device Intel 82801DB-ICH4 - Check
> permissions or full duplex capability.
> Could not open sound device Intel 82801DB-ICH4 - Check
> permissions or full duplex capability.
> Could not open sound device Intel 82801DB-ICH4 - Check
> permissions or full duplex capability.
> In call with phone [10.0.3.201]
> H323>
>
>
>
> ---------------------
>
> Ideas?
>
> Regards
>
> Jorge Hernandez
>
> --- Jorge Hernffffffffffe1ndez yahoo.com="">
> wrote:
>
> >
> > Hello
> >
> > I have an update to my question (please see below or
> > previous message). The problem is limited to PWLIB,
> > It is not detecting audio devices. I made a test
> > with
> > the audio demo that is included in the pwlib source
> > code:
> >
> > pwlib/samples/audio/obj_linux_x86_r/audio
> >
> > simph323, ohpone and simpopal depend on pwlib for
> > audio an a lot of other functions. I tried
> > compiling pwlib with and without ALSA support with
> > the
> > same result.
> >
> > Any ideas of possible causes?
> >
> >
> > [jhernand localhost obj_linux_x86_r]$ pwd
> > /home/jhernand/pwlib/samples/audio/obj_linux_x86_r
> > [jhernand localhost obj_linux_x86_r]$ ./audio
> > Audio Test Program
> >
> > List of play devices
> > The default play device is ""
> >
> > List of Record devices
> > The default record device is ""
> >
> > Play volume cannot be obtained
> > Record volume cannot be obtained
> > [jhernand localhost obj_linux_x86_r]$
> >
> >
> >
> >
> >
> > --- Jorge Hernffffffffffe1ndez
> > yahoo.com="">
> > wrote:
> >
> > > Hello:
> > >
> > > I'm having problems with the simple demo
> > aplication
> > > simph323. It compiles ok, but when is running it
> > > reports the following:
> > >
> > > -----------------------
> > > [jhernand localhost obj_linux_x86_r]$ ./simph323
> > -ln
> > > SimpleH323 Version 1.18.0 by OpenH323 Project on
> > > Unix
> > > Linux (2.6.15-1.2054_FC5-i686)
> > >
> > > Local username: jhernand
> > > Silence compression is Enabled
> > > Auto answer is 0
> > > FastConnect is Enabled
> > > H245Tunnelling is Enabled
> > > Jitter buffer: 50-250 ms
> > > Sound output device: ""
> > > Sound input device: ""
> > > Codecs (in preference order):
> > > Table:
> > > G.711-ALaw-64k <1>
> > > G.711-uLaw-64k <2>
> > > UserInput/hookflash <3>
> > > UserInput/basicString <4>
> > > UserInput/dtmf <5>
> > > UserInput/RFC2833 <6>
> > > Set:
> > > 0:
> > > 0:
> > > G.711-ALaw-64k <1>
> > > G.711-uLaw-64k <2>
> > > 1:
> > > UserInput/hookflash <3>
> > > UserInput/basicString <4>
> > > UserInput/dtmf <5>
> > > UserInput/RFC2833 <6>
> > >
> > > Waiting for incoming calls for "jhernand"
> > > Press X to exit.
> > > H323>
> > > -------------------------
> > >
> > > So sound and input devices are both "" empty
> > >
> > > Establishing a conection from other machine shows
> > > this:
> > >
> > > ---------------------------
> > > H323> Incoming call from "jorge [10.0.5.214]",
> > > answer
> > > call (Y/n)? y
> > > Could not open sound device - Check permissions
> > or
> > > full duplex capability.
> > > Could not open sound device - Check permissions
> > or
> > > full duplex capability.
> > > Could not open sound device - Check permissions
> > or
> > > full duplex capability.
> > > Could not open sound device - Check permissions
> > or
> > > full duplex capability.
> > > In call with jorge [10.0.5.214]
> > > H323>
> > >
> > > ---------------------------
> > >
> > > So connection is made but can't open sound device
> > >
> > > the same behaviour occurs with simpleopal and
> > > ohphone
> > >
> > > My distibution is fedora 5 with Gnome
> > >
> > > Any ideas?
> > >
> > > Thanks in advance
> > >
> > > Jorge H
> > >
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Tired of spam? Yahoo! Mail has the best spam
> > > protection around
> > > http://mail.yahoo.com
> > >
> >
> ------------------------------------------------------------------------
> > > Check the FAQ before asking! -
> > > http://www
|