Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
externalUserId not present in all redis messages
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Federico  
View profile  
 More options Nov 16 2012, 4:13 pm
From: Federico <federicobo...@gmail.com>
Date: Fri, 16 Nov 2012 13:13:10 -0800 (PST)
Local: Fri, Nov 16 2012 4:13 pm
Subject: externalUserId not present in all redis messages

Hi developers,
Let me first say that, IMHO, this usage of redis is an outstanding
architectural decision.
I'm integrating bbb into a RoR app. Logging bbb events in the database was
very simple, just by subscribing to the redis publication.
Looking forward to 0.81, where all events will go through redis!

Now to the point:
1. Why is the externalUserId not sent in all redis' messages?
2. Was this a design decision?

Having the externalUserId in every request will be very useful to avoid
having to figure out the mapping between external and internal user id
after the first message.

*User joined message*
message:
{"externalUserId":"3","internalUserId":"45","meetingId":"287da0651bbe7af557 b588ce0c9aeaa9a39487a6-1353098991675","role":"VIEWER","messageId":"UserJoin edEvent","fullname":"user1"}

*User left message*
message:
{"internalUserId":"45","meetingId":"287da0651bbe7af557b588ce0c9aeaa9a39487a 6-1353098991675","messageId":"UserLeftEvent"}

Thanks,
Federico


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Richard Alam  
View profile  
 More options Nov 17 2012, 7:14 am
From: Richard Alam <ritza...@gmail.com>
Date: Sat, 17 Nov 2012 07:14:11 -0500
Local: Sat, Nov 17 2012 7:14 am
Subject: Re: [bigbluebutton-dev] externalUserId not present in all redis messages

Hi Federico,

On Fri, Nov 16, 2012 at 4:13 PM, Federico <federicobo...@gmail.com> wrote:
> Hi developers,
> Let me first say that, IMHO, this usage of redis is an outstanding
> architectural decision.
> I'm integrating bbb into a RoR app. Logging bbb events in the database was
> very simple, just by subscribing to the redis publication.
> Looking forward to 0.81, where all events will go through redis!

That's the plan. The idea is that the Red5 app and NodeJS app (for HTML5)
can sync with each other by subscribing to redis pubsub.

The work is done in
https://github.com/bigbluebutton/bigbluebutton/tree/move-code-into-me...

The idea is that all messages (from Flash client, redis pubsub, FreeSWITCH
ESL) goes in here
https://github.com/bigbluebutton/bigbluebutton/blob/move-code-into-me...

The message is processed by
https://github.com/bigbluebutton/bigbluebutton/blob/move-code-into-me...
other classes (Presentation, Whiteboard, Chat, etc.) and then a
message
goes out through
https://github.com/bigbluebutton/bigbluebutton/blob/move-code-into-me...

The out gateway will have listeners that forwards the message to Red5 Flash
Client, redis pubsub, and recorder to redis.

The listener for user events that forward to Flash client is
https://github.com/bigbluebutton/bigbluebutton/blob/move-code-into-me....
There will be classes for each app (Presentation, Whiteboard, chat,
etc).

The one for redis pubsub is in
https://github.com/bigbluebutton/bigbluebutton/blob/move-code-into-me...

There's still more work to be done. If anybody can help, then the work gets
done sooner.

> Now to the point:
> 1. Why is the externalUserId not sent in all redis' messages?

Our first playback format was very simple. What we wanted was to just be
able to play the slides with audio. There was no need for externalUserID so
we did not include it.

> 2. Was this a design decision?

> Having the externalUserId in every request will be very useful to avoid
> having to figure out the mapping between external and internal user id
> after the first message.

Agreed. Can you please create an issue? We'll include it as part of the
refactoring above.

Richard

--
-----
BigBlueButton Developer
http://www.bigbluebutton.org
http://code.google.com/p/bigbluebutton

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Federico Boerr  
View profile  
 More options Nov 19 2012, 10:08 am
From: Federico Boerr <federicobo...@gmail.com>
Date: Mon, 19 Nov 2012 12:08:36 -0300
Local: Mon, Nov 19 2012 10:08 am
Subject: Re: [bigbluebutton-dev] externalUserId not present in all redis messages

Hi Richard,
Thanks for your replay, it's now clear to me how the redis messages work.

Comments inline.

Yes, I know. At the moment I'm under big time pressure! I'm looking forward
to contribute in the future, once the system is stabilized.

Issue is now in google:
http://code.google.com/p/bigbluebutton/issues/detail?id=1362.
I can't edit it now, it's clearly not a defect and priority is probably
less than medium, but that's up to the team to decide.

Thanks,
Federico

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »