NERoomLiveInfo

@objcMembers
public class NERoomLiveInfo : NSObject, Codable

直播信息

  • 直播任务编号

    Declaration

    Swift

    public var taskId: String?
  • 推流地址

    Declaration

    Swift

    public var pushUrl: String?
  • 直播聊天室房间号

    Declaration

    Swift

    public var chatRoomId: String?
  • HTTP 拉流地址

    Declaration

    Swift

    public var pullHttpUrl: String?
  • RTMP 拉流地址

    Declaration

    Swift

    public var pullRtmpUrl: String?
  • HLS 拉流地址

    Declaration

    Swift

    public var pullHlsUrl: String?
  • RTS 拉流地址

    Declaration

    Swift

    public var pullRtsUrl: String?
  • 直播标题

    Declaration

    Swift

    public var title: String?
  • 直播密码

    Declaration

    Swift

    public var password: String?
  • 直播布局

    • 0: 无布局
    • 1: 画廊布局
    • 2: 聚焦布局
    • 4: 屏幕共享布局

    Declaration

    Swift

    public var liveLayout: NERoomLiveLayout
  • 用户ID 数组

    Declaration

    Swift

    public var userUuidList: [String]?
  • 扩展使用字段

    Declaration

    Swift

    public var extensionConfig: String?
  • 直播状态

    • init: 直播未开始
    • started: 直播已开始
    • ended: 直播已结束

    Declaration

    Swift

    public var state: NERoomLiveState
  • Declaration

    Swift

    required public init(from decoder: Decoder) throws
  • Declaration

    Swift

    public func encode(to encoder: Encoder) throws