萤石云 iOSSDK,移植跨平台相关工程
JLChen
2021-10-28 9461237a7ea37a406143162b97d7e2cf5f402b36
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
//
//  EZPlayerExParamInfo.h
//  EzvizOpenSDK
//
//  Created by linyong on 2018/4/2.
//  Copyright © 2018年 Ezviz. All rights reserved.
//
 
#import <Foundation/Foundation.h>
 
typedef enum
{
    EZPLAYER_STREAM_DEFAULT = 0,//默认
    EZPLAYER_STREAM_MAIN,//主码流
    EZPLAYER_STREAM_SUB,//子码流
    EZPLAYER_STREAM_MAX
}EZPlayerStreamType;
 
typedef enum
{
    EZPLAYER_TRANS_DEFAULT = 0, //默认
    EZPLAYER_TRANS_EZVIZ,//萤石私有流媒体
    EZPLAYER_TRANS_RTMP,//RTMP
    EZPLAYER_TRANS_MAX
}EZPlayerTransportType;
 
@interface EZPlayerExParamInfo : NSObject
 
@property (nonatomic,copy) NSString *vtduIp; ///vtdu服务器ip
@property (nonatomic,assign) NSInteger vtduPort; //vtdu端口号
@property (nonatomic) EZPlayerStreamType streamMode; ///默认为0,主码流为1,子码流为2
@property (nonatomic,assign) EZPlayerTransportType protocolType; ///传输协议,默认为0
 
@end