Commit 4bea1af6 authored by 朱璇's avatar 朱璇

Merge branch 'zx/faceTest' into 'master'

Zx/face test

See merge request !5
parents cc58ea4f 96a10fa7
...@@ -115,7 +115,7 @@ static GMDoctorVideoTelephoneLogin *loginManager = nil; ...@@ -115,7 +115,7 @@ static GMDoctorVideoTelephoneLogin *loginManager = nil;
#pragma mark - 初始化直播间 #pragma mark - 初始化直播间
- (void)doctorLoginVideoRoomModel:(GMVideoTelephoneModel *)model { - (void)doctorLoginVideoRoomModel:(GMVideoTelephoneModel *)model {
_uid = (NSInteger)[[GMRouter sharedInstance] pushScheme:@"gengmei://gm_userId"];; _uid = [[[GMRouter sharedInstance] pushScheme:@"gengmei://gm_userId"] longLongValue];
_channelId = model.channelId; _channelId = model.channelId;
_pushURL = model.streamUrl; _pushURL = model.streamUrl;
_neteaseModel = model.neteaseIm; _neteaseModel = model.neteaseIm;
...@@ -162,7 +162,7 @@ static GMDoctorVideoTelephoneLogin *loginManager = nil; ...@@ -162,7 +162,7 @@ static GMDoctorVideoTelephoneLogin *loginManager = nil;
_telephoneView.model = model; _telephoneView.model = model;
_telephoneView.delegate = self; _telephoneView.delegate = self;
[[UIApplication sharedApplication].keyWindow addSubview:_telephoneView]; [[UIApplication sharedApplication].keyWindow addSubview:_telephoneView];
[GMVideoPhobos consultation_traceWithActionStep:@"Consultation.One2One.EvokeRecordPageSuceess" status:@"success" extraParam:@{@"consultation_record_id": SafeString(model.consultationRecordId)}];
} }
#pragma mark - 点击接受或是挂断 #pragma mark - 点击接受或是挂断
...@@ -238,9 +238,6 @@ static GMDoctorVideoTelephoneLogin *loginManager = nil; ...@@ -238,9 +238,6 @@ static GMDoctorVideoTelephoneLogin *loginManager = nil;
_window = [[GMDoctorVideoTelephoneWindow alloc] initWithFrame:CGRectMake(0, 0, MAINSCREEN_WIDTH, MAINSCREEN_HEIGHT)]; _window = [[GMDoctorVideoTelephoneWindow alloc] initWithFrame:CGRectMake(0, 0, MAINSCREEN_WIDTH, MAINSCREEN_HEIGHT)];
_window.delgate = self; _window.delgate = self;
[[UIApplication sharedApplication].keyWindow addSubview:_window]; [[UIApplication sharedApplication].keyWindow addSubview:_window];
[GMVideoPhobos consultation_traceWithActionStep:@"Consultation.One2One.EvokeRecordPageSuceess" status:@"success" extraParam:@{@"consultation_record_id": SafeString(_videoModel.consultationRecordId)}];
} }
#pragma mark - TTTRtcEngineDelegate初始化成功 #pragma mark - TTTRtcEngineDelegate初始化成功
......
...@@ -125,8 +125,7 @@ static GMUserVideoTelephoneLogin *loginManager = nil; ...@@ -125,8 +125,7 @@ static GMUserVideoTelephoneLogin *loginManager = nil;
#pragma mark - 初始化直播间 #pragma mark - 初始化直播间
- (void)userLoginVideoRoomModel:(GMVideoTelephoneModel *)model { - (void)userLoginVideoRoomModel:(GMVideoTelephoneModel *)model {
_uid = [[[GMRouter sharedInstance] pushScheme:@"gengmei://gm_userId"] longLongValue];
_uid = (NSInteger)[[GMRouter sharedInstance] pushScheme:@"gengmei://gm_userId"];
_channelId = model.channelId; _channelId = model.channelId;
_pushURL = model.streamUrl; _pushURL = model.streamUrl;
_neteaseModel = model.neteaseIm; _neteaseModel = model.neteaseIm;
...@@ -223,7 +222,7 @@ static GMUserVideoTelephoneLogin *loginManager = nil; ...@@ -223,7 +222,7 @@ static GMUserVideoTelephoneLogin *loginManager = nil;
_joinChannelRetryCount--; _joinChannelRetryCount--;
}); });
} else { } else {
[GMVideoPhobos consultation_traceWithActionStep:@"Consultation.Santi.OnJoinError" status:@"failed" extraParam:@{@"order_no": SafeString(_messageDict[@"order_no"]), @"consultation_record_id": SafeString(_messageDict[@"consultation_record_id"]), @"channel_id": SafeString(_channelId), @"error_code": @(errorCode)}]; [GMVideoPhobos consultation_traceWithActionStep:@"Consultation.Santi.OnJoinError" status:@"failed" extraParam:@{@"order_no": SafeString(_messageDict[@"order_no"]), @"consultation_record_id": SafeString(TTManager.consultationRecordId), @"channel_id": SafeString(_channelId), @"error_code": @(errorCode)}];
[self uploadFailedRecordWithErrorInfo:errorInfo]; [self uploadFailedRecordWithErrorInfo:errorInfo];
} }
} }
......
...@@ -217,7 +217,7 @@ ...@@ -217,7 +217,7 @@
[dict setValue:@(weakSelf.consultationType) forKey:@"consultation_type"]; [dict setValue:@(weakSelf.consultationType) forKey:@"consultation_type"];
weakSelf.successView.info = dict; weakSelf.successView.info = dict;
if (!isNotify) { if (!isNotify) {
[GMVideoPhobos consultation_traceWithActionStep:@"Consultation.Dispatch.PollDispatch" status:@"success" extraParam:@{@"consultation_record_id": SafeString(dict[@"consultation_record_id"])}]; [GMVideoPhobos consultation_traceWithActionStep:@"Consultation.Dispatch.PollDispatched" status:@"success" extraParam:@{@"consultation_record_id": SafeString(dict[@"consultation_record_id"])}];
} }
[GMVideoPhobos video_monitoringWithActionStep:@"用户客户端收到匹配成功回执" consultId:weakSelf.successView.info[@"consultation_record_id"] traceId:nil]; [GMVideoPhobos video_monitoringWithActionStep:@"用户客户端收到匹配成功回执" consultId:weakSelf.successView.info[@"consultation_record_id"] traceId:nil];
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment