D14642.15 Codec C40-C60 API Reference Guide TC7.0, JANUARY 2014. Copyright © 2010–2014 Cisco Systems, Inc. All rights reserved. 9
Cisco TelePresence System Codec C40/C60 API Reference Guide
Example: Layout command in terminal mode
xCommand Video Layout AssignCall CallId: 2 LayoutId: 1
API output
The xPreferences is used to set preferences for the RS-232,
Telnet and SSH sessions.
The output modes
• Terminal: Line based output for use with line based
control systems
• XML: XML output for use with control systems that
understand XML.
The default output mode is terminal. To change this you
have to define your preferences for each session individually.
Examples in this guide are in terminal mode.
To set ouput mode to XML, issue the command:
xPreferences outputmode xml
To revert to terminal mode, issue the command:
xPreferences outputmode terminal
Example: Layout command in XML mode
<Command>
<Video>
<Layout>
<AssignCall command=”True”>
<CallId>2</CallId>
<Lay outId >1</Lay outId >
</AssignCall>
</Layout>
</Video>
</Command>