← 返回支持中心
proAV

系统集成与商业项目支持

查看支持范围

如问题涉及处理器控制、视频路由、安装设计、集成问题或 proAV 设备 OpenAPI,请从这里开始。

  • 商业安装、处理器、切换器、定标器和分发系统
  • proAV 设备 OpenAPI 控制问题
  • 已落地项目中的系统集成、部署和故障排查

开始支持对话

告诉我们您的设备型号和问题,或选择一个示例问题。

支持知识

从左侧目录选择文章后,在此查看完整内容。

API / streamZ/MSP 325N / Streaming

Streaming Commands: Resulution/bitrate/orientation/streaming address/control

Applies to

streamZ, MSP 325N

1. Read the streaming resolution, currently selected resolution, supported streaming bitrates, currently selected bitrate, and currently selected orientation status

SymbolSize (Byte)DefinitionRemarks
CMD10XE1
DAT110X01
DAT210X00
DAT31Data block length (LSB)
DAT41Data block length (MSB)

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

Response command example: {"code":0,"data":{"bit":["Low(2Mbps)","Middle(4Mbps)","High(6Mbps)","Best(8Mbps)","Best(16Mbps)"],"bitrate_Select":2,"display":["Vertical Mode","Landscape Mode"],"display_mode_Select":0,"res":["1920x1080p30","1920x1080p60","1280x720p30","1280x720p60"],"res_Select":0,"language":0},"deviceUuid":"0122477JPRTA69000001","msg":"成功"}0

Response Data Block Description

ParameterRequiredTypeDescription
bit*String[]Bitrate
bitrate_Select*intBitrate selected index, starting from 0
display*String[]Orientation
display_mode_Select*intOrientation selected index, starting from 0
res*String[]Resolution
res_Select*intResolution selected index, starting from 0

2. Write the streaming resolution, bitrate, and orientation settings

SymbolSize (Byte)DefinitionRemarks
CMD10XE0
DAT110X01
DAT210X00
DAT31Data block length (LSB)
DAT41Data block length (MSB)

Send command example : {"bitrate_Select":3,"res_Select":1,"language":1,"display_mode_Select":1}a

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

Send Data Block Description

ParameterRequiredTypeDescription
bit*String[]Bitrate
bitrate_Select*intBitrate selected index, starting from 0
display*String[]Orientation
display_mode_Select*intOrientation selected index, starting from 0
res*String[]Resolution
res_Select*intResolution selected index, starting from 0

3. Read the selected streaming address and the streaming list

SymbolSize (Byte)DefinitionRemarks
CMD10XE1
DAT110X01
DAT210X01
DAT31Data block length (LSB)
DAT41Data block length (MSB)

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

Response command example: {"code":0,"data":{"deviceData":[],"historyData":[{"defaultTaoRtmp":true,"language":0,"status":0,"url":"rtmp://push.tao1.info/live/TAOMINI66EE665312F29?txSecret\u003dbb7de8975e8f7db8a35a1f6475c0142a\u0026txTime\u003d66EFB7D3"}],"isBle":false,"pushStatus":false,"pushFileStatus":false,"language":0},"deviceUuid":"0122477JPRTA69000001","msg":"成功"}5

Response Data Block Description

ParameterRequiredTypeDescription
deviceData*ListDevice identification (delete works together with isBle)
historyData*ListSaves the history of whether push streaming is selected (can be deleted in any case)()
isBle*BooleanWhether the device identification is Bluetooth. true: Bluetooth (device identification can be deleted), false: USB flash drive (device identification cannot be deleted)
pushStatus*Booleantrue: start streaming, false: stop streaming
pushFileStatu*BooleanPlayback file live status: true: live, false: not live
pushFileType*intPlayback file live type: 0 content live streaming, 1: slow live streaming
timeDuration*longStreaming duration (in seconds)

RtmpPreBean

ParameterRequiredTypeDescription
url*StringStreaming address
playFlv*StringPull stream address flv
playM3u8*StringPull stream address m3u8
status*int0: saved, 1: not saved
defaultTaoRtmp*booleantrue: the default address cannot be deleted or modified, false: it can be deleted or modified
enableboolWhether it is turned on
descstringStreaming address description

4. Start (stop) streaming

SymbolSize (Byte)DefinitionRemarks
CMD10XE0
DAT110X01
DAT210X05
DAT31Data block length (LSB)
DAT41Data block length (MSB)

Send command example : {"ispush":true,"path":"xxxx.mp4","type":0, "mode":0,"language":1}1

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

Send Data Block Description

ParameterRequiredTypeDescription
ispush*booleantrue: start streaming, false: stop streaming
pathstringLive streaming file name
typeintStreaming type: 0 local capture, 1 digital human file, 2 digital human list, 3 full digital human list, 4 slow live streaming
modeintPlayback mode: 0 single playback, 1 loop playback