Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Separate Audio segment of each user.

119 views
Skip to first unread message

Prajin Khadka

unread,
May 3, 2021, 3:56:31 AM5/3/21
to BigBlueButton-dev
Greetings everyone, 

We are integrating BigBlueButton on our platform. We are using BBB as Video conference platform where the audio and video of users are recorded. 

My question is
1. Does Bigbluebutton records separate audio for each user ?
      like it does the video. 
     Basically, we wanted to have video and audio of each user. ( attendees ).

Regards
Prajin Khadka


sd...@distancelearning.cloud

unread,
May 3, 2021, 6:16:02 AM5/3/21
to bigblueb...@googlegroups.com

It’s a mixed opus for everyone by default.  Its possible to write each channel to a separate opus file with modified dialplan and media bug… check freeswitch docs on this.

 

The issue is the extra cpu/io needed to encode opus and write to disk a stream for each user.    This wont scale well if you have 200 users on a server in multiple meetings and reduce the number of concurrent users a given server can support in production.

 

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/1bd0d297-7c73-4b4c-a542-351fe12b4a85n%40googlegroups.com.

Message has been deleted

Prajin Khadka

unread,
May 3, 2021, 8:34:20 AM5/3/21
to BigBlueButton-dev
Hey Stephen, thank you. 

I was playing with the audio and how it is saved. 
Found this directory, two audio are saved. 

In this location: 
/var/bigbluebutton/recording/raw/1fe0eff81af8b069d88e28896301f939255d3793-1620038350815/audio/1fe0eff81af8b069d88e28896301f939255d3793-1620038350815-4151395332.opus 

I figured out it is /var/bigbluebutton/recordingID-timestamp/audio/recordingID-timestamp   
till here but what is that last part ? "4151395332", this one. 

I reckon this is not userID or internaluserID, it is different, also this is not the timestamp. 
Can anyone point out what it is

sd...@distancelearning.cloud

unread,
May 3, 2021, 9:22:25 AM5/3/21
to bigblueb...@googlegroups.com

2021-05-03T08:06:12.256-05:00 DEBUG o.b.freeswitch.RxJsonMsgHdlrActor - handling to-voice-conf-redis-channel - {"envelope":{"name":"StartRecordingVoiceConfSysMsg","routing":{"sender":"bbb-apps-akka"},"timestamp":1620047172254},"core":{"header":{"name":"StartRecordingVoiceConfSysMsg","meetingId":"183f0bf3a0982a127bdb8161e0c44eb696b3e75c-1620047157352"},"body":{"voiceConf":"79801","meetingId":"183f0bf3a0982a127bdb8161e0c44eb696b3e75c-1620047157352","stream":"/var/freeswitch/meetings/183f0bf3a0982a127bdb8161e0c44eb696b3e75c-1620047157352-4526860776.opus"}}}

 

Fsesl-akka sends command to freeswitch to create the recording file for output of conference.  This is an internal meeting timestamp.  The -1620047157352 in the meeting ID is the epoch time stamp.

 

Can see looking at the meeting events.

<event timestamp="4526860777" module="VOICE" eventname="ParticipantJoinedEvent">

    <participant>w_ev0xvffinafs</participant>

    <timestampUTC>1620047172255</timestampUTC>

    <bridge>79801</bridge>

    <callername>ss</callername>

    <talking>false</talking>

    <callernumber>w_ev0xvffinafs_3-bbbID-ss</callernumber>

    <date>2021-05-03T08:06:12.255-05</date>

    <muted>false</muted>

  </event>

  <event timestamp="4526860801" module="VOICE" eventname="StartRecordingEvent">

    <timestampUTC>1620047172279</timestampUTC>

    <bridge>79801</bridge>

    <filename>/var/freeswitch/meetings/183f0bf3a0982a127bdb8161e0c44eb696b3e75c-1620047157352-4526860776.opus</filename>

    <date>2021-05-03T08:06:12.279-05</date>

    <recordingTimestamp>4526860799</recordingTimestamp>

  </event>

 

Note the raw recordings are actually in /var/freeswitch/meetings, don’t end up into raw until the archive phase is completed in recording processing.

 

Regards,

Stephen

 

 

 

 

From: bigblueb...@googlegroups.com <bigblueb...@googlegroups.com> On Behalf Of Prajin Khadka
Sent: Monday, May 3, 2021 8:33 AM
To: BigBlueButton-dev <bigblueb...@googlegroups.com>

Subject: Re: [bigbluebutton-dev] Separate Audio segment of each user.

 

Hey Stephen, thank you. 

I was playing with the audio and how it is saved. 
Found this directory, two audio are saved. 

In this location: 

/var/bigbluebutton/recording/raw/1fe0eff81af8b069d88e28896301f939255d3793-1620038350815/audio/1fe0eff81af8b069d88e28896301f939255d3793-1620038350815-4151395332.opus 

I figured out it is /var/bigbluebutton/recordingID-timestamp/audio/recordingID-timestamp   
till here but what is that last part ? "4151395332", this one. 

I reckon this is not userID or internaluserID, it is different, also this is not the timestamp. 

Can anyone point out what it is.



On Monday, 3 May, 2021 at 4:01:02 pm UTC+5:45 DistanceLearning.cloud wrote:

image001.png
Reply all
Reply to author
Forward
0 new messages