AbstractAudioVideoOutputService

AbstractAudioVideoOutputService ⇐ Abstract

Kind: global abstract class
Extends: Abstract
Mixes: MServiceCache
Service:

AbstractAudioVideoOutputService()

This class represents the audio and video setting service.

“HDMIResolutionChanged” (resolution)

Fired when the HDMI resolution has been changed

Kind: event emitted by AbstractAudioVideoOutputService

ParamTypeDescription
resolutionnumber

The HDMI resolution (integer)

“HDMIAudioFormatChanged” (format)

Fired when the HDMI audio format has been changed

Kind: event emitted by AbstractAudioVideoOutputService

ParamTypeDescription
formatnumber

The audio format (integer)

“analogARChanged” (analogAR)

Fired when the analog aspect ratio has been changed

Kind: event emitted by AbstractAudioVideoOutputService

ParamTypeDescription
analogARnumber

The analog aspect ratio (integer)

“hdmiARChanged” (hdmiAR)

Fired when the hdmi aspect ratio has been changed

Kind: event emitted by AbstractAudioVideoOutputService

ParamTypeDescription
hdmiARnumber

The hdmi aspect ratio (integer)

“hdmiAspectRatioZoomChanged” (zoom)

Fired when the hdmi aspect ratio zoom has been changed

Kind: event emitted by AbstractAudioVideoOutputService

ParamTypeDescription
zoomnumber

The hdmi aspect ratio zoom (integer)

“ARConversionChanged” (arConversion)

Fired when the aspect ratio conversion has been changed

Kind: event emitted by AbstractAudioVideoOutputService

ParamTypeDescription
arConversionnumber

The aspect ratio conversion value (integer)

“hdmiCecModeChanged” (hdmiCecMode)

Fired when the cec mode has been changed

Kind: event emitted by AbstractAudioVideoOutputService

ParamTypeDescription
hdmiCecModeHdmiCecModes

cec mode

“hdmiAudioModeChanged” (hdmiAudioMode)

Fired when the hdmi audio mode has been changed

Kind: event emitted by AbstractAudioVideoOutputService

ParamTypeDescription
hdmiAudioModenumber

AUDIO_MODE_EDID, AUDIO_MODE_BYPASS, AUDIO_MODE_DECODED or AUDIO_MODE_FORCE (integer)

“hdmiHDREnabledChanged” (enabled)

Fired when the hdmi HDR enabled has been changed

Kind: event emitted by AbstractAudioVideoOutputService

ParamTypeDescription
enabledboolean

New enabled value

“spdifAudioModeChanged” (spdifAudioMode)

Fired when the SPDIF audio mode has been changed

Kind: event emitted by AbstractAudioVideoOutputService

ParamTypeDescription
spdifAudioModenumber

AUDIO_MODE_BYPASS, AUDIO_MODE_DECODED or AUDIO_MODE_FORCE (integer)

“audioOutputChanged” (outputType)

Fired when the audio output has been changed

Kind: event emitted by AbstractAudioVideoOutputService

ParamTypeDescription
outputTypenumber

AUDIO_OUTPUT_TYPE_HDMI and/or AUDIO_OUTPUT_TYPE_BLUETOOTH and/or AUDIO_OUTPUT_TYPE_ANALOG and/or AUDIO_OUTPUT_TYPE_SPDIF and/or AUDIO_OUTPUT_TYPE_SPEAKER

“tvStandbyModeChanged” (standbyMode)

Fired when the tv standby mode has been changed

Kind: event emitted by AbstractAudioVideoOutputService

ParamTypeDescription
standbyModenumber

TV_STANDBY_MODE_ON or TV_STANDBY_MODE_OFF

“audioNetworkOutputAvailable”

Fired when a new network audio device is available on the network

Kind: event emitted by AbstractAudioVideoOutputService

“audioNetworkOuputUnavailable”

Fired when the network audio device is not available anymore

Kind: event emitted by AbstractAudioVideoOutputService

“audioSyncProgress”

Fired when the device audio sync is in progress

Kind: event emitted by AbstractAudioVideoOutputService

“audioSyncSuccess”

Fired when the device audio sync is successful

Kind: event emitted by AbstractAudioVideoOutputService

“audioSyncError”

Fired when the device audio sync is successful

Kind: event emitted by AbstractAudioVideoOutputService

“audioSyncStopped”

Fired when the device audio sync is manually stopped

Kind: event emitted by AbstractAudioVideoOutputService

“audioSyncStopError”

Fired when trying to stop audio sync has failed

Kind: event emitted by AbstractAudioVideoOutputService

HDMI_AUTO_RESOLUTION : number

Kind: static constant of AbstractAudioVideoOutputService
Default: 0

HDMI_480I : number

Kind: static constant of AbstractAudioVideoOutputService
Default: 110

HDMI_480I_50HZ_RESOLUTION : number

Kind: static constant of AbstractAudioVideoOutputService
Default: 111

HDMI_480I_60HZ_RESOLUTION : number

Kind: static constant of AbstractAudioVideoOutputService
Default: 112

