JLChen
2020-06-12 76c09636c435c8e4b613ee73bf13ec64f0932bc6
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
//
//  ESVideoSDK.m
//  ESVideoPhoneSDKDemo
//
//  Created by 陈嘉乐 on 2020/6/11.
//  Copyright © 2020 eTouchSky. All rights reserved.
//
 
#import "ESVideoSDK.h"
#import "GDHDLUtlis.h"
 
@interface ESVideoSDK()
 
@property (nonatomic,strong) ESVideoPhone          *es;
 
 
@end
 
@implementation ESVideoSDK
 
static ESVideoSDK* _instance = nil;
 
 
 
+(instancetype) shareInstance
{
    static dispatch_once_t onceToken ;
    dispatch_once(&onceToken, ^{
        _instance = [[super allocWithZone:NULL] init] ;
        
    }) ;
     
    return _instance ;
}
 
-(void)initSDK
{
//      _es = [[ESVideoPhone alloc]initESVideoPhoneWithFrame:CGRectMake(0, 57, APP_SCREEN_WIDTH, 211) delegate:d imagecallBack:snapImageCallback];
}
 
@end