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.
61 lines
1.2 KiB
61 lines
1.2 KiB
![]()
2 years ago
|
//
|
||
|
// RootViewController.h
|
||
|
// AnyChatCallCenter
|
||
|
//
|
||
|
// Created by alex on 14-1-27.
|
||
|
// Copyright (c) 2014年 GuangZhou BaiRui NetWork Technology Co.,Ltd. All rights reserved.
|
||
|
//
|
||
|
|
||
|
#import <UIKit/UIKit.h>
|
||
|
#import "AppDelegate.h"
|
||
|
#import <AVFoundation/AVFoundation.h>
|
||
|
#import "UserEntity.h"
|
||
|
#import <AnyChatCoreSDK/AnyChatCoreSDK.h>
|
||
|
#import "MZTimerLabel.h"
|
||
|
#import "ACVideoAlertView.h"
|
||
|
#import "ACBaseViewController.h"
|
||
|
|
||
|
@interface VideoViewController : ACBaseViewController<UIActionSheetDelegate>
|
||
|
/**
|
||
|
用户信息
|
||
|
*/
|
||
|
@property (strong, nonatomic) UserEntity *theUserEntity;
|
||
|
/**
|
||
|
视频规格
|
||
|
*/
|
||
|
@property (strong, nonatomic) DeviceVideoConfigModel *brModel;
|
||
|
/**
|
||
|
视频的设备对象
|
||
|
*/
|
||
|
@property(nonatomic, strong) DeviceModel * device;
|
||
|
/**
|
||
|
此次视频通话的id
|
||
|
*/
|
||
|
@property(nonatomic, strong) NSString * video_id;
|
||
|
/**
|
||
|
是否是对方拨打 默认是 NO
|
||
|
*/
|
||
|
@property (assign, nonatomic) BOOL isReceiveCall;
|
||
|
/**
|
||
|
0: 视频 1:语音
|
||
|
*/
|
||
|
@property (assign, nonatomic) NSInteger callType;
|
||
|
/**
|
||
|
通话时长
|
||
|
*/
|
||
|
@property (nonatomic) int callDuration;
|
||
|
|
||
|
@property (weak, nonatomic) IBOutlet UILabel *theVideoTimeLab;
|
||
|
|
||
|
/**
|
||
|
启动视频通话
|
||
|
*/
|
||
|
-(void) StartVideoChat:(int) userid;
|
||
|
/**
|
||
|
打开远程视频
|
||
|
*/
|
||
|
-(void)openRemoteView;
|
||
|
|
||
|
|
||
|
@end
|