AVDLiveInfo Class Reference

Inherits from NSObject
Declared in AVDLiveInfo.h
AVDLiveInfo.mm

Overview

  • 直播数据结构.

*

  • 直播数据定义了一个直播的基本信息。

  name

< 直播ID

@property (nonatomic, strong) NSString *name

Discussion

< 直播ID

Declared In

AVDLiveInfo.h

  adescription

< 直播的名称

@property (nonatomic, strong) NSString *adescription

Discussion

< 直播的名称

Declared In

AVDLiveInfo.h

  tags

< 直播描述

@property (nonatomic, strong) NSString *tags

Discussion

< 直播描述

Declared In

AVDLiveInfo.h

  userId

< 直播标记

@property (nonatomic, strong) NSString *userId

Discussion

< 直播标记

Declared In

AVDLiveInfo.h

  roomId

< 用户号,可不存在,存在时与audioType,videoType一起使用;直播此用户的相关音频和视频数据

@property (nonatomic, strong) NSString *roomId

Discussion

< 用户号,可不存在,存在时与audioType,videoType一起使用;直播此用户的相关音频和视频数据

Declared In

AVDLiveInfo.h

  publishurl

< 频道关联房间号

@property (nonatomic, strong, readonly) NSString *publishurl

Discussion

< 频道关联房间号

Declared In

AVDLiveInfo.h

  rtmpurl

< 推流地址,创建时可带上,若存在,服务器优先推送此地址

@property (nonatomic, strong, readonly) NSString *rtmpurl

Discussion

< 推流地址,创建时可带上,若存在,服务器优先推送此地址

Declared In

AVDLiveInfo.h

  hlsurl

< 播放rtmp链接

@property (nonatomic, strong, readonly) NSString *hlsurl

Discussion

< 播放rtmp链接

Declared In

AVDLiveInfo.h

  createTime

< 播放hls链接

@property (nonatomic, strong, readonly) NSString *createTime

Discussion

< 播放hls链接

Declared In

AVDLiveInfo.h

  audioType

< 直播创建起始时间

@property (nonatomic, assign) enum AVDRecordAudioType audioType

Discussion

< 直播创建起始时间

Declared In

AVDLiveInfo.h

  videoType

< 音频类型

@property (nonatomic, assign) enum AVDRecordVideoType videoType

Discussion

< 音频类型

Declared In

AVDLiveInfo.h

  size

< 视频类型

@property (nonatomic, assign, readonly) NSInteger size

Discussion

< 视频类型

Declared In

AVDLiveInfo.h

  duration

< 直播文件大小

@property (nonatomic, assign, readonly) NSInteger duration

Discussion

< 直播文件大小

Declared In

AVDLiveInfo.h

  status

< 直播从创建到现在的时长

@property (nonatomic, assign, readonly) enum AVDLiveStatus status

Discussion

< 直播从创建到现在的时长

Declared In

AVDLiveInfo.h

– isValid

  • 判断对象是否有效
- (BOOL)isValid

Discussion

  • 判断对象是否有效

Declared In

AVDLiveInfo.h