← Back to Support Hub
proStream

Support For Individuals

What we can help with

Get assistance focussed on streaming switchers, UVC, IP and NDI streaming and more. Ask our AI Agent anything to start support session

  • Mini-series devices
  • TAO encoders
  • ASK wireless video

Start a support chat

Tell us your device model and what you need help with, or try a suggested question.

Support Knowledge

Select an article from the menu to view full content here.

API / streamZ/MSP 325N / Layer

Layer Commands: PIP/Signal Source

Applies to

streamZ, MSP 325N

Read PIP mode

SymbolSize (Byte)DefinitionRemarks
CMD10XE1
DAT110X10
DAT210X02
DAT31Data block length (LSB)
DAT41Data block length (MSB)

Send command example : {"language":1}f

Response command example: {"code":0,"deviceUuid":"0122477JPRTA69000001","msg":"成功","language":1,"data":{"pipMode":0}}1

Response Data Block Description

ParameterRequiredTypeDescription
pipMode*intCurrent PIP mode index value of the device
0:PIP_MODE_OFF PIP off
1:PIP_MODE_LEFT_TOP sub-picture top-left
2:PIP_MODE_RIGHT_TOP sub-picture top-right
3:PIP_MODE_LEFT_BOTTOM sub-picture bottom-left
4:PIP_MODE_RIGHT_BOTTOM sub-picture bottom-right
5:PIP_MODE_CENT sub-picture centered
6:PIP_MODE_PBP_R horizontal 1-split-2 AB
7:PIP_MODE_PBP_L horizontal 1-split-2 BA
8:PIP_MODE_LEFT_MID sub-picture centered, left
9:PIP_MODE_RIGHT_MID sub-picture centered, right
10:PIP_MODE_LEFT_RIGHT left-right symmetric
16:PIP_MODE_SIGLE_A A unchanged, B layer off
17:PIP_MODE_SIGLE_B B unchanged, A layer off
18:PIP_MODE_ALL all layers on
19:PIP_MODE_BLANK all layers off

Set PIP Mode

SymbolSize (Byte)DefinitionRemarks
CMD10XE0
DAT110X10
DAT210X02
DAT31Data block length (LSB)
DAT41Data block length (MSB)

Send command example : {"language":1,"pipMode":0}f

Response command example: {"code":0,"deviceUuid":"0122477JPRTA69000001","msg":"成功"}1

Send Data Block Description

ParameterRequiredTypeDescription
pipMode*intCurrent PIP mode index value of the device

Read The Signal Source of A Layer

SymbolSize (Byte)DefinitionRemarks
CMD10XE1
DAT110X10
DAT210X08
DAT31Data block length (LSB)
DAT41Data block length (MSB)

Send command example : {"language":1,"layerIndex":1,"type":0}f

Response command example: {"code":0,"deviceUuid":"0122477JPRTA69000001","msg":"成功","language":1,"data":{"layerIndex":1,"inputPort":1,,"type":0}}1

Send Data Block Description

ParameterRequiredTypeDescription
layerIndexintLayer index
0:pst A
1:pst B
2:Pst background
3:Pst logo
4:Pst overlay
5:Pst txt/osd
6:pgm A
7:pgm B
8:pgm background
typeintSignal source type
0 : Video; inputPort: 0 (HDMI), 1 (uvc1), 2 (phone), 3 (uvc2)
1 : Audio; inputPort: 0 (hdmi), 1 (uvc1), 2 (phone), 3 (line in), 4 (AI mini), 5 (mic), 6 (uvc2)

Response Data Block Description

ParameterRequiredTypeDescription
layerIndexintLayer index
inputPortintSignal source index
typeintSignal source type
0 : Video; inputPort: 0 (HDMI), 1 (uvc1), 2 (phone), 3 (uvc2)
1 : Audio; inputPort: 0 (HDMI), 1 (uvc1), 2 (phone), 3 (line in), 4 (AI mini), 5 (mic), 6 (uvc2)
smallInputPortintSmall picture layer index (Yunbao)
smallInputModeintSmall picture landscape 0, portrait 1 (Yunbao)

Set The Signal Source of A Layer

SymbolSize (Byte)DefinitionRemarks
CMD10XE0
DAT110X10
DAT210X08
DAT31Data block length (LSB)
DAT41Data block length (MSB)

Send command example : {"language":1,"layerIndex":1,"inputPort":1,"type":0}f

Response command example: {"code":0,"deviceUuid":"0122477JPRTA69000001","msg":"成功","language":1}1

Send Data Block Description

ParameterRequiredTypeDescription
layerIndexintLayer index
0:pst A
1:pst B
2:Pst background
3:Pst logo
4:Pst overlay
5:Pst txt/osd
6:pgm A
7:pgm B
8:pgm background
9:pgm logo
10:pgm overlay
11:pgm txt/osd
inputPortintSignal source index
typeintSignal source type
0 : Video;inputPort: 0 (HDMI), 1 (uvc1), 2 (phone), 3 (uvc2)
1 : Audio; inputPort: 0 (hdmi), 1 (uvc1), 2 (phone), 3 (line in), 4 (AI mini), 5 (mic), 6 (uvc2)
smallInputPorintSmall picture layer index (Yunbao)
smallInputModeintSmall picture landscape 0, portrait 1 (Yunbao)