ZegoAPIPlayStreamParams Class Reference

Inherits from NSObject
Declared in ZegoLiveRoomApiDefines.h

Overview

拉流参数

  streamID

需要播放的用户流 ID

@property (nonatomic, copy) NSString *streamID

Declared In

ZegoLiveRoomApiDefines.h

  view

用来渲染播放视频的视图,设置为空时不显示视频,只播放音频

@property (nonatomic, strong) ZEGOView *view

Declared In

ZegoLiveRoomApiDefines.h

  viewAlphaBlend

开启拉流视图alpha混合图层渲染

@property (nonatomic, assign) BOOL viewAlphaBlend

Declared In

ZegoLiveRoomApiDefines.h

  extraInfo

多媒体流附加信息

@property (nonatomic, strong) ZegoAPIStreamExtraPlayInfo *extraInfo

Declared In

ZegoLiveRoomApiDefines.h

  roomID

关联的房间 ID. 开启 enableMultiRoom 之后有效, 当用户退出该房间时,会停止拉这条流

@property (nonatomic, copy) NSString *roomID

Declared In

ZegoLiveRoomApiDefines.h