Auto Record ONLY when 2nd person enters a meeting

40 views
Skip to first unread message

Stephen Waters

unread,
Sep 29, 2023, 5:09:20 AM9/29/23
to BigBlueButton-dev
Hi BBB Team.

I'm using the latest 2.7.1 version:  Would it be possible to add a feature where this auto-record feature kicks in only when the 2nd person enters the meeting?

We have tutors entering the meetings 5 minutes before the students start entering the meetings, so it's wasted recording time, especially when students re-watch the recordings.

bigbluebutton.properties file: 
# Start recording when first user joins the meeting.
autoStartRecording=false
# Start recording when 2nd user joins the meeting.
autoStartRecording2orMore=true 
 (something like this)

Regards
Steve

DistanceLearning.cloud

unread,
Sep 29, 2023, 7:26:43 AM9/29/23
to BigBlueButton-dev
this could be implemented with a simple post_events.rb script... in 2.6 .27 with no api mods.

scan the events.xml if more than one user,  set the start recording timestamp to the second user join timestamp

the recordings would then process from 2 person join.   If teacher only one joining... the whole meeting records which allows teacher to create recordings ahead of time.

the script could also look at the create metadata for autoStartRecording2orMore=true if you want to have per meeting control but not needed.

regards,
Stephen

DistanceLearning.cloud

unread,
Sep 29, 2023, 8:00:17 AM9/29/23
to BigBlueButton-dev
Just did quick test.  found the Record Status event, and the 2nd user join,  then changed the timestamps and did a bbb-conf --rebuild and the recording starts from second user join.

<event timestamp="6362324440" module="PARTICIPANT" eventname="RecordStatusEvent">
    <date>2023-09-29T11:38:54.684Z</date>
    <status>true</status>
    <userId>w_xkvm8htslnjq</userId>
    <timestampUTC>1695987534684</timestampUTC>
  </event>

 <event timestamp="6362361368" module="PARTICIPANT" eventname="ParticipantJoinEvent">
    <name>firefox</name>
    <role>VIEWER</role>
    <date>2023-09-29T11:39:31.612Z</date>
    <externalUserId>w_euxab1mbtbtg</externalUserId>
    <userId>w_euxab1mbtbtg</userId>
    <timestampUTC>1695987571612</timestampUTC>
  </event>

DistanceLearning.cloud

unread,
Sep 29, 2023, 8:05:24 AM9/29/23
to BigBlueButton-dev
typo last post should be bbb-record --rebuild 

Stephen Waters

unread,
Sep 29, 2023, 8:07:32 AM9/29/23
to BigBlueButton-dev
Thanks @DistanceLearning.cloud

Thanks for looking into this.  I'm not that technical, so maybe I misunderstood you here. It sounds like you are processing the fix after the lesson was recorded, not before.  Is that right?

Regards
Steve

sd...@distancelearning.cloud

unread,
Sep 29, 2023, 8:15:57 AM9/29/23
to bigblueb...@googlegroups.com

You can modify the recording processing to automate this.  Its ruby code and flexible.   I tested the post process to make sure it works, but ideally the change would be inline to events, prior to the processing and publishing phases.

 

Ideally the feature you requested could be behind a flag and part of the api someday. But that requires someone add an enhancement request to the issue tracker, and document the requirements.

 

Regards,

Stephen

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bigbluebutton-dev/1381afc2-7ee9-44d7-870d-b2510a006df0n%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages