On Thu, Feb 14, 2008 at 7:45 AM, Karsten Schubotz <[EMAIL PROTECTED]> wrote:

> Hi Alexander,
>
> thank you very much for answering my questions!
>
> > No, there is no assotiation of volume with calls, because volume
> > regulation is performed with help of Windows Mixer, not inside sipXtapi
> > itself.
> > You may try to switch volume right before or after switching to other
> > call in your application. Or, you could modify sipXtapi to support per->
> > call volume or passing volume level to sipXtapi functions when switching
> > calls. Patches are welsome :)
>
> The main reason why I would like to use per-call volume is to prioritise
> calls during a conference call.

This is something that would be done inside the bridge of the media layer..
(MprBridge).
While I'm pretty sure prioritization (who is the active speaker) is present
in the current bridge, not sure if code to do gain adjustments during the
mixing of the different call streams is present, and I'm quite sure that
hooks up to the mediaAdapter layer and sipXtack lib layers are present.

Take a look at MprBridge in the sipXmediaLib project --
svn co http://scm.sipfoundry.com/rep/sipXtapi
edit sipXtapi/sipXmediaLib/include/mp/MprBridge.h
sipXtapi/sipXmediaLib/src/mp/MprBridge.cpp

> Separate volume for channels is not suported too, because we output
> > mono audio data.
>
> Mono data would be OK, but I would like to put the mono audio data either
> to only one (left or right) or both of my two speakers. So If I have several
> calls active in a conference call, I want to decide which call to put on
> which speaker. Perhaps I have the opportunity to use the SPEAKER_TYPE
> "RINGER" in sipXtapi as my second speaker.  Is it possible ? Or are there
> any alternatives to get such kind of function? (using of GIPS?).
> I really appreciate your help!

This is definitely not possible.  sipXtapi is entirely mono -- single audio
stream passing through.
We just finished up work to make mediaLib support wideband sample rates (i.e.
16kHz, 32kHz, 48kHz).  Previously sipXtapi was fixed at 8kHz.  But there is
no plans currently to add stereo support for sipXmediaLib.

If you're interested in working on that, by all means though, go ahead! :)

-- 
Keith Kyzivat

SIPez LLC.
SIP VoIP, IM and Presence Consulting
http://www.SIPez.com
tel: +1 (617) 273-4000
_______________________________________________
sipxtapi-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/

Reply via email to