Package com.zego.zegoliveroom.entity
Class ZegoPlayStreamParams
- java.lang.Object
-
- com.zego.zegoliveroom.entity.ZegoPlayStreamParams
-
public class ZegoPlayStreamParams extends java.lang.Object
拉流的参数信息。Copyright © 2021 Zego. All rights reserved.
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.Object
displayView
用于渲染视频的view,设置为空时不显示视频,只播放音频。推荐使用TextureView
,支持SurfaceView
或Surface
ZegoStreamExtraPlayInfo
extraInfo
拉流附加信息,各个值的含义请参考ZegoStreamExtraPlayInfo
java.lang.String
roomID
房间 ID,退出该房间时,会停止拉这条流java.lang.String
streamID
流 IDboolean
viewAlphaBlend
开启拉流视图alpha混合图层渲染
-
Constructor Summary
Constructors Constructor Description ZegoPlayStreamParams()
-
-
-
Field Detail
-
streamID
public java.lang.String streamID
流 ID
-
displayView
public java.lang.Object displayView
用于渲染视频的view,设置为空时不显示视频,只播放音频。推荐使用TextureView
,支持SurfaceView
或Surface
-
viewAlphaBlend
public boolean viewAlphaBlend
开启拉流视图alpha混合图层渲染
-
extraInfo
public ZegoStreamExtraPlayInfo extraInfo
拉流附加信息,各个值的含义请参考ZegoStreamExtraPlayInfo
-
roomID
public java.lang.String roomID
房间 ID,退出该房间时,会停止拉这条流
-
-