Skip to content
Snippets Groups Projects
Commit 333dba58 authored by Richard Alam's avatar Richard Alam
Browse files

- remove for now as sometimes when reconnect occurs while there is only one...

 - remove for now as sometimes when reconnect occurs while there is only one user in the voice conference and
   the meeting is being records, the audio conference fails to record.
parent 97f14ddf
No related branches found
No related tags found
No related merge requests found
......@@ -14,20 +14,24 @@ trait UserJoinMeetingAfterReconnectReqMsgHdlr extends HandlerHelpers with Breako
val outGW: OutMsgRouter
def handleUserJoinMeetingAfterReconnectReqMsg(msg: UserJoinMeetingAfterReconnectReqMsg, state: MeetingState2x): MeetingState2x = {
val newState = userJoinMeeting(outGW, msg.body.authToken, liveMeeting, state)
if (liveMeeting.props.meetingProp.isBreakout) {
updateParentMeetingWithUsers()
}
// recover voice user
for {
vu <- VoiceUsers.recoverVoiceUser(liveMeeting.voiceUsers, msg.body.userId)
} yield {
handleUserJoinedVoiceConfEvtMsg(liveMeeting.props.voiceProp.voiceConf, vu.intId, vu.voiceUserId, vu.callingWith, vu.callerName, vu.callerNum, vu.muted, vu.talking)
}
newState
/**
* val newState = userJoinMeeting(outGW, msg.body.authToken, liveMeeting, state)
*
* if (liveMeeting.props.meetingProp.isBreakout) {
* updateParentMeetingWithUsers()
* }
*
* // recover voice user
* for {
* vu <- VoiceUsers.recoverVoiceUser(liveMeeting.voiceUsers, msg.body.userId)
* } yield {
* handleUserJoinedVoiceConfEvtMsg(liveMeeting.props.voiceProp.voiceConf, vu.intId, vu.voiceUserId, vu.callingWith, vu.callerName, vu.callerNum, vu.muted, vu.talking)
* }
*
* newState
*/
state
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment