Class NERoomLiveStreamLayout
-
- All Implemented Interfaces:
public final class NERoomLiveStreamLayout
-
-
Field Summary
Fields Modifier and Type Field Description private Integerwidthprivate Integerheightprivate IntegerbackgroundColorprivate NERoomLiveStreamImageInfobackgroundImgprivate ArrayList<NERoomLiveStreamUserTranscoding>userTranscodingList
-
Constructor Summary
Constructors Constructor Description NERoomLiveStreamLayout()
-
Method Summary
Modifier and Type Method Description final IntegergetWidth()整体画布的宽度单位为 px。取值范围为 0~1920,若设置为奇数值,会自动向下取偶 final UnitsetWidth(Integer width)整体画布的宽度单位为 px。取值范围为 0~1920,若设置为奇数值,会自动向下取偶 final IntegergetHeight()整体画布的高度单位为 px。取值范围为 0~1920,若设置为奇数值,会自动向下取偶。 final UnitsetHeight(Integer height)整体画布的高度单位为 px。取值范围为 0~1920,若设置为奇数值,会自动向下取偶。 final IntegergetBackgroundColor()画面背景颜色格式为 256 ✖ 256 ✖ R + 256 ✖ G + B的和。请将对应 RGB 的值分别带入此公式计算即可。若未设置,则默认为0。 final UnitsetBackgroundColor(Integer backgroundColor)画面背景颜色格式为 256 ✖ 256 ✖ R + 256 ✖ G + B的和。请将对应 RGB 的值分别带入此公式计算即可。若未设置,则默认为0。 final NERoomLiveStreamImageInfogetBackgroundImg()占位图片 final UnitsetBackgroundImg(NERoomLiveStreamImageInfo backgroundImg)占位图片 final ArrayList<NERoomLiveStreamUserTranscoding>getUserTranscodingList()成员布局数组 final UnitsetUserTranscodingList(ArrayList<NERoomLiveStreamUserTranscoding> userTranscodingList)成员布局数组 -
-
Method Detail
-
getBackgroundColor
final Integer getBackgroundColor()
画面背景颜色格式为 256 ✖ 256 ✖ R + 256 ✖ G + B的和。请将对应 RGB 的值分别带入此公式计算即可。若未设置,则默认为0。
-
setBackgroundColor
final Unit setBackgroundColor(Integer backgroundColor)
画面背景颜色格式为 256 ✖ 256 ✖ R + 256 ✖ G + B的和。请将对应 RGB 的值分别带入此公式计算即可。若未设置,则默认为0。
-
getBackgroundImg
final NERoomLiveStreamImageInfo getBackgroundImg()
占位图片
-
setBackgroundImg
final Unit setBackgroundImg(NERoomLiveStreamImageInfo backgroundImg)
占位图片
-
getUserTranscodingList
final ArrayList<NERoomLiveStreamUserTranscoding> getUserTranscodingList()
成员布局数组
-
setUserTranscodingList
final Unit setUserTranscodingList(ArrayList<NERoomLiveStreamUserTranscoding> userTranscodingList)
成员布局数组
-
-
-
-