Initial implementation of MakePresentationWithAnnotationDownloadReqMsg
This commit is contained in:
parent
d94b7b77fb
commit
3b32fb02b5
@ -418,13 +418,14 @@ class MeetingActor(
|
||||
updateModeratorsPresence()
|
||||
|
||||
// Whiteboard
|
||||
case m: SendCursorPositionPubMsg => wbApp.handle(m, liveMeeting, msgBus)
|
||||
case m: ClearWhiteboardPubMsg => wbApp.handle(m, liveMeeting, msgBus)
|
||||
case m: UndoWhiteboardPubMsg => wbApp.handle(m, liveMeeting, msgBus)
|
||||
case m: ModifyWhiteboardAccessPubMsg => wbApp.handle(m, liveMeeting, msgBus)
|
||||
case m: SendWhiteboardAnnotationPubMsg => wbApp.handle(m, liveMeeting, msgBus)
|
||||
case m: SendCursorPositionPubMsg => wbApp.handle(m, liveMeeting, msgBus)
|
||||
case m: ClearWhiteboardPubMsg => wbApp.handle(m, liveMeeting, msgBus)
|
||||
case m: UndoWhiteboardPubMsg => wbApp.handle(m, liveMeeting, msgBus)
|
||||
case m: ModifyWhiteboardAccessPubMsg => wbApp.handle(m, liveMeeting, msgBus)
|
||||
case m: SendWhiteboardAnnotationPubMsg =>
|
||||
handleMakePresentationWithAnnotationDownloadReqMsg(liveMeeting)
|
||||
wbApp.handle(m, liveMeeting, msgBus)
|
||||
case m: GetWhiteboardAnnotationsReqMsg => wbApp.handle(m, liveMeeting, msgBus)
|
||||
|
||||
// Poll
|
||||
case m: StartPollReqMsg =>
|
||||
pollApp.handle(m, state, liveMeeting, msgBus) // passing state but not modifying it
|
||||
@ -498,6 +499,8 @@ class MeetingActor(
|
||||
// Presentation
|
||||
case m: PreuploadedPresentationsSysPubMsg => presentationApp2x.handle(m, liveMeeting, msgBus)
|
||||
case m: AssignPresenterReqMsg => state = handlePresenterChange(m, state)
|
||||
case m: MakePresentationWithAnnotationDownloadReqMsg => handleMakePresentationWithAnnotationDownloadReqMsg(liveMeeting)
|
||||
case m: ExportPresentationWithAnnotationReqMsg => handleExportPresentationWithAnnotationReqMsg(liveMeeting)
|
||||
|
||||
// Presentation Pods
|
||||
case m: CreateNewPresentationPodPubMsg => state = presentationPodsApp.handle(m, state, liveMeeting, msgBus)
|
||||
@ -716,6 +719,29 @@ class MeetingActor(
|
||||
|
||||
}
|
||||
|
||||
def handleMakePresentationWithAnnotationDownloadReqMsg(liveMeeting: LiveMeeting): Unit = {
|
||||
log.warning("*** Hello World! ***")
|
||||
|
||||
liveMeeting.presModel.getPresentations foreach println
|
||||
|
||||
val presentationId = getMeetingInfoPresentationDetails()._1 // current presentationId = whiteboardId
|
||||
// log.warning(liveMeeting.wbModel.getHistory())
|
||||
|
||||
println(presentationId)
|
||||
|
||||
log.warning("*****")
|
||||
|
||||
// 1) Insert Export Job to Redis
|
||||
// 2) Export Annotations to Redis
|
||||
|
||||
}
|
||||
|
||||
def handleExportPresentationWithAnnotationReqMsg(liveMeeting: LiveMeeting): Unit = {
|
||||
log.warning("***** Hello World 2! ")
|
||||
// 1) Insert Export Job to Redis
|
||||
// 2) Export Annotations to Redis
|
||||
}
|
||||
|
||||
def handleDeskShareGetDeskShareInfoRequest(msg: DeskShareGetDeskShareInfoRequest): Unit = {
|
||||
log.info("handleDeskShareGetDeskShareInfoRequest: " + msg.conferenceName + "isBroadcasting="
|
||||
+ ScreenshareModel.isBroadcastingRTMP(liveMeeting.screenshareModel) + " URL:" +
|
||||
|
@ -3,13 +3,21 @@ package org.bigbluebutton.common2.msgs
|
||||
import org.bigbluebutton.common2.domain.PresentationVO
|
||||
|
||||
// ------------ client to akka-apps ------------
|
||||
|
||||
// ------------ client to akka-apps ------------
|
||||
|
||||
// ------------ bbb-common-web to akka-apps ------------
|
||||
object PreuploadedPresentationsSysPubMsg { val NAME = "PreuploadedPresentationsSysPubMsg" }
|
||||
case class PreuploadedPresentationsSysPubMsg(header: BbbClientMsgHeader, body: PreuploadedPresentationsSysPubMsgBody) extends StandardMsg
|
||||
case class PreuploadedPresentationsSysPubMsgBody(presentations: Vector[PresentationVO])
|
||||
|
||||
object MakePresentationWithAnnotationDownloadReqMsg { val NAME = "MakePresentationWithAnnotationDownloadReqMsg" }
|
||||
case class MakePresentationWithAnnotationDownloadReqMsg(header: BbbClientMsgHeader, body: MakePresentationWithAnnotationDownloadReqMsgBody)
|
||||
case class MakePresentationWithAnnotationDownloadReqMsgBody(presId: String, allPages: Boolean, pages: List[Int])
|
||||
|
||||
object ExportPresentationWithAnnotationReqMsg { val NAME = "ExportPresentationWithAnnotationReqMsg" }
|
||||
case class ExportPresentationWithAnnotationReqMsg(header: BbbClientMsgHeader, body: ExportPresentationWithAnnotationReqMsgBody)
|
||||
case class ExportPresentationWithAnnotationReqMsgBody(parentMeetingId: String, allPages: Boolean)
|
||||
|
||||
// ------------ bbb-common-web to akka-apps ------------
|
||||
|
||||
// ------------ akka-apps to client ------------
|
||||
|
Loading…
Reference in New Issue
Block a user