cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
85
Views
0
Helpful
0
Comments
cdnadmin
Level 11
Level 11
This document was generated from CDN thread

Created by: Timothy Shire on 25-03-2010 08:33:38 PM
This is a cross-post Cross-Post

It might be a good idea to have a General API category.  As i am not sure where to post this question.

So this is a question about the Dynamic Routing of Remote audio using TC2.

Here is the general setup.

I have two rooms that share a C90 Each room have Its own sound output and each room has 3 mics located in each room.  See config below:

So the problem that i am not sure how to handle is when a call is setup there is auto routing done from Localinput(s) to Remoteoutput and RemoteInput to Localout(s).

but for privacy reasons i would like to only have either the Boardroom or the Office auto route by default and then I can manage joining in the other Room of the Call is Expanded to both rooms.

So the question is can i disable the auto routing all together or do i have to track the RemoteinputId and RemoteoutputId and then issue xcommands to undo the auto routing for every call that is made?

OR

Is there a way to define Remoteinput (site 1/2/3) to a static ID(s) and Remoteout (site 1/2/3) to a static ID(s)

The above would work great with auto routing turned off/manual

Thanks in advance
Tim


The basic I/O setup is below:

/* Boardroom */

xCommand Audio LocalInput Add Inputid:2001 Name:"Boardroom-Mics"
xCommand Audio LocalInput AddConnector InputId:2001 ConnectorType:Microphone ConnectorId:1
xCommand Audio LocalInput AddConnector InputId:2001 ConnectorType:Microphone ConnectorId:2
xCommand Audio LocalInput AddConnector InputId:2001 ConnectorType:Microphone ConnectorId:3
xCommand Audio LocalInput Add Inputid:2002 Name:"Boardroom-PC"
xCommand Audio LocalInput AddConnector InputId:2002 ConnectorType:Line ConnectorId:1
xCommand Audio LocalInput AddConnector InputId:2002 ConnectorType:Line ConnectorId:2
xCommand Audio LocalOutput Add Outputid:3001 Name:"Boardroom-PLSM-SPK"
xCommand Audio LocalOutput AddConnector OutputId:3001 ConnectorType:HDMI ConnectorId:1
xCommand Audio LocalOutput ConnectInput Outputid:3001 Inputid:2002


/* Office */

xCommand Audio LocalInput Add Inputid:2003 Name:"Office-Mics"
xCommand Audio LocalInput AddConnector InputId:2003 ConnectorType:Microphone ConnectorId:4
xCommand Audio LocalInput AddConnector InputId:2003 ConnectorType:Microphone ConnectorId:5
xCommand Audio LocalInput AddConnector InputId:2003 ConnectorType:Microphone ConnectorId:6
xCommand Audio LocalInput Add Inputid:2004 Name:"Office-PC"
xCommand Audio LocalInput AddConnector InputId:2004 ConnectorType:Line ConnectorId:3
xCommand Audio LocalInput AddConnector InputId:2004 ConnectorType:Line ConnectorId:4
xCommand Audio LocalOutput Add Outputid:3002 Name:"Office-PLSM-SPK"
xCommand Audio LocalOutput AddConnector OutputId:3002 ConnectorType:HDMI ConnectorId:3
xCommand Audio LocalOutput ConnectInput Outputid:3002 Inputid:2004

Subject: RE: General Audio API Question
Replied by: Roger Boe on 11-06-2010 02:40:18 PM
Hi Timothy,

“In your question I understood that it was important to connect/disconnect the two rooms from the conference ad hoc during a call. In that case, here are the answers to your questions:

1. You can’t disable the auto routing of remote outputs all together
2. There is no way to define Remoteinputs and RemoteOutputs to static ID(s)
3. After a call is up it is possible to find all unwanted connections to Remoteinputs and Remoteoutputs and issue xcommands to  
              undo them.

However, an alternative is to have three audio setups that you can switch between. Then you can’t switch ad hoc during a call, but at least you can ensure privacy when needed:

1. Boardroom
2. Office
3. Boardroom and Office

You can make three profiles in the Audio Console that you apply to the codec when they are needed. Or you can do it yourself with Xcommands and startup scripts.”

Best regards
Roger
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Quick Links