hkatlane / red5phone

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

Using windows is ok,why not using in linux? #8

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
hi,every one:
  i replaced the red5.jar,but the red5 server can not starting normally,i 
set the classpath,the server started ,but i tested the red5phone ,not 
sound can listen.
  when if using [red5]/wraaper/red5.sh to  start red5 server,the red5phone 
is ok,why?
  the difference between using wrapper start and directly start red5 
server?

  pls help me?
  i had tested in linux,both ways are no sound .

Original issue reported on code.google.com by yanglei0...@163.com on 4 Aug 2008 at 7:25

GoogleCodeExporter commented 8 years ago
Because System.getProperty("user.dir") returns a different value when you start 
from 
wrapper and when you run from any other folder.

Original comment by olajide....@gmail.com on 5 Aug 2008 at 8:26

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
thanks for your reply,
but i had modified the code of SipUser.java and Asao2Ulaw.java,
String appPath = System.getProperty("user.dir");
  System.out.println("apppath="+appPath);
  configFile = appPath + "/webapps/sip/sip.cfg";

but the red5phone project can not listened the sound,

if i started the server from [red5]/wrapper,all is ok.

why?

Original comment by yanglei0...@163.com on 6 Aug 2008 at 12:22

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Hi,
u need to recompile the your asao2Ulaw file in webapps/sip/assets/condec and 
set the
executable permission for the file

Original comment by prashaku...@gmail.com on 21 Nov 2008 at 11:00

GoogleCodeExporter commented 8 years ago
i have the same problem... How to recompile de asao2Ulaw?

Original comment by barros...@gmail.com on 29 Dec 2008 at 3:31

GoogleCodeExporter commented 8 years ago
Most times you don't have to recompile (atleast not for CentOS). Just make the 
file 
asao2Ulaw executable (chmod 755 asao2Ulaw).

Original comment by anil.pan...@gmail.com on 24 Jan 2009 at 12:56