Hi German,
I have moved your call to get the key into a more general loading sequence (r4648, r4649, r4650):
In MainService there is a new method:
public List<Configuration> getGeneralOptions(String SID) {
the key will now only load one time: When the whole app is loaded (hibrtmpConection.lzx Line 632 instead of every time you enter the conference room.
I guess we will have some more configs in the future to load initialy with this method.
Calling a method when you enter a room in baseConferenceRoom is slightly dangerous:
The OepnMeetings Client Application does re-connect the NetConnection _globally_ everytime you enter a room, cause it needs to change the connection URL / scope from:
rtmp://$host:$port/openmeetings/hibernate
to
rtmp://$host:$port/openmeetings/$room_id
(see for example participants.lzx Line 33 => disconnect() in the oninit method )
So calling a method exactly when entering the room can have some unexpected side effects. Maybe there is not even a connection at this moment.
The other reason for moving this remotecall away from baseConferenceRoom.lzx is:
Entering a conference room should happens really fast, and actually the NetConnection will handles method calls sequencly, that means you can call 10 methods at the same time but actually the NetConnection does handle them One-By-One, not parallel. There is no plan to change that to a connection pooling yet.
... I've done some performance optimization in the past to change the NetConnection into a Connection Pool that uses some kind of "round-rubin" mechanism to get a free NetConnection, but OpenMeetings has no such optimization yet.
Sebastian