BBB 2.6 Create PDF with slides + annotations from Recorded session - Serverside

56 views
Skip to first unread message

Martin

unread,
Feb 23, 2023, 10:03:58 AM2/23/23
to BigBlueButton-Setup
Hi,
I'm looking for a script or config setting which creates a PDF of the Whiteboard with all annotations.

Like the "Send to Presentation" functionality, but serverside. (https://github.com/bigbluebutton/bigbluebutton/pull/15412)
The optimum would be to integrate it in the recording processing job via e.g. post_publish script in /usr/local/bigbluebutton/core/scripts/post_publish/


distancelearning.cloud

unread,
Feb 25, 2023, 7:31:24 AM2/25/23
to BigBlueButton-Setup

Hi Martin, 


Do you want all presentations automatically saved with annotations, or just the ones instructors request by send to chat to be archived and pushed on post_publish with the other recording formats?

 

For every sendtochat the instructor does, the annotated pdf is still on server and could be gathered and sent somewhere in post_publish.

 

Talking to Daniel Petri, they are actually created on server side by looking at the meeting data in bbb-akka and queueing all the annotations to  redis for creating the pdf..  So that event could be generated to automate for all possibly right before meeting ends.  Right now they are all named the same (annotated_slide.pdf) so would need to figure out how to name them back to original

 

Regards,

Stephen

Martin

unread,
Mar 1, 2023, 6:16:57 AM3/1/23
to BigBlueButton-Setup
Hi Stephen,

tanks for you're reply.

I'm looking for the automatic at the end of the session approach.

I already found the serverside created pdfs when using the send to chat functionality. But as i understood the code of Daniel Petri's PR's right, the events/data for an automated serverside generation of the pdfs are only sent when the "send to chat" functionality is used?

I also found the tldraw.json file, if the recording is active, but no serverside renderer for pdf/image generation for tldraw, maybe thats a way?

Best wishes
Martin

sd...@distancelearning.cloud

unread,
Mar 1, 2023, 6:36:43 AM3/1/23
to bigbluebu...@googlegroups.com

So if bbb-akka still has all the data in memory this sent to redis will trigger the creation of an annotated pdf without user intervention

 

"publish" "to-akka-apps-redis-channel" "{\"envelope\":{\"name\":\"MakePresentationWithAnnotationDownloadReqMsg\",\"routing\":{\"meetingId\":\"c12b788019c7c8f8cda518cc5a9d2b69790e6d87-1677331827158\",\"userId\":\"w_6znhnxwlgrze\"},\"timestamp\":1677331907708},\"core\":{\"header\":{\"name\":\"MakePresentationWithAnnotationDownloadReqMsg\",\"meetingId\":\"c12b788019c7c8f8cda518cc5a9d2b69790e6d87-1677331827158\",\"userId\":\"w_6znhnxwlgrze\"},\"body\":{\"presId\":\"9f024d3ec2bc5c771789eb26c63ec30751fb3930-1677331827160\",\"allPages\":true,\"pages\":[]}}}"

 

Question is how to detect the presentations uploaded, and which ones where annotated, as imagine don’t want to annotate ones that may have been uploaded, but not used or annotated on.

 

Also, not clear for how long this data persists after the end meeting happens.

 

Regards,

Stephen.

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-s...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bigbluebutton-setup/d43a0cf6-a6c4-4dea-b0cb-170ac7ded468n%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages