Skip to content
Snippets Groups Projects
Commit 69164169 authored by Erik E. Lorenz's avatar Erik E. Lorenz
Browse files

Add telVoice query functions to MeetingService

* getNotEndedMeetingWithTelVoice()
* getNotEndedMeetingWithWebVoice()
parent 10c8e135
No related branches found
No related tags found
No related merge requests found
......@@ -437,6 +437,32 @@ public class MeetingService implements MessageListener {
return null;
}
public Meeting getNotEndedMeetingWithTelVoice(String telVoice) {
if (telVoice == null)
return null;
for (Map.Entry<String, Meeting> entry : meetings.entrySet()) {
Meeting m = entry.getValue();
if (m.getTelVoice() == telVoice) {
if (!m.isForciblyEnded())
return m;
}
}
return null;
}
public Meeting getNotEndedMeetingWithWebVoice(String webVoice) {
if (webVoice == null)
return null;
for (Map.Entry<String, Meeting> entry : meetings.entrySet()) {
Meeting m = entry.getValue();
if (m.getWebVoice() == webVoice) {
if (!m.isForciblyEnded())
return m;
}
}
return null;
}
public Boolean validateTextTrackSingleUseToken(String recordId, String caption, String token) {
return recordingService.validateTextTrackSingleUseToken(recordId, caption, token);
}
......
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