AliVCSDK  4.5.1
阿里云音视频SDK,为视频开发者提供一站式接入服务
com.alivc.live.pusher.AlivcLiveMixStream Class Reference

The position info of each sub stream when mixing stream on the cloud. More...

Public Member Functions

String getUserId ()
 
void setUserId (String userId)
 
int getX ()
 
void setX (int x)
 
int getY ()
 
void setY (int y)
 
int getWidth ()
 
void setWidth (int width)
 
int getHeight ()
 
void setHeight (int height)
 
int getZOrder ()
 
void setZOrder (int zOrder)
 
String toString ()
 

Detailed Description

The position info of each sub stream when mixing stream on the cloud.

Author
aliyun live push sdk
Note
Refer to the Push Demo for common layout formats
See also
com.alivc.live.pusher.AlivcLiveTranscodingConfig
com.alivc.live.pusher.AlivcLivePusher::setLiveMixTranscodingConfig(AlivcLiveTranscodingConfig)

Definition at line 12 of file AlivcLiveMixStream.java.

Member Function Documentation

int com.alivc.live.pusher.AlivcLiveMixStream.getHeight ( )

Get the height of the layer

Returns
the height of the layer
Note
pixel value

Definition at line 112 of file AlivcLiveMixStream.java.

String com.alivc.live.pusher.AlivcLiveMixStream.getUserId ( )

Get the user id from mix sub stream

Returns
user id
Note
Same as the 'userId' in the push/pull url

Definition at line 32 of file AlivcLiveMixStream.java.

int com.alivc.live.pusher.AlivcLiveMixStream.getWidth ( )

Get the width of the layer

Returns
the width of the layer
Note
pixel value

Definition at line 92 of file AlivcLiveMixStream.java.

int com.alivc.live.pusher.AlivcLiveMixStream.getX ( )

Get the X coordinate from the layer position

Returns
the X coordinate of the layer position
Note
pixel value

Definition at line 52 of file AlivcLiveMixStream.java.

int com.alivc.live.pusher.AlivcLiveMixStream.getY ( )

Get the Y coordinate from the layer position

Returns
the Y coordinate from the layer position
Note
pixel value

Definition at line 72 of file AlivcLiveMixStream.java.

int com.alivc.live.pusher.AlivcLiveMixStream.getZOrder ( )

Get the zOrder of the layer

Returns
the zOrder of the layer
Note
(1 - 15), can not be the same

Definition at line 132 of file AlivcLiveMixStream.java.

void com.alivc.live.pusher.AlivcLiveMixStream.setHeight ( int  height)

Set the height of the layer

Parameters
heightthe height of the layer
Note
pixel value

Definition at line 122 of file AlivcLiveMixStream.java.

void com.alivc.live.pusher.AlivcLiveMixStream.setUserId ( String  userId)

Set the user id of mix sub stream

Parameters
userIduser id
Note
Same as the 'userId' in the push/pull url

Definition at line 42 of file AlivcLiveMixStream.java.

void com.alivc.live.pusher.AlivcLiveMixStream.setWidth ( int  width)

Set the width of the layer

Parameters
widththe width of the layer
Note
pixel value

Definition at line 102 of file AlivcLiveMixStream.java.

void com.alivc.live.pusher.AlivcLiveMixStream.setX ( int  x)

Set the X coordinate of the layer position

Parameters
xthe X coordinate of the layer position
Note
pixel value

Definition at line 62 of file AlivcLiveMixStream.java.

void com.alivc.live.pusher.AlivcLiveMixStream.setY ( int  y)

Set the Y coordinate of the layer position

Parameters
ythe Y coordinate of the layer position
Note
pixel value

Definition at line 82 of file AlivcLiveMixStream.java.

void com.alivc.live.pusher.AlivcLiveMixStream.setZOrder ( int  zOrder)

Set the zOrder of the layer

Parameters
zOrderthe zOrder of the layer
Note
(1 - 15), can not be the same

Definition at line 142 of file AlivcLiveMixStream.java.