bigbluebutton
bigbluebutton copied to clipboard
Use FreeSWITCH mod_conference to signal when video is available
Author Name: Mateus Dalepiane (Mateus Dalepiane) Original Redmine Issue: 1478, http://dev.mconf.org/redmine/issues/1478 Original Date: 2015-03-12 Original Assignee: Mateus Dalepiane
Currently the verification if video is present for the active talker is made in bbb-voice, in the RTP to RTMP transceiver.
The goal of this implementation is to use FreeSWITCH mod_confetence to check and signal this.
Original Redmine Comment Author Name: Mateus Dalepiane (Mateus Dalepiane) Original Date: 2015-03-12T15:59:39Z
Once the signaling no longer depends on bbb-voice, the FreeSWITCH stream name must be informed to and stored in bbb-apps.
Original Redmine Comment Author Name: Mateus Dalepiane (Mateus Dalepiane) Original Date: 2015-03-16T21:30:00Z
So far I was able to figure out where mod_conference changes the active talker, and request the video switch. This is done at file @src/mod/applications/mod_conference/mod_conference.c@, method @conference_set_floor_holder@.
Also, channel variable @CF_VIDEO@ indicates whether the channel has video capability or not. This is not enough to ensure video presence though, because bbb-voice negotiate video always.
The way Jitsi works is interesting regarding this: It first negotiates @audio sendrecv@ and @video recvonly@, if the user enables video the session is renegotiated through a re-invite including video information.