mconf / bbb-air-client

Mobile client for BigBlueButton and Mconf based on Adobe Air
Other
12 stars 32 forks source link

Favorite rooms #49

Closed mconf-daileon closed 8 years ago

mconf-daileon commented 8 years ago

Author Name: Felipe Cecagno (Felipe Cecagno) Original Redmine Issue: 1558, http://dev.mconf.org/redmine/issues/1558 Original Date: 2015-04-10


Create a list of favorite rooms that would be automatically populated when the user joins it. The list would have URLs like "http://mconf.rnp.br/webconf/felipe", not the join URL directly, so we'd need to use HTTP attributes from the web portal to send to the mobile app the room URL to be included in the list. When the application is launched directly, instead of sending the user to the web browser, we'd show him the favorite rooms.

mconf-daileon commented 8 years ago

Original Redmine Comment Author Name: Felipe Cecagno (Felipe Cecagno) Original Date: 2015-05-14T19:26:43Z


We're going to use the metadata attributes in the enter API call. An example is the following:

{"response":{"returncode":"SUCCESS","fullname":"User 8854029","confname":"Test room 6","meetingID":"7b821f537c600802feefdcc0e32a1273c86d01e9-1431631008097","externMeetingID":"Test room 6","externUserID":"pd889mc2xqbf","internalUserID":"pd889mc2xqbf","authToken":"qlh0xqcthsaw","role":"MODERATOR","guest":"false","conference":"7b821f537c600802feefdcc0e32a1273c86d01e9-1431631008097","room":"7b821f537c600802feefdcc0e32a1273c86d01e9-1431631008097","voicebridge":"75224","dialnumber":"613-555-1234","webvoiceconf":"75224","mode":"LIVE","record":"false","allowStartStopRecording":true,"welcome":"
Welcome to Test room 6<\u002fb>!","logoutUrl":"http://10.0.3.135","defaultLayout":"NOLAYOUT","avatarURL":"http://10.0.3.135/client/avatar.png","customdata":[],"metadata":[{"invitation-url":"http://mconf.rnp.br/webconf/felipe"}]}}

Check for the metadata "invitation-url" as the link for the favourite room, and use "externMeetingID" as the room name.

mconf-daileon commented 8 years ago

Original Redmine Comment Author Name: Lucas Freire (Lucas Freire) Original Date: 2015-06-03T13:57:40Z


https://github.com/LucasMFreire/bbb-air-client/commit/9835a9cdb66bc3fdb3cc61aa97f7e0e0dcdc2a58