Cisco D9800 Reference Manual page 266

Network transport receiver
Hide thumbs Also See for D9800:
Table of Contents

Advertisement

Transcoding Configuration Commands
URI Argument
langmenu
pmtorder
langlist
langentry
imitext
foregndcol
backgndcol
POST Examples:
Example 1: Changing one SUBT Transcoding Parameter
The following example assumes that the user has successfully logged onto the unit, received the session id
and set it to the variable token. In addition, it is assumed that the IP of the unit is 192.168.0.1. You must
change the IP to the specific unit IP in use. This example changes the opmode of transcoder 5 to Imitext.
curl -X POST -i -H "Accept: application/json" -H
"X-SESSION-ID: $token" -k "https://192.168.0.1/ws/v2/service_cfg/transcode/
subt?index=5&opmode=Imitext"
If successful, the following is an example of the return body:
"response": {
Cisco D9800 Network Transport Receiver Version 2.75 RESTful Web Services API Reference Guide
254
"code": "10",
"result": "success",
Description
Language Menu Options
Type: String
Value: "Language List", "Language Entry", "PMT Order"
PMT Order of Subtitle PID
Type: String
Values: "First", "Second", "Third", "Fourth", "Fifth", "Sixth",
"Seventh", "Eighth"
Language List
Type: String
Value: 3 character language string
Language Entry
Type: String
Value: 3 character language string
imitext Position
Type: String
Values: "Standard", "Extended"
Foreground Color
Type: String
Values: "Auto", "Yellow", "White"
Foreground Color
Type: String
Values: "None", "Auto", "Shadow", "Opaque", "Semi"
API Definitions

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents