Created by: Davis Whitehurst on 10-08-2009 09:08:05 PM I am upgrading some existing MXP systems to C60 codecs. These systems took advantage of the external source switching capabilities in the MXP codecs. I noticed the C series has a SStringSend command. That could work for me, but I am not seeing the strings being transmitted out of the far site codec. Are these commands not ready yet? The local codec does accept the command without errors. Please help. Thanks, Davis
Subject: RE: C60 API Issues Replied by: David Bruun-Lie on 11-08-2009 10:57:19 AM
Davis Whitehurst:
I am upgrading some existing MXP systems to C60 codecs. These systems took advantage of the external source switching capabilities in the MXP codecs. Davis
Not quite sure what you are asking here. The C60 (and C90 of course) has built in source switching. The commands for the switcher to change between the active inputs are:
*c xConfiguration Video Input Source 1 Connector: HDMI *c xConfiguration Video Input Source 2 Connector: HDMI *c xConfiguration Video Input Source 3 Connector: DVI
Davis Whitehurst:
I noticed the C series has a SStringSend command. That could work for me, but I am not seeing the strings being transmitted out of the far site codec. Are these commands not ready yet? The local codec does accept the command without errors. Please help. Thanks, Davis
The commands are indeed ready and working. You need to be in a H323 call to get s-string and t-string to work.TStringSend requires a correct callId corresponding to the call that you want to send the message to. For SStringSend the callId is optional. If not specified it will send the same message to all calls in a multisite call (this is for backwards compatibility with how it worked on MXP where this was the only option). The difference between SString and TString is that SString is UDP based and the TString is TCP based. We recommend using TString if you know that the remote site supports it.
Note that to receive the message on the remote site you need to actively subscribe to the events. On the C-series this is done by registering to the events "event/TString" and "event/SString". Example:
Example of transmission: Commands sent from one C90: xcommand TStringSend Message: "Hello world" callId:154 xcommand SStringSend Message: "Hello world" callId:154 xcommand SStringSend Message: "Hello world"
Data received to the remote site C90:
*e TString CallId: 48 Message: "Hello world" ** end *e SString CallId: 48 String: "Hello world" ** end *e SString CallId: 48 String: "Hello world" ** end
Subject: RE: C60 API Issues Replied by: Davis Whitehurst on 11-08-2009 04:33:52 PM Thanks, It is probably the register command that I missed.
External source switching on the MXP codecs means you can use an external switcher to do all of the switching. This was setup using the extcam command. "extcam on pres=15 source = 5" means there are 5 external sources capable of 15 presets. You then would use extname to name the external sources. That way, the far end system can display the exact names of the sources on the control panel. You also have to let the codec know the type of sources with the extcap command.
On another note. How do you express non-printable characters within in the message using the sstring or tstring commands? Thanks, Davis
Subject: RE: C60 API Issues Replied by: Roger Boe on 12-08-2009 10:41:27 AM The capability to control an external mixer with similar commands as with the MXPs extcam, extcap, extname and extswitch commands are not supported in the TC series of codecs. For integrators needing a lot of input and outputs we do recommend our TANDBERG Codec C90, which has 12 HD inputs and one composite/s-video input. Currently there are no plans of adding such a feature, unless we get a high demand for this functionality.
You cannot send non-printable characters using ssting or tstring. However you can build your own protocol to express such characters as you can send any ASCII characters across. As an example you could use "\n" to indicate a carriage return.
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: