Hi Maxim,
After doing some Flash debugging I've uncovered what looks like a reason
for the remote input failures when space or enter are pressed. Below is
a portion of the debug log during a screen sharing session with remote
keyboard input.
It appears that when space (code 32) or enter (code 13) are pressed, a
new OpenMeetings meeting object is initialized, judging by the
parameters of the initialized object. The question is, then, how to
prevent this from happening?
The OM documentation doesn't mention the use of space or enter to launch
a new session. Do you or anyone know what .lzx source file the keycodes
would be specified in so I can disable them? Thanks,
Andrew
onkeydown 70
downkeys «Array(1)#41| [70]» 1
onkeyup 70
tObject :: «Object#45| {action: 'onkeyup', k: 70}» true false
onkeydown 16
downkeys «Array(1)#41| [16]» 1
onkeyup 16
tObject :: «Object#46| {action: 'onkeyup', k: 16}» true false
onkeydown 16
downkeys «Array(1)#41| [16]» 1
onkeyup 16
tObject :: «Object#47| {action: 'onkeyup', k: 16}» true false
onkeydown 32
downkeys «Array(1)#41| [32]» 1
this.initObject «Object#39| {allowRecording: true,
, broadCastID: -2,
canDraw: false, canGiveAudio: false, canRemote: false, canShare: false,
chatUserRoomId: null, connectedSince: Sat Aug 4 12:15:43 GMT-0700 2012,
externalUserId: null, externalUserType: null, firstname: 'Electronic',
flvRecordingId: null, flvRecordingMetaDataId: null, formatedDate: null,
interviewPodId: null, isAVClient: false, isBroadcasting: false,
isChatNotification: false, isMod: false, isRecording: false,
isScreenClient: true, isSuperModerator: false,
, lastLogin: null,
lastname: 'Name', mail: null, micMuted: false, official_code: null,
organization_id: 1, picture_uri: null, publicSID:
'f81939f3d735f3cd951239715c7c0e70', room_id: 8, roomClientId: null,
roomEnter: null, roomRecordingName: null, scope: '8',
screenPublishStarted: false,
, startRecording: false, startStreaming:
true, streamid: '42', streamPublishName:
'22a39439eed2b5670cbe6cbb3390d30b',
, user_id: 5, usercolor: null,
userip: '0.0.0.0',
, userport: 39191, userpos: null, VHeight: 367,
VWidth: 1265, VX: 614, VY: 270, zombieCheckFlag: false}»
STOP: play «flash.net::NetStream#48| [object NetStream]»
onkeyup 32
tObject :: «Object#49| {action: 'onkeyup', k: 32}» true false
onstop this._y.to 0
newZoom 89
setSliderValue 89
onkeydown 32
downkeys «Array(1)#41| [32]» 1
this.initObject «Object#39| {allowRecording: true,
, broadCastID: -2,
canDraw: false, canGiveAudio: false, canRemote: false, canShare: false,
chatUserRoomId: null, connectedSince: Sat Aug 4 12:15:43 GMT-0700 2012,
externalUserId: null, externalUserType: null, firstname: 'Electronic',
flvRecordingId: null, flvRecordingMetaDataId: null, formatedDate: null,
interviewPodId: null, isAVClient: false, isBroadcasting: false,
isChatNotification: false, isMod: false, isRecording: false,
isScreenClient: true, isSuperModerator: false,
, lastLogin: null,
lastname: 'Name', mail: null, micMuted: false, official_code: null,
organization_id: 1, picture_uri: null, publicSID:
'f81939f3d735f3cd951239715c7c0e70', room_id: 8, roomClientId: null,
roomEnter: null, roomRecordingName: null, scope: '8',
screenPublishStarted: false,
, startRecording: false, startStreaming:
true, streamid: '42', streamPublishName:
'22a39439eed2b5670cbe6cbb3390d30b',
, user_id: 5, usercolor: null,
userip: '0.0.0.0',
, userport: 39191, userpos: null, VHeight: 367,
VWidth: 1265, VX: 614, VY: 270, zombieCheckFlag: false}»
STOP: play «flash.net::NetStream#50| [object NetStream]»
onkeyup 32
tObject :: «Object#51| {action: 'onkeyup', k: 32}» true false
onstop this._y.to 0
newZoom 89
setSliderValue 89
onkeydown 32
downkeys «Array(1)#41| [32]» 1
this.initObject «Object#39| {allowRecording: true,
, broadCastID: -2,
canDraw: false, canGiveAudio: false, canRemote: false, canShare: false,
chatUserRoomId: null, connectedSince: Sat Aug 4 12:15:43 GMT-0700 2012,
externalUserId: null, externalUserType: null, firstname: 'Electronic',
flvRecordingId: null, flvRecordingMetaDataId: null, formatedDate: null,
interviewPodId: null, isAVClient: false, isBroadcasting: false,
isChatNotification: false, isMod: false, isRecording: false,
isScreenClient: true, isSuperModerator: false,
, lastLogin: null,
lastname: 'Name', mail: null, micMuted: false, official_code: null,
organization_id: 1, picture_uri: null, publicSID:
'f81939f3d735f3cd951239715c7c0e70', room_id: 8, roomClientId: null,
roomEnter: null, roomRecordingName: null, scope: '8',
screenPublishStarted: false,
, startRecording: false, startStreaming:
true, streamid: '42', streamPublishName:
'22a39439eed2b5670cbe6cbb3390d30b',
, user_id: 5, usercolor: null,
userip: '0.0.0.0',
, userport: 39191, userpos: null, VHeight: 367,
VWidth: 1265, VX: 614, VY: 270, zombieCheckFlag: false}»
STOP: play «flash.net::NetStream#52| [object NetStream]»
onkeyup 32
onkeydown 13
downkeys «Array(1)#41| [13]» 1
this.initObject «Object#39| {allowRecording: true,
, broadCastID: -2,
canDraw: false, canGiveAudio: false, canRemote: false, canShare: false,
chatUserRoomId: null, connectedSince: Sat Aug 4 12:15:43 GMT-0700 2012,
externalUserId: null, externalUserType: null, firstname: 'Electronic',
flvRecordingId: null, flvRecordingMetaDataId: null, formatedDate: null,
interviewPodId: null, isAVClient: false, isBroadcasting: false,
isChatNotification: false, isMod: false, isRecording: false,
isScreenClient: true, isSuperModerator: false,
, lastLogin: null,
lastname: 'Name', mail: null, micMuted: false, official_code: null,
organization_id: 1, picture_uri: null, publicSID:
'f81939f3d735f3cd951239715c7c0e70', room_id: 8, roomClientId: null,
roomEnter: null, roomRecordingName: null, scope: '8',
screenPublishStarted: false,
, startRecording: false, startStreaming:
true, streamid: '42', streamPublishName:
'22a39439eed2b5670cbe6cbb3390d30b',
, user_id: 5, usercolor: null,
userip: '0.0.0.0',
, userport: 39191, userpos: null, VHeight: 367,
VWidth: 1265, VX: 614, VY: 270, zombieCheckFlag: false}»
STOP: play «flash.net::NetStream#58| [object NetStream]»
onkeyup 13
On 08/04/2012 02:17 AM, Maxim Solodovnik wrote:
> Hello Andrew,
>
> I saw couple reports regarding keys are function weird.
> But unfortunately I have no time to work on this :(
>
> The problems with this are:
> 1) Keys presses need to be transferred from Flash to Java and back
> 2) same keys has different codes on different OSes
>
> "included the flash.external.ExternalInterface library"
> This might not work since screen component is SWF8 and AFAIK does not
> support includes
> you can add
> if($debug) Debug.write("keydown:", k); to the correspondent handler in
> the code
> then go to url:
> http://localhost:5080/openmeetings/?swf=maindebug.as3.swf10.swf
>
> and see the codes in OpenLaszlo debug console
>
> for java applet you can also add debug info to the log
> of run applet in debugger
>
>
> On Sat, Aug 4, 2012 at 7:40 AM, Andrew Sengul <[email protected]
> <mailto:[email protected]>> wrote:
>
> Hi Maxim,
>
> Thanks for the message, is this a known problem with other people, or am
> I the only one experiencing it? I've been doing some tests modifying the
> source file but so far I haven't been able to figure out what causes the
> problem or get any debug data to display in my browser.
>
> I have included the flash.external.ExternalInterface library in the
> screenSharingDialog.lzx file and added this line to the keydown and
> keyup event handlers:
>
> ExternalInterface.call( "console.log" , k);
>
> But I'm not getting anything to display in Firebug.
>
> Is there a good way I can collect debug data from the Flash application?
> That would help me diagnose the problem. I've tried console-logging the
> Java application that is run by the person sharing their screen, but it
> doesn't indicate anything abnormal when the remote user presses
> spacebar, so I think the problem is with the Flash part of the
> application.
>
> Thanks,
>
> Andrew
>
> On 08/02/2012 10:17 PM, Maxim Solodovnik wrote:
> > Thanks for your investigation, I'll try to handle this (if will have
> > enough time)
> > Or you can propose the patch :)
> >
> > On Fri, Aug 3, 2012 at 12:03 PM, Andrew Sengul
> <[email protected] <mailto:[email protected]>
> > <mailto:[email protected] <mailto:[email protected]>>> wrote:
> >
> > Hi everyone,
> >
> > I posted about this a while ago and have since found some more
> about
> > input handling with the OpenMeetings remote control. Basically, my
> > problem is that when a user is remotely controlling another user's
> > screen through OpenMeetings, if the remote-controlling user
> presses the
> > spacebar or enter key, keyboard input to the remote screen stops
> > working. The mouse will still work, but no keys pressed will
> register on
> > the other user's computer.
> >
> > It looks like screen remote control within the Flash
> application is
> > handled by the OpenLaszlo file
> >
> singlewebapp/WebContent/swf10/screensharing/screenSharingDialog.lzx, and
> > there are a number of rules to address discrepancies in
> keycodes between
> > systems, but there appear to be no specific rules in that file
> governing
> > the spacebar or enter key. I can see that events fire when a
> key is
> > pressed (keydown) and released (keyup), so my guess at what's
> going
> > wrong is that there's something about the keyup event that
> causes it to
> > react badly to the use of the space and enter keys so that it
> shuts down
> > the keycode processing system entirely. Does anyone who's
> familiar with
> > the screenSharingDialog.lzx file know what could be happening?
> >
> > Also, has anyone else had problems with the spacebar and enter key
> > stopping keyboard input while remote-controlling another
> user's screen?
> > If something on my system is causing this, I'd really like to
> know what
> > it is. Any help is appreciated, thanks,
> >
> > Andrew
> >
> >
> >
> >
> > --
> > WBR
> > Maxim aka solomax
>
>
>
>
> --
> WBR
> Maxim aka solomax