Quantcast
Channel: Ignite Realtime : Popular Discussions - Red5
Viewing all 2000 articles
Browse latest View live

red5.properties missing (new clean setup)

$
0
0

Hello,

 

for testing purpose i set up a new installation of openfire on a windows machine. I am running the latest version of everything like OF 3.7.1, spark 2.6.3 (even tried the beta build) and the redfire plugin v. 0.0.0.6 for Openfire 3.7.0 and above. (Also installed the redfire-plugin.jar into my spark plugins folder).

 

If i'm using the "Redfire Test Page" everything is working as it should. (you can have a look here). However if i try to use the redfire opportunities of the redfire plugin for spark it does not work for non-observable reasons. All spark-windows of the audio/video roster or the publish desktop screen are blank....

 

If i try to open the publish desktop screen using spark it tries to open "http://null:8080/red5/viewer?username=myusername" - notice: if i use the redfire test page it will open the correct path (http://jabber-server.de:7070/redfire/screenshare?stream=mydesktop&app=xmpp)!

 

So i digged into the logs of spark and noticed that the file "red5.properties" is missing. That could cause the misbehavior of the redfire plugin for spark. (I hope so?)

 

SCHWERWIEGEND: Red5-Error: Properties-file does not exist= C:\Users\Administrator\Spark\red5.properties

 

Further i noticed more problems like:

 

WARNUNG: Plugin Redfire for Spark has no <java>-Tag, consider getting a newer Version

16.05.2012 10:45:41 org.jivesoftware.spark.util.log.Log warning

 

and:

 

SCHWERWIEGEND: 
java.lang.NoSuchMethodError: org.jivesoftware.smackx.ServiceDiscoveryManager.<init>(Lorg/jivesoftware/smack/XMPPConnection;)V    at org.jivesoftware.spark.plugin.red5.Red5Plugin.initialize(Red5Plugin.java:257)    at org.jivesoftware.spark.PluginManager$2.run(PluginManager.java:662)    at java.awt.event.InvocationEvent.dispatch(Unknown Source)    at java.awt.EventQueue.dispatchEvent(Unknown Source)    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)    at java.awt.EventDispatchThread.run(Unknown Source)
java.net.BindException: Cannot assign requested address: Cannot bind    at java.net.PlainDatagramSocketImpl.bind0(Native Method)    at java.net.PlainDatagramSocketImpl.bind(Unknown Source)    at java.net.DatagramSocket.bind(Unknown Source)    at java.net.DatagramSocket.<init>(Unknown Source)    at java.net.DatagramSocket.<init>(Unknown Source)    at de.javawi.jstun.test.demo.ice.Candidate.<init>(Candidate.java:35)    at de.javawi.jstun.test.demo.ice.ICENegociator.testInterface(ICENegociator.java:122)    at de.javawi.jstun.test.demo.ice.ICENegociator.access$000(ICENegociator.java:40)    at de.javawi.jstun.test.demo.ice.ICENegociator$1.run(ICENegociator.java:88)    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)    at java.lang.Thread.run(Unknown Source)

 

What is the content of the missing file "red5.properties"? I like to create it and see if this causes the error.

 

Can anyone help me out? Do you have similar errors?


Limited to 24 concurrent calls?

$
0
0

Openfire 3.8.2

Redfire 0.0.3.1

 

I have an embedded widget that makes use of the Flash (Red5+RTMP) method to place a SIP call to my VOIP Gateway. This works *very* well for anything up to 24 concurrent calls. Anything after caller number 25 gets an valid Openfire session, but no audio via the widget. The server is not experiencing any significant load, and should be able to handle far more than 25 concurrent calls.

 

It seems that Openfire accepts the XMPP but Redfire just doesn't play anything after 24 calls.

 

Anybody have any suggestions?

 

 

Devan

Is the plugin: Redfire (red5) Supports video calls?

$
0
0

Hi, 

 

1.

I want to know if the plugin: Redfire (red5) Supports video calls?  If so then someone can share a picture of how it looks in Spark (or give a link?)

 

2.

I'm going to re-install the system, what are the recommendations for installation in terms of versions?

To the REDFIRE will work properly with users?

Full Screen Desktop Share without blur and quality loss

$
0
0

I noticed a lot of people asking about how to enable desktop sharing in full screen and crisp resolution. I did face the same problem and spent a couple days trying to figure it out. The solution is not that easy to achieve, although Dele Olajide as a Red5 plugin developer (aka "Saint" ) should find it easy to implement in a new version of Red5 Plugin.

 

