man2015 / red5phone

Automatically exported from code.google.com/p/red5phone
0 stars 0 forks source link

How to compile red5phone.lzx to red5phone.swf ? #54

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi !

How can i compile my red5phone.lzx source file to fully workable swf file?

Ihave been modify sources and i need to compile it. But when i make some
swf file (swf 8 / 9 /10), its not fully workable. Any functions as
registration to SIP are not going and others too. :-( I tryed openlaszlo
IDE to compile it. Modifyed red5phone.lzx and whole project is fully going
on my NetBeans IDE. Only i need to compile it to swf.

Thanks.

Original issue reported on code.google.com by jarys...@seznam.cz on 13 Jul 2009 at 12:06

GoogleCodeExporter commented 9 years ago
You need an OLD version of Openlaszlo (3.4). That is what I used. No plans to 
upgrade the code as I don't do Openlaszlo development any more. Just Flex.

Original comment by olajide....@gmail.com on 13 Jul 2009 at 1:07

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Big thanks for your answer olajide.dele - I check on Openlaszlo v3.4 - all work 
!

But, at latter Ol version like 4.X - not work. I love Openlaszlo please find 
time and
make upgrade phoneLib.lzx for Ol 4.X ! 
Please !!!! 
Thanks.

Original comment by e...@stcplus.net on 29 Sep 2009 at 7:33

GoogleCodeExporter commented 9 years ago
There is a OL4.x branch at 
http://red5phone.googlecode.com/svn/branches/webapp_rework/webapp/sip/

I have not tested it and cannot confirm it works

Original comment by olajide....@gmail.com on 4 Oct 2009 at 11:43

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Hi gays,
First of all many thanks for the red5phone!

I'm using the "javascript" red5phone and everything work fine.

Just for test I'm trying to recompile the original source ( phoneAPI.lzx &
phoneLib.lzx) from  sip_r29.zip

Here is how I proceed :

1. copy the file sip_r29/sip/javascript/phoneAPI.lzx to 
.../lps-3.4.0/examples/red5/
2. copy the file sip_r29/sip/openlaszlo/phoneLib.lzx to 
.../lps-3.4.0/examples/red5/
3. Compile the phoneAPI.lzx using swf8
http://127.0.0.1:8080/lps-3.4.0/examples/red5/phoneAPI.lzx?lzr=swf8
The compilations is without problems.

*There are errors using swf6 and swf7

4. Deploying the application by pressing the “SOLO” button.
In this point a file named “phoneAPI.lzx.swf” is created under
.../lps-3.4.0/examples/red5/

5. Replace the old phoneAPI.lzx.swf (the original one from 
sip_r29/sip/javascript/ )
on my web server with the new one.

6. I'm trying to test the newly created swf but without success.
    - nothing happens and there is one error in the browser error console : Error:
phone.login is not a function.

I will note that with the original swf everything work fine ( I can connect, 
make
calls, hangup etc.)

I test to recompile the source because what I want to do next is to implement 
the
call transfer possibility.

I also confirm that the phoneAPI.lzx ( as it's mentioned before ) cannot be 
compiled
with the latest version of openlaslo. 

Any help is very appreciated.

Thanks

Original comment by danielve...@gmail.com on 29 Dec 2009 at 12:12

GoogleCodeExporter commented 9 years ago
I compiled r29 with OpenLaszlo 3.4 today, and everything worked fine. If you 
<canvas proxied="false"> the SWF file will generated without going through the 
deployment process.

Compiling with latest versions of OpenLaszlo:
Many things have changed in the past 3 years, and the 3.4 compatible code will 
not 
compile with new versions of the OpenLaszlo server. The ActionScript code used 
inside the LZX classes is ActionScript2 format, and for the SWF9 or SWF10 
runtime 
you would have to switch to ActionScript, reimplementing the NetConnection 
functionality.

- Raju

Original comment by rajubit...@gmail.com on 24 Mar 2010 at 11:29