Api Output; The Output Modes - Cisco TelePresence SX20 Codec Reference Manual

Application programming interface (api)
Hide thumbs Also See for TelePresence SX20 Codec:
Table of Contents

Advertisement

Cisco TelePresence SX20 Codec
Introduction

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.
JSON: JSON format is convinient when integrating with
web based systems.
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
SX20 Codec API Reference Guide CE8.1, APRIL 2016.
D15316.03
About the API
About the API
xConfiguration
Example: Layout command in terminal mode
xCommand Video Layout AssignCall CallId: 2 LayoutId: 1
Example: Layout command in XML mode
<Command>
<Video>
<Layout>
<AssignCall command="True">
<CallId>2</CallId>
<LayoutId>1</LayoutId>
</AssignCall>
</Layout>
</Video>
</Command>
xCommand
25
API Reference Guide
xStatus
Appendices
Copyright © 2016 Cisco Systems, Inc. All rights reserved.

Advertisement

Table of Contents
loading

Table of Contents