萤石云 iOSSDK,移植跨平台相关工程
JLChen
2021-02-03 4715e99a9be1c50d8ec31f594af9ebde18647c94
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
////
////  EZPlayDemoViewController.m
////  EZOpenSDKDemo
////
////  Created by DeJohn Dong on 16/3/30.
////  Copyright © 2016年 Ezviz. All rights reserved.
////
//
//#import "EZPlayDemoViewController.h"
//
////#import "EZPlayer.h"
//
//
//@interface EZPlayDemoViewController () {
////    EZPlayer *_player1;
////    EZPlayer *_player2;
////    EZPlayer *_player3;
////    EZPlayer *_player4;
//}
//
//@property (nonatomic, weak) IBOutlet UIView *playerView1;
//@property (nonatomic, weak) IBOutlet UIView *playerView2;
//@property (nonatomic, weak) IBOutlet UIView *playerView3;
//@property (nonatomic, weak) IBOutlet UIView *playerView4;
//
//
//@end
//
//@implementation EZPlayDemoViewController
//
//- (void)dealloc
//{
////    [EZOPENSDK releasePlayer:_player1];
////    [EZOPENSDK releasePlayer:_player2];
////    [EZOPENSDK releasePlayer:_player3];
////    [EZOPENSDK releasePlayer:_player4];
//}
//
//- (void)viewDidLoad {
//    [super viewDidLoad];
//    // Do any additional setup after loading the view.
////    if (!_player1)
////    {
////        _player1 = [EZOPENSDK createPlayerWithCameraId:_cameraList[0]];
////    }
////    [_player1 setPlayerView:_playerView1];
////    _player1.delegate = self;
////    [_player1 startRealPlay];
////    
////    if (!_player2)
////    {
////        _player2 = [EZOPENSDK createPlayerWithCameraId:_cameraList[1]];
////    }
////    [_player2 setPlayerView:_playerView2];
////    _player2.delegate = self;
////    [_player2 startRealPlay];
////    
////    if (!_player3)
////    {
////        _player3 = [EZOPENSDK createPlayerWithCameraId:_cameraList[2]];
////    }
////    [_player3 setPlayerView:_playerView3];
////    _player3.delegate = self;
////    [_player3 startRealPlay];
//    
////    if (!_player4)
////    {
////        _player4 = [EZOPENSDK createPlayerWithCameraId:_cameraList[3]];
////    }
////    [_player4 setPlayerView:_playerView4];
////    _player4.delegate = self;
////    [_player4 startRealPlay];
//}
//
//- (void)didReceiveMemoryWarning {
//    [super didReceiveMemoryWarning];
//    // Dispose of any resources that can be recreated.
//}
//
///*
//#pragma mark - Navigation
//
//// In a storyboard-based application, you will often want to do a little preparation before navigation
//- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
//    // Get the new view controller using [segue destinationViewController].
//    // Pass the selected object to the new view controller.
//}
//*/
//
//#pragma mark - PlayerDelegate Methods
//
////- (void)player:(EZPlayer *)player didPlayFailed:(NSError *)error
////{
////    NSLog(@"player = %@, error = %@",player, error);
////}
////
////- (void)player:(EZPlayer *)player didReceivedMessage:(NSInteger)messageCode
////{
////    NSLog(@"player = %@, messageCode = %d", player, (int)messageCode);
////}
//
//#pragma mark - Action Methods
//
//- (IBAction)tapTouch:(id)sender
//{
//    
//}
//
//@end