- start implementing meeting manager and broadcast stream

This commit is contained in:
Richard Alam 2017-10-20 14:31:19 -07:00
parent 9d98a550c5
commit fd8f38eacb
4 changed files with 45 additions and 0 deletions

View File

@ -0,0 +1,9 @@
package org.bigbluebutton.app.video;
public class Meeting {
public final String id;
public Meeting(String id) {
this.id = id;
}
}

View File

@ -0,0 +1,29 @@
package org.bigbluebutton.app.video;
import java.util.HashMap;
import java.util.Map;
public class MeetingManager {
private VideoApplication app;
private Map<String, Meeting> meetings = new HashMap<String, Meeting>();
public MeetingManager(VideoApplication app) {
this.app = app;
}
public void add(String id) {
Meeting m = new Meeting(id);
meetings.put(m.id, m);
}
public void remove(String id) {
Meeting m = meetings.remove(id);
if (m != null) {
// Close all streams;
}
}
}

View File

@ -0,0 +1,5 @@
package org.bigbluebutton.app.video;
public class VideoStream {
}

View File

@ -157,6 +157,8 @@ public class VideoStreamListener implements IStreamListener {
}
}
public void setEventRecordingService(EventRecordingService s) {
recordingService = s;