|
@@ -57,7 +57,7 @@
|
|
|
if (model.videoType == VIDEO_TYPE_JUPHOON) {
|
|
|
[self loginJuphoon];
|
|
|
} else if (model.videoType == VIDEO_TYPE_AGORA) {
|
|
|
- [self showInCallVC:model.videoType isIncomming:YES];
|
|
|
+ [self showInCallVC:model.videoType isCallIn:YES];
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -91,15 +91,15 @@
|
|
|
[self requestVideo:uid ticket:ticket dial:1 callback:^(BOOL isOK, NSString *token) {
|
|
|
if (isOK && token.length > 0) {
|
|
|
self.mToken = token;
|
|
|
- [weak_self showInCallVC:model.videoType isIncomming:NO];
|
|
|
+ [weak_self showInCallVC:model.videoType isCallIn:NO];
|
|
|
[weak_self startTimeoutTimer];
|
|
|
}
|
|
|
}];
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-- (void)videoEnd:(BOOL)isIncomming isSendMessage:(BOOL)isSendMessage {
|
|
|
- HDNormalLog(([NSString stringWithFormat:@"VideoManager: videoEnd:%d", isIncomming]));
|
|
|
+- (void)videoEnd:(BOOL)isCallIn isSendMessage:(BOOL)isSendMessage {
|
|
|
+ HDNormalLog(([NSString stringWithFormat:@"VideoManager: videoEnd:%d", isCallIn]));
|
|
|
//发消息
|
|
|
if (isSendMessage) {
|
|
|
[self requestVideo:self.uid ticket:self.mTicket dial:-1 callback:^(BOOL isOK, NSString *token) {
|