HDMI_480P : number

Kind: static constant of AbstractAudioVideoOutputService
Default: 120

HDMI_480P_50HZ_RESOLUTION : number

Kind: static constant of AbstractAudioVideoOutputService
Default: 121

HDMI_480P_60HZ_RESOLUTION : number

Kind: static constant of AbstractAudioVideoOutputService
Default: 122

HDMI_576I : number

Kind: static constant of AbstractAudioVideoOutputService
Default: 210

HDMI_576I_50HZ_RESOLUTION : number

Kind: static constant of AbstractAudioVideoOutputService
Default: 211

HDMI_576I_60HZ_RESOLUTION : number

Kind: static constant of AbstractAudioVideoOutputService
Default: 212

HDMI_576P : number

Kind: static constant of AbstractAudioVideoOutputService
Default: 220

HDMI_576P_50HZ_RESOLUTION : number

Kind: static constant of AbstractAudioVideoOutputService
Default: 221

HDMI_576P_60HZ_RESOLUTION : number

Kind: static constant of AbstractAudioVideoOutputService
Default: 222

HDMI_720I : number

Kind: static constant of AbstractAudioVideoOutputService
Default: 310

HDMI_720I_50HZ_RESOLUTION : number

Kind: static constant of AbstractAudioVideoOutputService
Default: 311

HDMI_720I_60HZ_RESOLUTION : number

Kind: static constant of AbstractAudioVideoOutputService
Default: 312

HDMI_720P : number

Kind: static constant of AbstractAudioVideoOutputService
Default: 320

HDMI_720P_50HZ_RESOLUTION : number

Kind: static constant of AbstractAudioVideoOutputService
Default: 321

HDMI_720P_60HZ_RESOLUTION : number

Kind: static constant of AbstractAudioVideoOutputService
Default: 322

HDMI_1080I : number

Kind: static constant of AbstractAudioVideoOutputService
Default: 410

HDMI_1080I_50HZ_RESOLUTION : number

Kind: static constant of AbstractAudioVideoOutputService
Default: 411

HDMI_1080I_60HZ_RESOLUTION : number

Kind: static constant of AbstractAudioVideoOutputService
Default: 412

HDMI_1080P : number

Kind: static constant of AbstractAudioVideoOutputService
Default: 420

HDMI_1080P_50HZ_RESOLUTION : number

Kind: static constant of AbstractAudioVideoOutputService
Default: 421

HDMI_1080P_60HZ_RESOLUTION : number

Kind: static constant of AbstractAudioVideoOutputService
Default: 422

HDMI_2160I : integer

Kind: static constant of AbstractAudioVideoOutputService

HDMI_2160I_50HZ_RESOLUTION : integer

Kind: static constant of AbstractAudioVideoOutputService

HDMI_2160I_60HZ_RESOLUTION : integer

Kind: static constant of AbstractAudioVideoOutputService

HDMI_2160P : integer

Kind: static constant of AbstractAudioVideoOutputService

HDMI_2160P_50HZ_RESOLUTION : integer

Kind: static constant of AbstractAudioVideoOutputService

HDMI_2160P_60HZ_RESOLUTION : integer

Kind: static constant of AbstractAudioVideoOutputService

HDMI_AUDIO_FORMAT_AUTO : number

Kind: static constant of AbstractAudioVideoOutputService
Default: 0

HDMI_AUDIO_FORMAT_PCM : number

Kind: static constant of AbstractAudioVideoOutputService
Default: 1

HDMI_AUDIO_FORMAT_AC3 : number

Kind: static constant of AbstractAudioVideoOutputService
Default: 2

HDMI_AUDIO_FORMAT_STEREO : number

Kind: static constant of AbstractAudioVideoOutputService
Default: 3

HDMI_AUDIO_FORMAT_PASSTHROUGH : number

Kind: static constant of AbstractAudioVideoOutputService
Default: 4

HDMI_ZOOM_ORIGINAL : number

Original HDMI zoom (no zoom)

Kind: static constant of AbstractAudioVideoOutputService
Default: 0

HDMI_ZOOM_ZOOM : number

16/9 HDMI zoom (zoom to fit image to screen, somme side parts may not be displayed) 4/3 HDMI zoom (zoom 4/3 to 16/9, somme side parts may not be displayed)

Kind: static constant of AbstractAudioVideoOutputService
Default: 1

HDMI_ZOOM_LARGE : number

16/9 large HDMI zoom (stretches image horizontally to feet screen) 4/3 large HDMI zoom (stretches 4/3 to 16/9 horizontally to feet screen)

Kind: static constant of AbstractAudioVideoOutputService
Default: 2

HDMI_ZOOM_ZOOM_LARGE : number

4/3 (only) large HDMI zoom (zoom 4/3 to 16/9 and stretches 4/3 to 16/9 horizontally to feet screen)

Kind: static constant of AbstractAudioVideoOutputService
Default: 3

HDMI_ZOOM_ZOOM2 : number

