Class 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,支持 SurfaceViewSurface
      ZegoStreamExtraPlayInfo extraInfo
      拉流附加信息,各个值的含义请参考 ZegoStreamExtraPlayInfo
      java.lang.String roomID
      房间 ID,退出该房间时,会停止拉这条流
      java.lang.String streamID
      流 ID
      boolean viewAlphaBlend
      开启拉流视图alpha混合图层渲染
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • streamID

        public java.lang.String streamID
        流 ID
      • displayView

        public java.lang.Object displayView
        用于渲染视频的view,设置为空时不显示视频,只播放音频。推荐使用 TextureView,支持 SurfaceViewSurface
      • viewAlphaBlend

        public boolean viewAlphaBlend
        开启拉流视图alpha混合图层渲染
      • roomID

        public java.lang.String roomID
        房间 ID,退出该房间时,会停止拉这条流
    • Constructor Detail

      • ZegoPlayStreamParams

        public ZegoPlayStreamParams()