stbDvbTuner

stbDvbTuner

Since:
  • v343
Tutorials:

Main object to manage DVB-C/T/T2 subsystem.

Not accessible in global scope.
Can't be manually created but can be received from other STB global objects.

Members

(static, readonly) STATE_BROKEN :number

See:
Type:
  • number

(static, readonly) STATE_IDLE :number

See:
Type:
  • number

(static, readonly) STATE_TUNE_IN_PROGRESS :number

See:
Type:
  • number

(static, readonly) STATE_SCAN_IN_PROGRESS :number

See:
Type:
  • number

(static, readonly) state :stbDvbTuner~stateType

Current state of this tuner.

Type:

(static, readonly) inputIndex :number

Current input number of this tuner.

Type:
  • number

(static, readonly) signalLevel :number

Signal level [0..100].

Type:
  • number

(static, readonly) signalQuality :number

Signal quality [0..100].

Type:
  • number

(static, readonly) bitErrorRate :number

Get Bit Error Rate.

(Bit Error Rate) * 10^7

Type:
  • number

(static, readonly) tuneConfig :Object

See:

Tune settings.

Type:
  • Object

(static) playersCount :number

Get players count which used this tuner.

Type:
  • number

Methods

(static) tune(config) → {boolean}

Tune receiver to specified frequency.

Parameters:
Name Type Description
config Object

tune configuration object

Properties
Name Type Attributes Description
frequency number

channel frequency (in kHz)

polarization string <optional>

optional satellite signal polarization ("V" - vertical, "H" - horizontal, "CL" - circular left, "CR" - circular right ) to tune to (only for DVB-S/DVB-S2)

symbolRate number <optional>

satellite/cable signal symbol rate (symbols per second) (only for DVB-C and DVB-S/DVB-S2)

Returns:

operation status

Type
boolean

(static) untune() → {boolean}

Untune receiver from frequency.

Returns:

operation status

Type
boolean

(static) moveToInput(input) → {boolean}

Link this tuner to the given input.

Parameters:
Name Type Description
input number | stbDvbInput

target object to link

Returns:

operation status

Type
boolean

Type Definitions

stateType

See:

Input state.

Type:
  • number

loader

Properties:
Name Type Description
time string

creation time

playerIndex number

none or player index if this loader used by player

channel Object

channel info

Loader info.

Type:
  • Object

loader

Get array of all current loaders.

Type:
  • Object