cn.tee3.avd_SDK-Objectc  2.1.0
AVDLiveInfo.h
浏览该文件的文档.
1 //
2 // AVDLiveInfo.h
3 // avd_sdk
4 //
5 // Created by skin on 15-9-19.
6 // Copyright (c) 2015年 t3ee. All rights reserved.
7 //
8 
9 #import "AVDCommon.h"
10 #import "AVDRecordInfo.h"
11 
19 };
20 
26 @interface AVDLiveInfo : NSObject
27 
28 @property(nonatomic, strong, readonly) AVDLiveId id;
29 @property(nonatomic, strong) NSString* name;
30 @property(nonatomic, strong) NSString* adescription;
31 @property(nonatomic, strong) NSString* tags;
32 @property(nonatomic, strong) NSString* userId;
33 @property(nonatomic, strong) NSString* roomId;
34 @property(nonatomic, strong, readonly) NSString* publishurl;
35 @property(nonatomic, strong, readonly) NSString* rtmpurl;
36 @property(nonatomic, strong, readonly) NSString* hlsurl;
37 @property(nonatomic, strong, readonly) NSString* createTime;
38 @property(nonatomic, assign) enum AVDRecordAudioType audioType;
39 @property(nonatomic, assign) enum AVDRecordVideoType videoType;
40 @property(nonatomic, assign, readonly) NSInteger size;
41 @property(nonatomic, assign, readonly) NSInteger duration;
42 @property(nonatomic, assign, readonly) enum AVDLiveStatus status;
46 - (BOOL) isValid;
47 
48 @end
NSString * adescription
直播描述
Definition: AVDLiveInfo.h:30
NSString * tags
直播标记
Definition: AVDLiveInfo.h:31
正在直播
Definition: AVDLiveInfo.h:15
AVDRecordVideoType
录制视频类型定义
Definition: AVDRecordInfo.h:18
创建直播
Definition: AVDLiveInfo.h:14
enum AVDLiveStatus status
直播状态
Definition: AVDLiveInfo.h:42
NSInteger duration
直播从创建到现在的时长
Definition: AVDLiveInfo.h:41
enum AVDRecordAudioType audioType
音频类型
Definition: AVDLiveInfo.h:38
直播暂停
Definition: AVDLiveInfo.h:16
NSString * createTime
直播创建起始时间
Definition: AVDLiveInfo.h:37
enum AVDRecordVideoType videoType
视频类型
Definition: AVDLiveInfo.h:39
AVDRecordAudioType
录制音频类型定义
Definition: AVDRecordInfo.h:12
NSString * name
直播的名称
Definition: AVDLiveInfo.h:29
直播异常
Definition: AVDLiveInfo.h:18
NSString * roomId
频道关联房间号
Definition: AVDLiveInfo.h:33
直播数据结构.
Definition: AVDLiveInfo.h:26
直播被删除
Definition: AVDLiveInfo.h:17
NSString * AVDLiveId
Definition: AVDCommon.h:19
NSString * userId
用户号,可不存在,存在时与audioType,videoType一起使用;直播此用户的相关音频和视频数据 ...
Definition: AVDLiveInfo.h:32
NSString * hlsurl
播放hls链接
Definition: AVDLiveInfo.h:36
NSString * rtmpurl
播放rtmp链接
Definition: AVDLiveInfo.h:35
NSInteger size
直播文件大小
Definition: AVDLiveInfo.h:40
AVDLiveStatus
直播状态定义
Definition: AVDLiveInfo.h:13
NSString * publishurl
推流地址,创建时可带上,若存在,服务器优先推送此地址
Definition: AVDLiveInfo.h:34
BOOL isValid()
判断对象是否有效