You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
77 lines
1.2 KiB
77 lines
1.2 KiB
1 year ago
|
//
|
||
|
// CallViewController.h
|
||
|
// OpenDuo
|
||
|
//
|
||
|
// Created by suleyu on 2017/10/31.
|
||
|
// Copyright © 2017 Agora. All rights reserved.
|
||
|
//
|
||
|
|
||
|
#import <UIKit/UIKit.h>
|
||
|
#import "User.h"
|
||
|
#import "Device.h"
|
||
|
//默认 限制时间前的提示 的倒数时间 30
|
||
|
#define DefineVideoLimitBeforeShowTime 30
|
||
|
|
||
|
/**
|
||
|
视频通话页面
|
||
|
*/
|
||
|
@interface CallViewController : UIViewController
|
||
|
|
||
|
/**
|
||
|
视频的设备对象
|
||
|
*/
|
||
|
@property(nonatomic, strong) Device * device;
|
||
|
|
||
|
|
||
|
/**
|
||
|
APPID
|
||
|
*/
|
||
|
@property(nonatomic, strong) NSString * appid;
|
||
|
|
||
|
/**
|
||
|
声网鉴权 token
|
||
|
*/
|
||
|
@property(nonatomic, strong) NSString * token;
|
||
|
|
||
|
/**
|
||
|
频道ID
|
||
|
*/
|
||
|
@property(nonatomic, strong) NSString * channelID;
|
||
|
|
||
|
/**
|
||
|
此次视频通话的id
|
||
|
*/
|
||
|
@property(nonatomic, strong) NSString * video_id;
|
||
|
|
||
|
/**
|
||
|
uid
|
||
|
*/
|
||
|
@property(nonatomic, assign) NSInteger uid;
|
||
|
|
||
|
/**
|
||
|
device_uid
|
||
|
*/
|
||
|
@property(nonatomic, assign) NSInteger device_uid;
|
||
|
|
||
|
/**
|
||
|
视频码率
|
||
|
*/
|
||
|
@property(nonatomic, assign) CGSize videoSize;
|
||
|
|
||
|
/**
|
||
|
通话限制
|
||
|
*/
|
||
|
@property (assign, nonatomic) int limit_time;
|
||
|
|
||
|
/**
|
||
|
通话等待时间
|
||
|
*/
|
||
|
@property (assign, nonatomic) int wait_time;
|
||
|
|
||
|
/**
|
||
|
是否是对方拨打 默认是 NO
|
||
|
*/
|
||
|
@property (assign, nonatomic) BOOL isReceiveCall;
|
||
|
|
||
|
@end
|