I could not find the true source files of screenviewer.jar inside openfire/plugins/red5/screen, I downloaded the whole Openmeetings source from http://openmeetings.googlecode.com/svn/trunk/singlewebapp. There you can find a directory src/screenviewer, which contains the source files for screenviewer.jar (although they are a bit diffrent, there was a package name change from org.xmlcrm.webstart.* (this one is currently used in red5 plugin) to org.openmeetings.webstart.* (in downloaded source files) some time ago.

 

To remove the 600x600 resulution limitation, you have to change two lines inside the org\xmlcrm\webstart\screen\CaptureScreen.java subroutine
public byte[] bufferImage():

double thumbWidth = 600;
double thumbHeight = 600;

change to:

double thumbWidth = imageScreen.getWidth(); // *ConnectionBean.imgScale;
double thumbHeight = imageScreen.getHeight(); // *ConnectionBean.imgScale;

 

Recompile the whole thing, make screenviewer.jar, sign every jar inside red5/screen directory with the same signature file.

 

I went a bit further and modified the whole Desktop Publisher program: added the image Scale (%) JSpinner object, added this imgScale to the ConnectionBean, so I can dynamically change the scale of transfered image (if my bandwidth is poor).

 

Although my description here is brief, the real work involved is more tough, I could post my modified jar file, but as i don't know the password of screeencast.keystore file - your Java will complain that certificates don't match and won't start. If anyone wants more details - I would be happy to provide them...

 

PS It's also a good idea to modify screen.html to include scrollbars when the transfered image is bigger than your screen, modify its style:

body { overflow: scroll; margin: 0pt; }

how to remove errors of multiple SLF4J bindings? openfire3.7.1,redfire-370-0.0.06

$
0
0

    Hi,all

 

    I have tried to use openfire+redfire to build a audio/video stream server for test recently and had some puzzles about installation, I hope you can give me some suggestions.

 

    Envorionment: Windows Server 2003, JDK: 1.6.0_29, Openfire: 3.7.1, Redfire: redfire-370-0.0.06.

 

    Before installation of redfire, openfire work properly and no error appears. After I put redfire.war into plugins directory of openfire, there are some errores on the console of openfre :

     The first 5 lines of error msg