4/3 (only) HDMI zoom (zoom 4/3 to 16/9 to fit image to screen, somme side parts may not be displayed)

Kind: static constant of AbstractAudioVideoOutputService
Default: 4

ORIGINAL : number

When output is SD, output aspect ratio is same as video aspect ratio

Kind: static constant of AbstractAudioVideoOutputService
Default: 0

FORCED_4_3 : number

Set “FORCED:4/3:LETTERBOX”

Kind: static constant of AbstractAudioVideoOutputService
Default: 1

FORCED_16_9 : number

Set “FORCED:16/9:PILLARBOX”

Kind: static constant of AbstractAudioVideoOutputService
Default: 2

FORCED_4_3_LETTERBOX : number

16/9 content fit into the 4/3 screen by adding black bars at top and bottom

Kind: static constant of AbstractAudioVideoOutputService
Default: 3

FORCED_4_3_PANSCAN : number

16/9 content fit the whole height of the 4/3 screen. The left and the right of the signal won’t be visualize on the screen

Kind: static constant of AbstractAudioVideoOutputService
Default: 4

FORCED_16_9_PILLARBOX : number

4/3 content fit into the 16/9 screen by adding black bars on both sides

Kind: static constant of AbstractAudioVideoOutputService
Default: 5

FORCED_16_9_TILTSCAN : number

4/3 content fit to the whole width of the 16:9 screen. The top and the bottom of the signal won’t be visualize on the screen

Kind: static constant of AbstractAudioVideoOutputService
Default: 6

ANALOG_AR_16_9 : number

Kind: static constant of AbstractAudioVideoOutputService
Default: 0

ANALOG_AR_16_9_TILTSCAN : number

Adapt the image by clipping

Kind: static constant of AbstractAudioVideoOutputService
Default: 1

ANALOG_AR_16_9_PILLARBOX : number

Adapt the image with no change of the initial aspect ration (by adding black bars)

Kind: static constant of AbstractAudioVideoOutputService
Default: 2

ANALOG_AR_4_3 : number

Kind: static constant of AbstractAudioVideoOutputService
Default: 3

ANALOG_AR_4_3_PANSCAN : number

Adapt the image by clipping

Kind: static constant of AbstractAudioVideoOutputService
Default: 4

ANALOG_AR_4_3_LETTERBOX : number

Adapt the image with no change of the initial aspect ration (by adding black bars)

Kind: static constant of AbstractAudioVideoOutputService
Default: 5

AR_CONVERSION_PANSCAN : number

Adapt the image by clipping

aspectRatio (input/output)Description
16:9 input / 4:3 outputNo black bars, picture clipped on left and right sides
4:3 input / 16:9 outputNo black bars, picture clipped top and bottom

Kind: static constant of AbstractAudioVideoOutputService
Default: 0

AR_CONVERSION_LETTERBOX : number

Adapt the image with no change of the initial aspect ration (by adding black bars)

aspectRatio (input/output)Description
16:9 input / 4:3 outputBlack bars at top and bottom, all video visible
4:3 input / 16:9 outputBlack bars on left and right, all video visible

Kind: static constant of AbstractAudioVideoOutputService
Default: 1

AR_CONVERSION_STRETCH : number

Adapt the image by stretching

aspectRatio (input/output)Description
16:9 input / 4:3 outputNo black bars, picture stretched vertically
4:3 input / 16:9 outputNo black bars, picture stretched horizontally

Kind: static constant of AbstractAudioVideoOutputService
Default: 2

AUDIO_MODE_EDID : number

Kind: static constant of AbstractAudioVideoOutputService
Default: 1

AUDIO_MODE_BYPASS : number

Kind: static constant of AbstractAudioVideoOutputService
Default: 2

AUDIO_MODE_DECODED : number

Kind: static constant of AbstractAudioVideoOutputService
Default: 3

AUDIO_MODE_FORCE : number

Kind: static constant of AbstractAudioVideoOutputService
Default: 4

AUDIO_OUTPUT_TYPE_HDMI : number

Kind: static constant of AbstractAudioVideoOutputService
Default: 0b00001

AUDIO_OUTPUT_TYPE_BLUETOOTH : number

Kind: static constant of AbstractAudioVideoOutputService
Default: 0b00010

AUDIO_OUTPUT_TYPE_ANALOG : number

Kind: static constant of AbstractAudioVideoOutputService
Default: 0b00100

AUDIO_OUTPUT_TYPE_SPDIF : number

Kind: static constant of AbstractAudioVideoOutputService
Default: 0b01000

AUDIO_OUTPUT_TYPE_SPEAKER : number

Kind: static constant of AbstractAudioVideoOutputService
Default: 0b10000

AUDIO_OUTPUT_TYPE_NETWORK : number

Kind: static constant of AbstractAudioVideoOutputService
Default: 0b100000

TV_STANDBY_MODE_OFF : number

Kind: static constant of AbstractAudioVideoOutputService
Default: 0

TV_STANDBY_MODE_ON : number

Kind: static constant of AbstractAudioVideoOutputService
Default: 1