3.2.4. SDK 初始化?

NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init];
[dateFormatter setDateFormat:@"yyyy-MM-dd-HHmmss"];
NSString *destDateString = [dateFormatter stringFromDate: [NSDate date] ];
NSString *fileName =[NSString stringWithFormat:@"/%@.log", destDateString];
NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
NSString *docDir = [paths objectAtIndex:0];
fileName = [docDir stringByAppendingPathComponent:fileName];

[[AVDEngine instance] setLogParams:@"info debug" file:fileName];
[[AVDEngine instance] initWithServerUrl:serverURL accessKey:appKey secretKey:secretKey delegate:self];