public class PresetLayoutConfig extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| PresetLayoutConfig() | 
| PresetLayoutConfig(PresetLayoutConfig source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. | 
| Modifier and Type | Method and Description | 
|---|---|
| Long | getImageHeight()Get 该画面在输出时的高度,单位为像素值,不填默认为0。 | 
| Long | getImageWidth()Get 该画面在输出时的宽度,单位为像素值,不填默认为0。 | 
| Long | getLocationX()Get 该画面在输出时的X偏移,单位为像素值,LocationX与ImageWidth之和不能超过混流输出的总宽度,不填默认为0。 | 
| Long | getLocationY()Get 该画面在输出时的Y偏移,单位为像素值,LocationY与ImageHeight之和不能超过混流输出的总高度,不填默认为0。 | 
| Long | getMixInputType()Get 该当前位置用户混入的流类型:0为混入音视频,1为只混入视频,2为只混入音频。默认为0,建议配合指定用户ID使用。 | 
| Long | getPlaceImageId()Get 占位图ID。启用占位图功能时,在当前位置的用户没有上行视频时显示占位图。占位图大小不能超过2M,在实时音视频控制台上传并生成,https://cloud.tencent.com/document/product/647/50769 | 
| Long | getRenderMode()Get 该画面在输出时的显示模式:0为裁剪,1为缩放,2为缩放并显示黑底。不填默认为0。 | 
| Long | getStreamType()Get 当该画面指定用户时,代表用户的流类型。0为摄像头,1为屏幕分享。小画面为web用户时此值填0。 | 
| String | getUserId()Get 指定显示在该画面上的用户ID。如果不指定用户ID,会按照用户加入房间的顺序自动匹配PresetLayoutConfig中的画面设置。 | 
| Long | getZOrder()Get 该画面在输出时的层级,不填默认为0。 | 
| void | setImageHeight(Long ImageHeight)Set 该画面在输出时的高度,单位为像素值,不填默认为0。 | 
| void | setImageWidth(Long ImageWidth)Set 该画面在输出时的宽度,单位为像素值,不填默认为0。 | 
| void | setLocationX(Long LocationX)Set 该画面在输出时的X偏移,单位为像素值,LocationX与ImageWidth之和不能超过混流输出的总宽度,不填默认为0。 | 
| void | setLocationY(Long LocationY)Set 该画面在输出时的Y偏移,单位为像素值,LocationY与ImageHeight之和不能超过混流输出的总高度,不填默认为0。 | 
| void | setMixInputType(Long MixInputType)Set 该当前位置用户混入的流类型:0为混入音视频,1为只混入视频,2为只混入音频。默认为0,建议配合指定用户ID使用。 | 
| void | setPlaceImageId(Long PlaceImageId)Set 占位图ID。启用占位图功能时,在当前位置的用户没有上行视频时显示占位图。占位图大小不能超过2M,在实时音视频控制台上传并生成,https://cloud.tencent.com/document/product/647/50769 | 
| void | setRenderMode(Long RenderMode)Set 该画面在输出时的显示模式:0为裁剪,1为缩放,2为缩放并显示黑底。不填默认为0。 | 
| void | setStreamType(Long StreamType)Set 当该画面指定用户时,代表用户的流类型。0为摄像头,1为屏幕分享。小画面为web用户时此值填0。 | 
| void | setUserId(String UserId)Set 指定显示在该画面上的用户ID。如果不指定用户ID,会按照用户加入房间的顺序自动匹配PresetLayoutConfig中的画面设置。 | 
| void | setZOrder(Long ZOrder)Set 该画面在输出时的层级,不填默认为0。 | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic PresetLayoutConfig()
public PresetLayoutConfig(PresetLayoutConfig source)
public String getUserId()
public void setUserId(String UserId)
UserId - 指定显示在该画面上的用户ID。如果不指定用户ID,会按照用户加入房间的顺序自动匹配PresetLayoutConfig中的画面设置。public Long getStreamType()
public void setStreamType(Long StreamType)
StreamType - 当该画面指定用户时,代表用户的流类型。0为摄像头,1为屏幕分享。小画面为web用户时此值填0。public Long getImageWidth()
public void setImageWidth(Long ImageWidth)
ImageWidth - 该画面在输出时的宽度,单位为像素值,不填默认为0。public Long getImageHeight()
public void setImageHeight(Long ImageHeight)
ImageHeight - 该画面在输出时的高度,单位为像素值,不填默认为0。public Long getLocationX()
public void setLocationX(Long LocationX)
LocationX - 该画面在输出时的X偏移,单位为像素值,LocationX与ImageWidth之和不能超过混流输出的总宽度,不填默认为0。public Long getLocationY()
public void setLocationY(Long LocationY)
LocationY - 该画面在输出时的Y偏移,单位为像素值,LocationY与ImageHeight之和不能超过混流输出的总高度,不填默认为0。public Long getZOrder()
public void setZOrder(Long ZOrder)
ZOrder - 该画面在输出时的层级,不填默认为0。public Long getRenderMode()
public void setRenderMode(Long RenderMode)
RenderMode - 该画面在输出时的显示模式:0为裁剪,1为缩放,2为缩放并显示黑底。不填默认为0。public Long getMixInputType()
public void setMixInputType(Long MixInputType)
MixInputType - 该当前位置用户混入的流类型:0为混入音视频,1为只混入视频,2为只混入音频。默认为0,建议配合指定用户ID使用。public Long getPlaceImageId()
public void setPlaceImageId(Long PlaceImageId)
PlaceImageId - 占位图ID。启用占位图功能时,在当前位置的用户没有上行视频时显示占位图。占位图大小不能超过2M,在实时音视频控制台上传并生成,https://cloud.tencent.com/document/product/647/50769Copyright © 2025. All rights reserved.