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 convenient 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 output 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.3, JANUARY 2017.
D15316.05
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">
</AssignCall>
</Layout>
</Video>
</Command>
xCommand
<CallId>2</CallId>
<LayoutId>1</LayoutId>
36
API Reference Guide
xStatus
Appendices
Copyright © 2017 Cisco Systems, Inc. All rights reserved.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents