- start implementing meeting manager and broadcast stream
This commit is contained in:
parent
9d98a550c5
commit
fd8f38eacb
9
bbb-video/src/main/java/org/bigbluebutton/app/video/Meeting.java
Executable file
9
bbb-video/src/main/java/org/bigbluebutton/app/video/Meeting.java
Executable file
@ -0,0 +1,9 @@
|
||||
package org.bigbluebutton.app.video;
|
||||
|
||||
public class Meeting {
|
||||
public final String id;
|
||||
|
||||
public Meeting(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
}
|
29
bbb-video/src/main/java/org/bigbluebutton/app/video/MeetingManager.java
Executable file
29
bbb-video/src/main/java/org/bigbluebutton/app/video/MeetingManager.java
Executable 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;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
5
bbb-video/src/main/java/org/bigbluebutton/app/video/VideoStream.java
Executable file
5
bbb-video/src/main/java/org/bigbluebutton/app/video/VideoStream.java
Executable file
@ -0,0 +1,5 @@
|
||||
package org.bigbluebutton.app.video;
|
||||
|
||||
public class VideoStream {
|
||||
|
||||
}
|
@ -157,6 +157,8 @@ public class VideoStreamListener implements IStreamListener {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setEventRecordingService(EventRecordingService s) {
|
||||
recordingService = s;
|
||||
|
Loading…
Reference in New Issue
Block a user