Rate This Document
Findability
Accuracy
Completeness
Readability

Property Description

Table 1 shows the system properties of non-commercial modules of the video stream engine, such as the video and audio modules. You can change property settings to configure the default running parameters of these modules.

Table 1 Property fields

Field Name

Description

Value Range

Default Value

vmi.video.encodertype

Encoder type. When this item is set to CPU, that is, when software encoding is used, if the cloud phones need to run heavy-load applications, you are advised to change the core binding mode to NUMA to prevent insufficient CPU resources in the default core binding mode (two containers, two cores). The modification method is as follows:

Change the value of CPU_BIND_MODE in the cfct_config file to 1.

  • 0: CPU (software encoding via CPU)
  • 1: VPU (hardware encoding via external hardware)
  • 2: GPU (available only when DC1000 is used)

1

vmi.video.videoframetype

Frame data output format.

  • 0: H.264
  • 1: YUV (available only if encodertype is set to 0)
  • 2: RGB (not supported currently)
  • 3: H.265 (unavailable if vmi.video.encodertype is set to 0)

3

vmi.video.frame.width

Width of the adaptive resolution. The value must be a multiple of 8.

360 to 2160

720

vmi.video.frame.height

Height of the adaptive resolution. The value must be a multiple of 8.

360 to 3840

1280

vmi.video.frame.widthaligned

Aligned width of the resolution (not configurable currently).

360 to 2160

720

vmi.video.frame.heightaligned

Aligned height of the resolution (not configurable currently).

360 to 3840

1280

vmi.video.frame.density

Pixel density of the adaptive resolution.

120 to 960

320

ro.vmi.video.wmcmd

Adaptive resolution option.

  • 0: disabled
  • 1: enabled

1

vmi.video.encode.gopsize

Encoding GOP size.

30 to 3000

60

vmi.video.encode.profile

Encoding profile. (Only main can be used for H.265 encoding.)

  • 0: baseline (supported only in H.264 encoding)
  • 1: main
  • 2: high (supported only in H.264 encoding)

1

vmi.video.encode.bitrate

Encoding bit rate.

  • 500,000 to 50,000,000 (AMD, usually W6800)
  • 500,000 to 30,000,000 (DC1000)

Unit: bit/s

8000000

vmi.video.encode.forcekeyframe

Forced I-frame encoding.

  • 0: Disable forced I-frame encoding.
  • 1: Forcibly generate an I-frame as the next frame.

0

vmi.video.encode.rcmode

Encoding mode.

  • 0: average bit rate (ABR) (not supported currently)
  • 1: constant rate factor (CRF) (not supported currently)
  • 2: constant bit rate (CBR)
  • 3: capped CRF

3

vmi.video.encode.crf

CRF bit rate control level.

0 to 51

21

vmi.video.encode.maxcrfrate

Maximum CRF bit rate.

  • 500,000 to 100,000,000 (AMD, usually W6800)
  • 500,000 to 30,000,000 (DC1000)

10000000

vmi.video.encode.vbvbuffersize

Size of the CRF bit rate buffer.

  • -1: auto mode.
  • 0: Disable the maximum bit rate restriction.
  • [min_vbv_size, 3000].

    min_vbv_size = floor(1000/fps) + 1 and min_vbv_size ≥ 10

1000

vmi.video.encode.interpolation

Frame interpolation.

  • 0: disabled
  • 1: enabled

0

vmi.audio.audiotype

Audio output format.

  • 0: OPUS
  • 1: PCM

0

vmi.audio.encode.sampleinterval

Audio output sampling interval.

  • 5: 5 ms (not supported currently)
  • 10: 10 ms
  • 20: 20 ms (not supported currently)

10

vmi.audio.encode.bitrate

Audio OPUS encoding bit rate (bit/s).

13,200 to 512,000

192000

vmi.mic.audiotype

Microphone input format.

  • 0: OPUS
  • 1: PCM

0

vmi.network.type

Network type.

  • 1: TCP
  • 4: WebRTC

1

demo.data.offset

Size of the reserved field for testing network packets.

0 to 1024

20

vmi.video.renderoptimize

Stream output optimization.

  • 0: disabled
  • 1: enabled

1

ro.vmi.audio.mic.passthrough

Server-side audio and microphone passthrough.

  • 0: disabled
  • 1: enabled

1

ro.vmi.gps.passthrough

Server-side GPS passthrough.

  • 0: disabled
  • 1: enabled

1

ro.vmi.sensor.passthrough

Server-side sensor passthrough.

  • 0: disabled
  • 1: enabled

1

ro.hardware.vsyncoffset

Offset of the vsync signal of the container compared against the default value, in ns.

  • 0

0

ro.sys.vmi.cloudphone

Cloud phone type.

  • video: video stream cloud phone

video

heartbeat.max.aveage.latency

Maximum average heartbeat latency.

  • 1: 1s

1

vmi.sys.network.latency.average

Average maximum network latency.

Specific average maximum latency

-1

ro.vmi.loglevel

Log level.

  • 1: default
  • 2: verbose
  • 3: debug
  • 4: info
  • 5: warn
  • 6: error
  • 7: fatal

4