API for Get Recordings

838 views
Skip to first unread message

Vineeth A

unread,
Jan 21, 2019, 11:45:39 PM1/21/19
to BigBlueButton-dev
Hi,

    I have recorded session, and i am trying to get the recordings by using api and the output i am getting as 

<response>
<returncode>SUCCESS</returncode>
<recordings/>
<messageKey>noRecordings</messageKey>
<message>There are no recordings for the meeting(s).</message>
</response>

Regards,
  Vineeth

Chad Pilkey

unread,
Jan 22, 2019, 1:14:14 PM1/22/19
to BigBlueButton-dev
It's hard to tell much from just the API response. It could be that the recording didn't successfully process, the recording was never started in the client, the wrong meetingId is being requested, or the recording no longer exists.

If this is a recent meeting you could check the output from "bbb-record --debug" or "bbb-record --list" to see if there was a problem or if the process didn't finish. The "--list" output will also tell you if the meeting was set to be recorded.

Vineeth A

unread,
Jan 23, 2019, 12:36:21 AM1/23/19
to BigBlueButton-dev
Hi Chad,
                 
          This the output which i get for  "bbb-record --debug" 

       -- Ingest and Processing: found recorded meeting but no archive files--
      /var/bigbluebutton/recording/status/recorded/d9c0b21e9caa07af08454f88b0056048975958a3-1548221258149.done
         
           What is the archive files...?

Regards,
Vineeth

Chad Pilkey

unread,
Jan 23, 2019, 10:13:53 AM1/23/19
to BigBlueButton-dev
The recording documentation page contains a ton of information about the different parts of the recording process (http://docs.bigbluebutton.org/dev/recording.html#capture). The archive phase is where all of the media for a recorded meeting is collected from their original application locations into one common location.

If this is the only recording you've tried to make it might be a permissions issue on one or more directories in /var/bigbluebutton/. I would also suggest trying to make a second recording to verify that the problem is reproducible. Could you also capture the output of "bbb-record --watch" please. You'll need to make your terminal large to see all of the information or the bottom will get cut off.

Also, have you made any customizations to this server? Things like moving directories around, external backups, configuration changes, etc.

Prasad Pawar

unread,
Aug 29, 2019, 2:52:07 AM8/29/19
to BigBlueButton-dev
<response>
<returncode>SUCCESS</returncode>
<recordings/>
<messageKey>noRecordings</messageKey>
<message>There are no recordings for the meeting(s).</message>
</response>

so i tried publishing the recording with api call :

it is showing this:

<response>
<returncode>FAILED</returncode>
<messageKey>notFound</messageKey>
<message>We could not find recordings</message>
</response>

but when i rebuild the recording manually with 
bbb-record --rebuild <internal meeting id>

it published the recording and showed this:
bbb-record --list

Internal MeetingID                                               Time                APVD APVDE RAS Slides Processed            Published           External MeetingID
------------------------------------------------------  ---------------------------- ---- ----- --- ------ -------------------- ------------------  -------------------
d120bb49daba29e5c378a8afb09bb9167a50a995-1567059714451  Thu Aug 29 11:51:54 IST 2019  X    XX X          0 presentation                             random-3483738

so why the api for get and publishing the recording is not working?
i need the api to return the recording play back url directly after hitting it. is it possible to do the same?

any help is appreciated!

Chad Pilkey

unread,
Aug 29, 2019, 12:18:23 PM8/29/19
to BigBlueButton-dev
Is there a directory with that same internal meetingId in "/var/bigbluebutton/published/presentation/"? If there's no directory for the meeting in the published directory then you need to go through the troubleshooting steps in the documentation that I linked to in my previous reply. The documentation can be found here, http://docs.bigbluebutton.org/dev/recording.html#troubleshooting. There is a specific section for the the locations of the publishing log. Find the log and attach it please.

Calvin Walton

unread,
Aug 30, 2019, 1:56:07 PM8/30/19
to bigblueb...@googlegroups.com
On Wed, 2019-08-28 at 23:52 -0700, Prasad Pawar wrote:
> Hi,
Your API call has recordID= in it, set to the meeting id instead of the
recording id. Please remove the recordID= parameter and leave only the
meetingID= parameter

(If you are using API Mate, you do this by emptying the recordID field
in the left pane)

If the recordID= is present, bigbluebutton will use that to try to look
up the recording - and it fails in this case, because you've passed the
meeting id there instead of the recording id.

--
Calvin Walton <calvin...@kepstin.ca>

Reply all
Reply to author
Forward
0 new messages