DWHttpServerProxy Class Reference
Inherits from | NSObject |
---|---|
Declared in | DWHttpServerProxy.h DWHttpServerProxy.m |
Other Methods
timeoutSeconds
设置http请求超时时间,单位秒,默认10秒
@property (assign, nonatomic) NSTimeInterval timeoutSeconds
Discussion
设置http请求超时时间,单位秒,默认10秒
Declared In
DWHttpServerProxy.h
– initWithRequest:
初始化 proxy
- (id)initWithRequest:(NSURLRequest *)request
Parameters
request |
作为proxy的请求头发送 |
---|
Return Value
返回 proxy 实例
Discussion
初始化 proxy
Declared In
DWHttpServerProxy.h
Other Methods
– parseDrmBodyEncryptSectionWithData:
@breif 解析加密字段数据
- (NSData *)parseDrmBodyEncryptSectionWithData:(NSData *)encryptSectionsData
Parameters
encryptSectionsData |
完整的加密数据段。 |
---|
Return Value
对应的解密数据。
Discussion
@breif 解析加密字段数据
通常远程 server 返回<=5个加密的数据段,该函数对这些加密数据段进行解密,并返回解密的数据。
Declared In
DWHttpServerProxy.m
Extension Methods
httpRequestRangeStart
[xxx, xxx],即 [start, end];
@property (assign, nonatomic) UInt64 httpRequestRangeStart
Discussion
[xxx, xxx],即 [start, end];
Declared In
DWHttpServerProxy.m
localDrmFileExtraOffset
PCM 文件相对于 MP4文件,多出的文件偏移量。
@property (assign, nonatomic) off_t localDrmFileExtraOffset
Discussion
PCM 文件相对于 MP4文件,多出的文件偏移量。
Declared In
DWHttpServerProxy.m