SLF4J: Class path contains multiple SLF4J bindings.SLF4J:
Found binding in [jar:file:/E:/OpenfireIDE/openfire/lib/slf4j-log4j12.jar!/org/slf4j/impl/Static LoggerBinder.class]
SLF4J: Found binding in [jar:file:/E:/OpenfireIDE/openfire/bin/../lib/slf4j-log4j12.jar!/org/slf4j/impl /StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/E:/OpenfireIDE/openfire/plugins/redfire/WEB-INF/lib/logback-classic- 0.9.24.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.

   Though mistakes, I can visit http://127.0.0.1:7070/redfire ,and redfire test page is all right

 

   So, I tried to remove logback-classic-0.9.24.jar of redfire because of the mutiple slf4j bindings. Then when I restarted openfire, the total error msges are:

SLF4J: Class path contains multiple SLF4J bindings.

SLF4J: Found binding in [jar:file:/E:/OpenfireIDE/openfire/lib/slf4j-log4j12.jar!/org/slf4j/impl/Static LoggerBinder.class]

SLF4J: Found binding in [jar:file:/E:/OpenfireIDE/openfire/bin/../lib/slf4j-log4j12.jar!/org/slf4j/impl /StaticLoggerBinder.class]

SLF4J: Seehttp://www.slf4j.org/codes.html#multiple_bindingsfor an explanation.

SLF4J: The requested version 1.5.8 by your slf4j binding is not compatible with [1.6]

SLF4J: Seehttp://www.slf4j.org/codes.html#version_mismatchfor further details.

Though redfire is in the openfire plugin list, I cannot properly visit "http://127.0.0.1:7070/redfire" and maybe because of the removal of logback-classic-0.9.24.jar.

   I want to know how to avoid errors of multiple slf4j bindings?

 

   Thank you!

video/audio time delay of 10 sec

$
0
0

hello,

 

i have a problem with video/audio time delay of 10 sec.

 

Server:

window server 2008 R2 SP1

openfire 3.6.4 with red5.war

red5 1.0.0-RC1

SDSL 5 MBIT

 

 

Client:

xp or win7

spark 2.5.8

red5 plugin

ADSL 16 MBIT down / 1 MBIT upstream

 

here the source of the "video320x240.html" file:

 

var me = getPageParameter('me', 'test1');
var you = getPageParameter('you', 'test2');
var bw = getPageParameter('bw', '262144');
var pq = getPageParameter('pq', '0');
var fps = getPageParameter('fps', '15');
var msr = getPageParameter('msr', '22');
var url = getPageParameter('url', 'rtmp:/oflaDemo');

var fo = new FlashObject("video320x240.lzx.swf", "lzapp", "660", "280", "2");

fo.addParam("swLiveConnect", "true");
fo.addParam("name", "lzapp");
fo.addParam("quality", "high");
fo.addParam("scale", "noscale");
fo.addParam("salign", "LT");
fo.addParam("menu", "true");

fo.addVariable("ns0Name", you);
fo.addVariable("stream", me);
fo.addVariable("url", url);

fo.addVariable("bandwidth", bw);
fo.addVariable("picQuality", pq);
fo.addVariable("framesPerSec", fps);
fo.addVariable("micSetRate", msr);

fo.write("red5content");

 

 

why is there such a big time delay?

 

thanks for help

Redfire 0.0.0.4 Release

$
0
0

After some feedback and a bit more development, I am happy to release version 0.0.0.4 for community beta testing. The changes were mostly to support the Redfire plugin for Spark which is planned to be included in the official Spark 2.6.1 release. You WILL NEED the latest Flash Player 10.3

 

Image3.png

 

So what is new for Redfire plugin for Spark?

  1. Native integration for Window OS users only. The audio/video and screenshare now appear in native Spark windows instead of the browser.
  2. Other suggestions discussed here and here
  3. New audio/video applications redfire_video.html and redfire_2way.html developed in Flex to replace the old Openlaszlo apps. A big thank you to Mike Grimwade who started work on this.
  4. Support for Flash Player echo cancellation. You do not need a headset anymore.
  5. Support for RTMFP (peer-to-peer). Audio/Video is sent between clients directly without using the Red5 server provided there is a route between clients otherwise an RTMP connection to Redfire is used.

 

To ensure there is a route, you need a way for the clients to discover each other. There are 3 methods:

 

  1. Make sure each client can access the public Adobe RTMFP server on the Internet at p2p.rtmfp.net
  2. Use an internal private RTMFP server like Adobe FMS 4.x or the OpenRTMFP server Cumulus
  3. If IP Multicast is supported on your network and all your clients are on the same subnet (192.168.1.x for example)

 

The default is to use the public p2p.rtmfp.net service. To change this, edit redfire_2way.html and redfire_video.html. Replace this line

 

var rtmfpUrl          = getPageParameter('rtmfpUrl', 'rtmfp://p2p.rtmfp.net/xxxxxxxxxxxxxxx-zzzzzzzzzzzzz/');

 

If you have your own RTMFP server like FMS 4.x, use "rtmfp://my_rtmfp_server/"

If you want to use pure IP multicast on your own private subnet, use "rtmfp:"

If you want to force RTMP always with no peer-to-peer, use "localhost"

 

Finally, to upgrade your existing Redfire plugin for Spark,

 

  1. Quit Spark,
  2. Delete the redfire-plugin folder and redfire-plugin.jar file in your USER_HOME\Spark\plugins
  3. Copy new redfire-plugin.jar to SPARK_HOME\plugins
  4. Restart Spark

 

Where can I download the plugin

 

For Openfire 3.6.4 and below http://redfire.googlecode.com/files/redfire-364-0.0.04.zip

For Openfire 3.7.0 and above http://redfire.googlecode.com/files/redfire-370-0.0.04.zip

Redfire and spark hangs.

$
0
0

I installed redfire and spark, it works fine, but the spark hangs. The audio and video works, but I can´t start a new message or anything. I need to end task on windows task.

 

redfire 0.0.5 on my Openfire 3.7.0 (linux)

redfire 0.0.9 on spark 2.6.3

java the lastest version


When RedSpark plugin will be available?

$
0
0

I want facebook/gmail type chat on my website, i have tried some xmpp clients like jappix etc but could not able to configure them with openfire, Can some body tell me about RedSpark plugin, when that will be available?

 

Thanks.

Full Screen Desktop Share without blur and quality loss

$
0
0

I noticed a lot of people asking about how to enable desktop sharing in full screen and crisp resolution. I did face the same problem and spent a couple days trying to figure it out. The solution is not that easy to achieve, although Dele Olajide as a Red5 plugin developer (aka "Saint" ) should find it easy to implement in a new version of Red5 Plugin.

 

I could not find the true source files of screenviewer.jar inside openfire/plugins/red5/screen, I downloaded the whole Openmeetings source from http://openmeetings.googlecode.com/svn/trunk/singlewebapp. There you can find a directory src/screenviewer, which contains the source files for screenviewer.jar (although they are a bit diffrent, there was a package name change from org.xmlcrm.webstart.* (this one is currently used in red5 plugin) to org.openmeetings.webstart.* (in downloaded source files) some time ago.

 

To remove the 600x600 resulution limitation, you have to change two lines inside the org\xmlcrm\webstart\screen\CaptureScreen.java subroutine
public byte[] bufferImage():

double thumbWidth = 600;
double thumbHeight = 600;

change to:

double thumbWidth = imageScreen.getWidth(); // *ConnectionBean.imgScale;
double thumbHeight = imageScreen.getHeight(); // *ConnectionBean.imgScale;

 

Recompile the whole thing, make screenviewer.jar, sign every jar inside red5/screen directory with the same signature file.

 

I went a bit further and modified the whole Desktop Publisher program: added the image Scale (%) JSpinner object, added this imgScale to the ConnectionBean, so I can dynamically change the scale of transfered image (if my bandwidth is poor).

 

Although my description here is brief, the real work involved is more tough, I could post my modified jar file, but as i don't know the password of screeencast.keystore file - your Java will complain that certificates don't match and won't start. If anyone wants more details - I would be happy to provide them...

 

PS It's also a good idea to modify screen.html to include scrollbars when the transfered image is bigger than your screen, modify its style:

body { overflow: scroll; margin: 0pt; }

7070/redfire error

Red5phone Standalone SIP improve audio quality

$
0
0

Hi,

First, thanks for red5phone, it's amazing !!! nice job !!!

I've got an ubuntu server with a standalone SIP red5phone. It's working !!


The sound from flash isn't good, how can I improve it ? (I've tried to put 44 in flex and 44000 in sip.cfg without any success, maybe I've to change audio_frame_size too ?). I think I need to edit java sources but where :/

 

 

Thanks a lot

 

 

 

 

To make it works under ubuntu :


(This is my installation on a clean Ubuntu 8.04 server)

 

apt-get install sun-java6-jre

 

cd /usr/src

 


wget http://www.red5.fr/release/0.7.0/debian/red5_0.7.0_all.deb

dpkg -i red5_0.7.0_all.deb

# or apt-get install sun-java5-jre red5


wget http://red5.4ng.net/red5.jar
wget http://red5.4ng.net/sip.zip
unzip sip.zip


cd /usr/lib/red5


mv red5.jar red5origin.jar
cp red5.sh red5origin.sh
cp /usr/src/red5.jar red5.jar
chmod 777 red5.jar
nano red5.sh


#put it :
exec $JAVA -Djava.security.manager -Djava.security.policy=conf/red5.policy -cp red5.jar:conf:$CLASSPATH:lib/jetty-6.1.7.jar:lib/jetty-util-6.1.7.jar:lib/jetty -xbean-6.1.7.jar org.red5.server.Standalone
#end


mv /usr/src/sip ./webapps/sip

./red5.sh to start the server ...

#if you have a problem with sip.cfg, just copy it to /usr/webapps/sip

Spark plugin goes to wrong URL

$
0
0

In trying to get Redfire working, I've noticed that my problem is that the Spark plugin is taking me to the wrong URL when screen sharing - and I assume when it's trying to do anything else...which would explain why it's not working. I'm wondering how it comes up with that screen sharing URL....in my case, I'm logged into Spark by using an IP address for the server name - I would have expected it to use that for the host name in the URL, but instead it's using a domain name that doesn't resolve to my Openfire server. The name was listed as the "server name", under the server properties on the admin page - so I tried changing that, but the URL still remained the same...so I'm really not sure where it's getting that from. Any ideas?

Video URL Incorrect

$
0
0

On the server side I'm using Openfire 3.8.2 with Redfire 0.0.3.2 on a Ubuntu 12.04 server.  For the client I'm using Spark 2.6.3 with the Redfire 0.0.9 plugin.  When I try to start a video chat session the url that is created is domain.com instead of server.domain.com.  I've already tried to configure red5.properties under c:\users\username\appdata\ with no luck.  Is there somewhere else to hardcode the url so is uses server.domain.com?  Thanks in advanced.

screencast.jnlp file is generated, but it generates error opening the file

$
0
0
 have the same problem

Desktop screen when I use publisher / viewer, screencast.jnlp file is generated, but it generates error opening the file, what I do is.

change the line

spec='1.0+' <jnlp codebase='http://im.xxx.com.co:7070/inspired/video'>


By the following

spec='1.0+' <jnlp codebase='http://im.xxx.com.co:7070/redfire/screen'>

and works by changing this line

as I collaborate to fix this fix



This file screencast.jnlp

<?xml version='1.0' encoding='utf-8'?><jnlp spec='1.0+' codebase='http://im.xxx.com.co:7070/inspired/video'>      <information>           <title>Redfire ScreenShare</title>           <vendor>Dele Olajide</vendor>           <homepage>http://code.google.com/p/inspired</homepage>          <description>Inspired ScreenShare Client Application</description>           <description kind='short'>An Java Webstart application that publishes desktop screen as RTMP video stream</description>           <offline-allowed/>      </information>     <security>          <all-permissions/>     </security>          <resources>      <j2se version='1.4+'/>           <jar href='screenshare.jar'/>      </resources>      <application-desc main-class='org.redfire.screen.ScreenShare'>          <argument>im.xxx.com.co</argument>          <argument>xmpp</argument>          <argument>1935</argument>          <argument>mydesktop</argument>           <argument>flashsv2</argument>           <argument>15</argument>           <argument>1024</argument>           <argument>768</argument>      </application-desc> </jnlp>


This is the file with the corrected line.


<?xml version='1.0' encoding='utf-8'?><jnlp spec='1.0+' codebase='http://im.xxx.com.co:7070/redfire/screen'>     <information>           <title>Redfire ScreenShare</title>           <vendor>Dele Olajide</vendor>           <homepage>http://code.google.com/p/inspired</homepage>          <description>Inspired ScreenShare Client Application</description>           <description kind='short'>An Java Webstart application that publishes desktop screen as RTMP video stream</description>           <offline-allowed/>      </information>     <security>          <all-permissions/>     </security>          <resources>      <j2se version='1.4+'/>           <jar href='screenshare.jar'/>      </resources>      <application-desc main-class='org.redfire.screen.ScreenShare'>          <argument>im.xxx.com.co</argument>          <argument>xmpp</argument>          <argument>1935</argument>          <argument>mydesktop</argument>           <argument>flashsv2</argument>           <argument>15</argument>           <argument>1024</argument>           <argument>768</argument>      </application-desc> </jnlp>



Thank you for your help.



Incorret URL

$
0
0

Hi guys.

 

I have the openfire-3.8.1 with redfire installed in my server. When I click in the Redfire button in a chat window, its open a new window trying to connect in the server. But, the URL is incorrect.

 

My xmpp.domain is defined like my AD. And, my hostname of OF server is other name:

 

xmpp.domain = worknet.work (AD)

 

OF hostname = im.worknet.work

 

So, its try to connect: http://worknet.work:7070 and doesnt work.

 

Where I can change this to connect in the right url (server)? I changed the red5.properties but no effect.

 

Regards.

When RedSpark plugin will be available?

$
0
0

I want facebook/gmail type chat on my website, i have tried some xmpp clients like jappix etc but could not able to configure them with openfire, Can some body tell me about RedSpark plugin, when that will be available?

 

Thanks.

7070/redfire error

redfire not working

$
0
0

Hello everyone.

 

I installed redfire 0.0.5 on my Openfire 3.7.0

I installed redfire 0.0.9 on spark 2.6.3

 

Now when I try to start a video conference, both person get a grey screen. After a little while at the bottom of that screen it says:  Enter... connected

But nothing else. No voice, no video.

 

I attached the logs of spark.

Any idea on what the problem is?

 

Thanks

 

 

 

 



Redfire Configuration

$
0
0

Hi All,

 

I've been trying to get redfire up and running and I've hit a bit of a snag.  I'm running redfire .0.6 on openfire 3.7.1 on xserve 10.6  I'm using the spark plugin that is included with redfire (downloaded from the redfire test page) on a mac and windows clients.

 

Everything has installed correctly and everything on the redfire test page works perfectly. Unfortunately, nothing works correctly from the spark plugin.  The screen sharing is what I'm most interested in.  The person initiating the share can click the "screen sharing" button and get the screen selector and start and stop buttons but the start button does nothing.

 

The person receiving the share request gets the accept button and tries to link to the shared screen and the window opens but is unable to connect.

 

I have ports 9090, 7070, and 1935 open on the server, my Java and flash are up to date and working correctly.  (Java asks for permission before the screen share initiates)

 

I'd include logs, but looking at the red5 logs in openfire they're all empty.

 

I'm out of ideas myself and any help would be greatly appreciated.

 

-Matt

Viewing all 2000 articles
Browse latest View live