Help with freeswitch

52 views
Skip to first unread message

Brent W. Baccala

unread,
Apr 13, 2020, 7:57:36 PM4/13/20
to BigBlueButton-dev
Hi -

I posted a few weeks ago (https://groups.google.com/forum/#!topic/bigbluebutton-dev/dj6vNxuM-II) about integrating BBB with VNC.

I've made pretty good progress on this project.  I've got a system that gives each student a VNC desktop, and presents the teacher with an overview that shows all of the student desktops, in a grid, miniaturized, on a single VNC desktop.  When the teacher hits a key from 1 to 9, he jumps into a student desktop and can interact with it.  Alt-Shift-Q then jumps back to the teacher overview.

The audio is handled by Freeswitch.  I use "fs_cli conference json_list" to pull out information to the Python script that is running the teacher desktop.  When the teacher enters the desktop, all of the student conference participants are deafed and muted.  When the teacher jumps into a student desktop, that student is undeafed and unmuted (the others remain deafed and muted).  When we're all done, hitting the 'b' key (broadcast) undeafs and unmutes everyone, and we're back to the normal conference mode.

This works for one teacher.  Now I'm trying to implement multiple independent teacher views, and I'm feeling a bit overwhelmed by Freeswitch!  I'd like each student to be placed into his or her own audio conference, and the teacher audio to transfer around to the various conferences.  At least, that seems like the most reasonable configuration.

If I try to transfer a student's audio with fs_cli, using a command like "uuid_transfer b25d1472-025f-4d1c-8471-f4bd2e0a1a7a bbb_conferences", the audio disconnects and then reconnects with a different UUID, which I'm not sure is what I want.  Maybe it is, maybe it isn't.  It seems like the audio completely disconnects and then BBB client has to reconnect.  I'm not sure that it's really a transfer at all.

How can I create multiple audio conferences and transfer audio users around between them?

I'm sure hoping that somebody who knows Freeswitch well can give me some good advice!

Thanks in advance,

    agape
    brent

Reply all
Reply to author
Forward
0 new messages