Terminal Connections - 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

Terminal connections

Managing feedback subscriptions
To register, list and deregister feedback expressions you
use the command xFeedback and its corresponding sub
commands.
The registered expressions are only valid for the currently
active connection. If you open two Telnet sessions and
register to get feedback in one session, you do not receive
feedback in the other session. This also means that if you
disconnect from a session, you have to re-register all expres-
sions after reconnecting.
You can register up to 38 expressions.
SX20 Codec API Reference Guide CE9.1, JUNE 2017.
D15316.07
About the API
About the API
xConfiguration
Feedback output
The feedback output is exactly the same as you get
when querying the system using the xConfiguration
and xStatus commands. E.g., if you issue the command
xStatus Standby Active
*s Standby Active: On
** end
If you have registered for feedback on status changes the
feedback you get when the system goes to standby-mode
will be exactly the same:
*s Standby Active: On
** end
This means that when you are programming against the
device you only need to handle one format.
xCommand
on the command line the result is:
23
API Reference Guide
xStatus
Appendices
Example: Managing feedback subscriptions
A: Register feedback expressions.
Write in:
xFeedback register /Status/Audio
Result:
** end
OK
Write in:
xFeedback register /Event/CallDisconnect
Result:
** end
OK
Write in:
xFeedback register /Configuration/Video/
MainVideoSource
Result:
** end
OK
B: List out currently registered expressions.
Write in:
xFeedback list
Result:
/Configuration/Video/MainVideoSource
/Event/CallDisconnect
/Status/Audio
** end
OK
C: Deregister feedback expressions.
Write in:
xFeedback deregister /Event/
CallDisconnect
Result:
** end
OK
Write in:
xFeedback deregister /Status/Audio
Result:
** end
OK
D: List the new feedback expressions.
Write in:
xFeedback list
Result:
/Configuration/Video/MainVideoSource
** end
OK
Copyright © 2017 Cisco Systems, Inc. All rights reserved.

Advertisement

Table of Contents
loading

Table of Contents