Class AliRtcTranscodingClockWidget
Constructors
constructor
- new AliRtcTranscodingClockWidget(x, y, fontSize): AliRtcTranscodingClockWidget
Parameters
- x: number
- y: number
- fontSize: number
- new AliRtcTranscodingClockWidget(x, y, fontSize, zOrder): AliRtcTranscodingClockWidget
Parameters
- x: number
- y: number
- fontSize: number
- zOrder: number
- new AliRtcTranscodingClockWidget(x, y, fontSize, zOrder, fontColor): AliRtcTranscodingClockWidget
Parameters
- x: number
- y: number
- fontSize: number
- zOrder: number
- fontColor: number
- new AliRtcTranscodingClockWidget(x, y, fontSize, zOrder, fontColor, fontType): AliRtcTranscodingClockWidget
Properties
fontColor
fontColor: number
Methods
toJson
- toJson(videoWidth, videoHeight): {
fontcolor: number;
fontsize: number;
fonttype: AliRtcLiveTranscodingFontType;
x: number;
y: number;
zorder: number;
} Parameters
- videoWidth: number
- videoHeight: number
Returns {
fontcolor: number;
fontsize: number;
fonttype: AliRtcLiveTranscodingFontType;
x: number;
y: number;
zorder: number;
}
fontcolor: number
fontsize: number
x: number
y: number
zorder: number