Re: [Opalvoip-user] Restrict devices before opening OPAL?
Brought to you by:
csoutheren,
rjongbloed
|
From: Joseph R. <jro...@gm...> - 2015-02-19 05:05:15
|
Have you looked at any of the sample programs? I know those let you remove
codecs and choose output devices. I'm pretty sure you can restrict your
input devices as well. Why don't you take a look at those for this?
On Wed Feb 18 2015 at 9:02:42 PM jeremy ardley <jer...@gm...>
wrote:
> I use a small snippet of code to open the OPAL device in a SIP voice
> application
>
> OpalHandle hOPAL;
>
> unsigned version;
>
> version = OPAL_C_API_VERSION;
>
> if ((hOPAL = OpalInitialise(&version, OPAL_PREFIX_SIP " TraceLevel=4"))
> == NULL)
>
> {
>
> fputs("Could not initialise OPAL\n", stderr);
>
> return false;
>
> }
>
> However the OPAL instance wants to open a V4L2 device and fails since I
> don't have one.
>
> Can I prevent the OPAL instance from trying to open a V4L device and
> instead open an ALSA device?
>
> What calls prior to the OplaInitialise are required? Or is using the
> wrapper functions not suitable for this and I should use low level
> calls? Or does it require compile time switches? In all cases is there a
> link or tutorial I can use?
>
> I did searches on the error message phrase and not found much of use
> other than similar messages from apps using OPAL. I also looked through
> the doxygen documentation but it's a bit obscure about this. I also
> installed a 4VL device and got it to work O.K. but my target application
> won't have V4L.
>
> Any advice appreciated.
>
> ------------------------------------------------------------
> ------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&
> iu=/4140/ostg.clktrk
> _______________________________________________
> Opalvoip-user mailing list
> Opa...@li...
> https://lists.sourceforge.net/lists/listinfo/opalvoip-user
>
|