I'm passing parameters using following code: http://svn.apache.org/viewvc/openmeetings/trunk/singlewebapp/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/room.js?revision=1605992&view=markup
line ~77 parameters being read using http://svn.apache.org/viewvc/openmeetings/trunk/singlewebapp/openmeetings-flash/src/main/flex/main.mxml?revision=1606750&view=markup line ~163 JS functions can be called from Flex app, and vise versa I have tested it here: https://github.com/solomax/recorder-flash/blob/master/src/Recorder.mxml Additionally wicket code can send websocket messages to JS, then Flex app can handle the calls On 23 July 2014 12:50, [email protected] <[email protected]> wrote: > One of the questions is always how to pass parameters from Flash to > JavaScript and vice-versa. > Have you found a solution for that or ? Do you have some kind of event > mechanism that you use to pass an event from JavaScript to the Flash Applet > ? > > Sebastian > > > 2014-07-23 17:41 GMT+12:00 Maxim Solodovnik <[email protected]>: > > Thanks Sebastian, >> >> I'm currently using IntellyJ IDEA for flex editing and code completion >> (Unfortunately I have no debugger) >> Currently I'm trying to implement Video setup and video window using flex >> (all parameters set using Wicket HTML5) >> >> Video setup window is already function in the trunk, with some exceptions >> 1) audio level handler not set >> 2) record/playback not implemented >> 3) It is impossible for me to change camera modes >> >> I'm totally stack on 3) :( other points seems to be implementable >> >> >> >> On 23 July 2014 12:35, [email protected] <[email protected]> >> wrote: >> >>> Hi Maxim, >>> >>> sorry for the delay I am still trying to get my head around the Flex >>> application. But I think basically what you want is that only the >>> audio/video relevant components are using Flash everything else is in HTML5. >>> Which I think is the right approach. >>> >>> Are you still stuck in some of the issues with the Flex code? >>> Do you have FlexBuilder ? I think from the easiest way might be to get a >>> Flex Builder Trial version ( I think you have up to 2 months) and then make >>> some experiments with that before you try to write the code from scratch >>> without all the little helpers like code completion that you have inside >>> Flex Builder. >>> >>> BUt it should be no rocket science, in think I can remember doing such a >>> component for somebody a couple of years ago. >>> >>> What are the requirements for the Flex mini app ? >>> It shall have one single video component and playback a stream from a >>> given source ? >>> >>> Thanks, >>> Sebastian >>> >>> >>> >>> >>> >>> >>> >>> 2014-07-12 14:00 GMT+12:00 Maxim Solodovnik <[email protected]>: >>> >>> one exception: networktesting tool sources are still in SVN >>>> >>>> >>>> On 12 July 2014 08:44, Maxim Solodovnik <[email protected]> wrote: >>>> >>>>> the room in the trunk should be in html5. >>>>> no binaries should be in svn (i'll double check) >>>>> the only flash sources are in flex folder >>>>> >>>>> all previous sources are in 3.0.x branch >>>>> >>>>> >>>>> On 12 July 2014 06:24, [email protected] <[email protected]> >>>>> wrote: >>>>> >>>>>> Hi Maxim, >>>>>> >>>>>> where is the actual source code for the conference room in the trunk? >>>>>> I can see the some checked in binaries, for example the >>>>>> main.as3.swf11.swf. >>>>>> But no source code for it. So what are you doing if you need to fix >>>>>> anything in the conference room itself? >>>>>> >>>>>> Sebastian >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> 2014-07-08 20:05 GMT+12:00 [email protected] < >>>>>> [email protected]>: >>>>>> >>>>>> Sorry not yet. I am just very busy at the moment. Let's touch base by >>>>>>> the end of the week. >>>>>>> >>>>>>> Thx >>>>>>> Sebastian >>>>>>> On Jul 8, 2014 7:09 PM, "Maxim Solodovnik" <[email protected]> >>>>>>> wrote: >>>>>>> >>>>>>>> Hello Sebastian, >>>>>>>> >>>>>>>> Were you able to take a look at this? >>>>>>>> >>>>>>>> >>>>>>>> On 30 June 2014 14:17, [email protected] <[email protected] >>>>>>>> > wrote: >>>>>>>> >>>>>>>>> That sounds for me like and issue where some of the source >>>>>>>>> parameters are set wrong. >>>>>>>>> Crash sounds for me like a null pointer exception in Flash. For >>>>>>>>> instance undefined object or similar when there you try to create the >>>>>>>>> "camera' Object. >>>>>>>>> >>>>>>>>> Sebastian >>>>>>>>> >>>>>>>>> >>>>>>>>> 2014-06-30 18:43 GMT+12:00 Maxim Solodovnik <[email protected]> >>>>>>>>> : >>>>>>>>> >>>>>>>>> Great, thanks >>>>>>>>>> >>>>>>>>>> It seems subsequent calls to camera.setMode(...) is now not >>>>>>>>>> causing crash, but black screen displayed from the cam :( >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On 28 June 2014 19:28, [email protected] < >>>>>>>>>> [email protected]> wrote: >>>>>>>>>> >>>>>>>>>>> Sorry Maxim, >>>>>>>>>>> >>>>>>>>>>> no time yet. Hopefully some time next week. >>>>>>>>>>> >>>>>>>>>>> Sebastian >>>>>>>>>>> On 28 Jun 2014 20:09, "Maxim Solodovnik" <[email protected]> >>>>>>>>>>> wrote: >>>>>>>>>>> >>>>>>>>>>>> Hello Sebastian >>>>>>>>>>>> Were you able to take a look at this issue? >>>>>>>>>>>> >>>>>>>>>>>> I have changed the code locally, and it stops crashing, but >>>>>>>>>>>> also stops display video :( >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> On 19 June 2014 17:23, Maxim Solodovnik <[email protected]> >>>>>>>>>>>> wrote: >>>>>>>>>>>> >>>>>>>>>>>>> The current flex version is in trunk, will update Apache demo >>>>>>>>>>>>> server in nearest couple of days >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> On 10 June 2014 23:10, Maxim Solodovnik <[email protected]> >>>>>>>>>>>>> wrote: >>>>>>>>>>>>> >>>>>>>>>>>>>> I can share test HTML file if it can help >>>>>>>>>>>>>> Do you need it? >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> On 10 June 2014 05:57, [email protected] < >>>>>>>>>>>>>> [email protected]> wrote: >>>>>>>>>>>>>> >>>>>>>>>>>>>>> Hi Maxim, >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> not sure but there are a number of possible scenarios. >>>>>>>>>>>>>>> The usual stuff like any of the parameters is null. >>>>>>>>>>>>>>> And also doing the things in the right sequence. >>>>>>>>>>>>>>> Or another resource is already using the camera. >>>>>>>>>>>>>>> And under some rare circumstances it might be that the >>>>>>>>>>>>>>> settings you apply do not work with the hardware that you are >>>>>>>>>>>>>>> using. >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> I can have a look into that a bit more detailed by the end >>>>>>>>>>>>>>> of the week. >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> Sebastian >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> 2014-06-10 4:26 GMT+12:00 Maxim Solodovnik < >>>>>>>>>>>>>>> [email protected]>: >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> Hello Sebastian, >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> I started to implement video window using Apache Flex [1] >>>>>>>>>>>>>>>> The problem: I cannot change the camera resolution :( >>>>>>>>>>>>>>>> Changing it after it was set results to the crash of flash >>>>>>>>>>>>>>>> player :( >>>>>>>>>>>>>>>> (currently commented at line ~260) >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> you were able to solve it in Openlaszlo, maybe you can >>>>>>>>>>>>>>>> suggest the "right way" of doing this? >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> [1] >>>>>>>>>>>>>>>> http://svn.apache.org/viewvc/openmeetings/trunk/singlewebapp/openmeetings-flash/src/main/flex/main.mxml?revision=1595591&view=markup >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>>> WBR >>>>>>>>>>>>>>>> Maxim aka solomax >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>> Sebastian Wagner >>>>>>>>>>>>>>> https://twitter.com/#!/dead_lock >>>>>>>>>>>>>>> http://www.webbase-design.de >>>>>>>>>>>>>>> http://www.wagner-sebastian.com >>>>>>>>>>>>>>> [email protected] >>>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> -- >>>>>>>>>>>>>> WBR >>>>>>>>>>>>>> Maxim aka solomax >>>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> -- >>>>>>>>>>>>> WBR >>>>>>>>>>>>> Maxim aka solomax >>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> -- >>>>>>>>>>>> WBR >>>>>>>>>>>> Maxim aka solomax >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> WBR >>>>>>>>>> Maxim aka solomax >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> Sebastian Wagner >>>>>>>>> https://twitter.com/#!/dead_lock >>>>>>>>> http://www.webbase-design.de >>>>>>>>> http://www.wagner-sebastian.com >>>>>>>>> [email protected] >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> WBR >>>>>>>> Maxim aka solomax >>>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Sebastian Wagner >>>>>> https://twitter.com/#!/dead_lock >>>>>> http://www.webbase-design.de >>>>>> http://www.wagner-sebastian.com >>>>>> [email protected] >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> WBR >>>>> Maxim aka solomax >>>>> >>>> >>>> >>>> >>>> -- >>>> WBR >>>> Maxim aka solomax >>>> >>> >>> >>> >>> -- >>> Sebastian Wagner >>> https://twitter.com/#!/dead_lock >>> http://www.webbase-design.de >>> http://www.wagner-sebastian.com >>> [email protected] >>> >> >> >> >> -- >> WBR >> Maxim aka solomax >> > > > > -- > Sebastian Wagner > https://twitter.com/#!/dead_lock > http://www.webbase-design.de > http://www.wagner-sebastian.com > [email protected] > -- WBR Maxim aka solomax
