Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
GMAILab
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gengmeiios
GMAILab
Commits
4bea1af6
Commit
4bea1af6
authored
Jun 11, 2020
by
朱璇
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'zx/faceTest' into 'master'
Zx/face test See merge request
!5
parents
cc58ea4f
96a10fa7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
9 deletions
+5
-9
GMDoctorVideoTelephoneLogin.m
...Face/VideoTelephone/manager/GMDoctorVideoTelephoneLogin.m
+2
-5
GMUserVideoTelephoneLogin.m
...ToFace/VideoTelephone/manager/GMUserVideoTelephoneLogin.m
+2
-3
GMVideoWaitingView.m
GMAILab/Classes/ToFace/Waiting/GMVideoWaitingView.m
+1
-1
No files found.
GMAILab/Classes/ToFace/VideoTelephone/manager/GMDoctorVideoTelephoneLogin.m
View file @
4bea1af6
...
@@ -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初始化成功
...
...
GMAILab/Classes/ToFace/VideoTelephone/manager/GMUserVideoTelephoneLogin.m
View file @
4bea1af6
...
@@ -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
];
}
}
}
}
...
...
GMAILab/Classes/ToFace/Waiting/GMVideoWaitingView.m
View file @
4bea1af6
...
@@ -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.PollDispatch
ed
"
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
];
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment