sailength / redfire

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

Unable to Video Chat Via Spark #9

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hello,

I recently installed OpenFire 3.7.0 on Windows 7 X64, and spark 2.6.0 has been 
installed on a couple of clients as well. 

Redfire has been installed by copying the redfire.war file into C:\Program 
Files (x86)\OpenFire\Plugins, starting OpenFire, and verifying i could get to 
http://my_server_address:7070/redfire.

Spark plugin has also been installed by copying redfire-plugin.jar to 
C:\Users\<user profile>\AppData\Roaming\Spark\plugins.

However, when two spark clients try to make a audio/video call by clicking the 
red5 button, it does not work.  I click accept video call, and then a window 
pops up saying "Enter . . Connected" or "Neighbor.Connected" but then neither 
spark client can see the video feed from the other's webcam. The pop up window 
just displays a grey window.

I hope I described the issue clearly! Thanks for any help that can be provide!

Original issue reported on code.google.com by cmwa...@gmail.com on 8 Jun 2011 at 7:32

GoogleCodeExporter commented 9 years ago
RTMFP is not working on your network. Wait for new version

Original comment by olajide....@gmail.com on 9 Jun 2011 at 3:27

GoogleCodeExporter commented 9 years ago
Hello Again,

I just upgraded my openfire 3.7.0 and spark 2.6.0 to redfire 0.0.0.5. 
Everything is working great, except I am still only seeing a grey screen 
when I attempt an audio/video call. The pop-up window appears, but then 
it just says, "Enter . . Connected" with a grey screen.  Below is what 
the redfire_2way.html and redfire_video.html files look like for rtmfp 
and rtmp:

var rtmpUrl     = getPageParameter('rtmpUrl', 'rtmp:/oflaDemo');
  //var rtmfpUrl    = getPageParameter('rtmfpUrl', 
'rtmfp://p2p.rtmfp.net/e423fa356c187078552b994c 004820ca784f/');
  var rtmfpUrl    = getPageParameter('rtmfpUrl', '');

Media and STUN servers are active in openfire, firewall rules are open, 
and both computers attempting the video chat are on an internal LAN. Any 
ideas as to what I could try to get this working. Your plugin is 
awesome, but I just can't seem to figure out the kink in all this.

Thanks For You Help!

Original comment by cmwa...@gmail.com on 11 Jun 2011 at 4:24

GoogleCodeExporter commented 9 years ago
Does not look like your Redfire plugin for Spark is upgraded. Please go to 
Spark menu and check the version of the Redfire plugin.
Also post your warnings.log and error.log files. 
is desktop sharing working?

Original comment by olajide....@gmail.com on 12 Jun 2011 at 2:44

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I am using 0.0.0.8 version and getting the same issue.

Original comment by aar...@gmail.com on 13 Jun 2011 at 4:35

Attachments:

GoogleCodeExporter commented 9 years ago
Below are the log attachments. The picture from the above comment is exactly 
what is happening. I have updated redire to 0.0.0.5 and upgraded spark 
accordingly, please let me know what you think! Thanks again!

Original comment by cmwa...@gmail.com on 14 Jun 2011 at 1:14

Attachments:

GoogleCodeExporter commented 9 years ago
I noticed this from the error log attached above:

SEVERE: Red5-Error: Properties-file does not exist= C:\Users\<user 
profile>\Spark\red5.properties

Which is funny, because that file is really located here:

C:\Users\<user 
profile>\AppData\Roaming\Spark\plugins\redfire-plugin\red5.properties

I attached my red5.properties file as well to assist (it's the default 
settings).

Original comment by cmwa...@gmail.com on 14 Jun 2011 at 1:19

Attachments:

GoogleCodeExporter commented 9 years ago
Desktop sharing is working by the way, sorry for all the emails!

Original comment by cmwa...@gmail.com on 14 Jun 2011 at 1:24

GoogleCodeExporter commented 9 years ago
Please go to your Redfire home page

http://wanzung01:7070/redfire

and run the video tests

Original comment by olajide....@gmail.com on 14 Jun 2011 at 11:14

GoogleCodeExporter commented 9 years ago
Hey Again,

I ran the 2way video tests at http://wanzung01:7070/redfire and it 
worked. I opened the "first person" tab on my machine, and someone 
opened the "second person tab" on their machine . . and we can see/hear 
each others audio/video.

However, our spark clients can still not see each others video when 
pressing the red5 button. We still receive the "Entered . . .Connected" 
message with a grey screen in the pop-up window. The screenshare feature 
works perfectly, if that helps at all.

Let me know what else I can try to do here. If there is something in a 
config I have to change, I can do that. Thanks in advance!

Original comment by cmwa...@gmail.com on 15 Jun 2011 at 3:29

GoogleCodeExporter commented 9 years ago
i am also having similar issue. it works fine from redfire test page to not 
from spark clients

Original comment by Solace...@gmail.com on 16 Jun 2011 at 9:28

GoogleCodeExporter commented 9 years ago
please what could be the possible error cos my openfire gives the following 
error:

log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: C:\Program Files\Openfire\bin\..\logs\debug.log 
(Access is denied)
    at java.io.FileOutputStream.openAppend(Native Method)
    at java.io.FileOutputStream.<init>(Unknown Source)
    at java.io.FileOutputStream.<init>(Unknown Source)
    at org.apache.log4j.FileAppender.setFile(FileAppender.java:290)
    at org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:194)
    at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:164)
    at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:257)
    at org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:285)
    at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:171)
    at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:184)
    at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:502)
    at org.apache.log4j.xml.DOMConfigurator.parseRoot(DOMConfigurator.java:471)
    at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:921)
    at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:790)
    at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:696)
    at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:471)
    at org.apache.log4j.LogManager.<clinit>(LogManager.java:125)
    at org.slf4j.impl.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:73)
    at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:243)
    at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:255)
    at org.jivesoftware.openfire.XMPPServer.<clinit>(XMPPServer.java:148)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at java.lang.Class.newInstance0(Unknown Source)
    at java.lang.Class.newInstance(Unknown Source)
    at org.jivesoftware.openfire.starter.ServerStarter.start(ServerStarter.java:113)

Original comment by Solace...@gmail.com on 21 Jun 2011 at 7:54

GoogleCodeExporter commented 9 years ago
pls what could be the problem. My openfire log gave the following information: 

2011.06.21 09:44:41 Error loading plugin: C:\Program 
Files\Openfire\plugins\redfire
java.lang.NoClassDefFoundError: org/mortbay/jetty/HandlerContainer
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
at java.lang.Class.getConstructor0(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at 
org.jivesoftware.openfire.container.PluginManager.loadPlugin(PluginManager.java:
420)
at 
org.jivesoftware.openfire.container.PluginManager.access$300(PluginManager.java:
80)
at 
org.jivesoftware.openfire.container.PluginManager$PluginMonitor.run(PluginManage
r.java:1067)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(Unknown Source)
at java.util.concurrent.FutureTask.runAndReset(Unknown Source)
at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(
Unknown Source)
at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic
(Unknown Source)
at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown
 Source)
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)
Caused by: java.lang.ClassNotFoundException: org.mortbay.jetty.HandlerContainer
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source) 

Original comment by Solace...@gmail.com on 21 Jun 2011 at 8:47

GoogleCodeExporter commented 9 years ago
Hi... I am facing the same problem. Screen Sharing is working on the 2 Spark 
clients but whenever we try to establish video/audio chat, it only says: 
"Enter...connected" but doesn't display anything except a grey window.
Its a little urgent..Please help

Original comment by richas...@gmail.com on 4 Jul 2011 at 6:45

GoogleCodeExporter commented 9 years ago
Same problem on Windows, a gray window appears with the message 
"Enter...connected", in Spark on GNU/Linux works but no audio.

Original comment by julio...@gmail.com on 8 Jul 2011 at 1:22

GoogleCodeExporter commented 9 years ago
guys, why on earth can't you finish work on your project? It's nice and cool, 
but it's not working properly:(
I have the very same problem all the previous posters has.

Original comment by cczon...@gmail.com on 14 Jul 2011 at 7:31

GoogleCodeExporter commented 9 years ago
This is a major problem for me.
Any updates on when this will be resolved.

Original comment by baboo...@gmail.com on 15 Jul 2011 at 10:51

GoogleCodeExporter commented 9 years ago
I had the same problem, I solve it copying the directory 
c:\users\appdata\roming\spark to c:\users. My server (openfire) is on a linux 
server, by the way I put on my dns (windows) a new host. This is because the 
application (redfire) search for a name of the server and not for a IP address.
Audio / Video working fine, but I have a serious problem, the application 
hangs, I need to end task (all of spark application). Anybody knows what this 
happen?

Original comment by webermu...@gmail.com on 21 Jul 2011 at 1:43

GoogleCodeExporter commented 9 years ago
My Problem was solved by upgrading my Spark clients to 2.6.3, and upgrading 
both my OpenFire 3.7.0 server/Spark 2.6.3 clients with the redfire 0.0.06 
plugin. Both video and screen sharing are working now. I hope this information 
helps at least some people.

I had an issue every once in awhile where one user's video shows up, and then 
the other person's did not. But after a few tries, both users were connected 
and both sharing video. 

Original comment by cmwa...@gmail.com on 25 Jul 2011 at 9:58

GoogleCodeExporter commented 9 years ago
I have OPenfire 3.7.0, spark 2.6.3, redfire 0.0.0.6 with the same problem. Test 
with publisher/viewer is ok. But when test with 2way or 4 person, none user can 
see/hear audio/video, just a text enter....connected in the bottom page.

btw screen share was running well 

Original comment by d4l...@gmail.com on 27 Jul 2011 at 8:15

GoogleCodeExporter commented 9 years ago
SOLVED: I updated my flash player version to 10.3.* and it all started to work. 
Try updating the flash player version of your browser to 10.3.* It worked for 
me. But the problem is that the video and audio when used together, the audio 
comes with a lotta delay.

Original comment by richas...@gmail.com on 29 Jul 2011 at 5:08

GoogleCodeExporter commented 9 years ago
I am having this same issue.  I have spark version 2.6.3 with redfire version 
0.0.9 running in xp.  I get the grey window without the Enter...Connected 
message.  However ever on another machine with Win7 x64 running the same 
versions I get these results.  Running Openfire version 3.7.0 with 0.0.0.05.

Original comment by bigjaco...@gmail.com on 19 Aug 2011 at 3:17

GoogleCodeExporter commented 9 years ago
Flash 11 Beta seems to fix this.

Original comment by chance1c...@gmail.com on 22 Aug 2011 at 2:56

GoogleCodeExporter commented 9 years ago
Updating Flash to 10.3 fixed the issues for us.

Original comment by jekstei...@gmail.com on 14 Sep 2011 at 9:24

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I had the exactly same problems as described here before. I also noticed that 
the systems involved were only 64Bit OS's.
After installing the Flash 11 (Beta) for Internet explorer (and the other for 
all other browsers) it's now working.
Flash Update 10.3 didn't solve it for me (probably because there was no 64Bit 
release)

Original comment by dockwo...@gmail.com on 20 Sep 2011 at 8:19

GoogleCodeExporter commented 9 years ago
Also upgrade from 3.6.4 on Centos to 3.7.1 and upgraded from Spark 2.5.8 in 
windows to 2.6.3 and using Redfire 0.0.0.06  Had alot of the same problems as 
listed above  - Just kept getting a grey window.  Also kept getting a redfire 
tab at the top of my Spark chat client..  2 of them at times.  To solve it, I 
uninstalled spark completely.  Then I manually deleted the spark folder that is 
in program files and the one in appdata.  Yep  Its in two places.  Gotta get 
them both.  Then, because I was already running Flash 11 in Firefox, I updated 
my flash using IE also.  Apparently Sparks wants flash updated on IE and 
doesn't care what you are running in Firefox.  Redfire works in Spark now.  All 
that uninstalling, and spark directory deleting seems to be pretty mandatory if 
you were running 2.5.8 with the old Red5 plugins before.  Hope that helps 
someone (-;

Original comment by bainan1...@gmail.com on 11 Oct 2011 at 5:21

GoogleCodeExporter commented 9 years ago
I simply updated flash to 11 and now video works. 

Original comment by cais...@gmail.com on 14 Oct 2011 at 3:52

GoogleCodeExporter commented 9 years ago
I was able to use the samples on the webpage 
but any launch of red5 audio / video from chat was causing the grey screen with 
...connected message at the bottom
upgraded server to 3.7.1
 - already had latest client and latest red5
ensured firewall was open for tcp /udp for ports
5222
7070
3478
1935
10020

ensured clients had stun server entry (stun.ten.net)

in flash settings on client gave my server permissions for full access to the 
mic / camera devices 

then noticed this in logs/error.log on the server

:com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Table 
'somerandomdb.ofvoicebridge' doesn't exist

found SQL create syntax in this file
plugins/redfire/database/voicebridge_mysql.sql

loaded mysql CLI
mysql -uroot -p somerandomdb
source plugins/redfire/database/voicebridge_mysql.sql;

got errros on create tables 
I replace the bigserial field types (*not mysql field definitions?) with 
varchar(255)
there were 2 or 3 of them

stopped server
restarted server
closed clients
restarted clients

Original comment by shanehar...@gmail.com on 20 Oct 2011 at 6:28

GoogleCodeExporter commented 9 years ago
the problem is the spark client
I've solved as follows
flash pluging version should be bellow 10.3 in IE (not firefox or other)
openfire version: 3.7.1
spark version: 2.6.3
plugin redfire version: 0.0.9
save a file in notepad with these lines as .bat
------ BEGIN SCRIPT ---------
@echo off
echo YOU MUST BE LOGGED IN USER USING THE SPARK! PRESS ANY KEY TO CONTINUE, OR 
CLOSE THIS WINDOW TO CANCEL.
pause
mkdir "%HOMEPATH%\Spark"
CD "%HOMEPATH%\Spark"
echo #Red5 Settings> red5.properties
echo server=(NAMESERVER OR IP)>> red5.properties
echo port=7070>> red5.properties
echo popup=true>> red5.properties
echo protocol=http://>> red5.properties
CD "%APPDATA%\Spark\plugins\redfire-plugin"
echo #Red5 Settings> red5.properties
echo server=(NAMESERVER OR IP)>> red5.properties
echo port=7070>> red5.properties
echo popup=true>> red5.properties
echo protocol=http://>> red5.properties
-------END SCRIP------

considering changing what is in parentesis by the name of your server
Excuse me English, I´m not anglophone
i hope this been helpful

Original comment by ljrestr...@gmail.com on 17 Jan 2012 at 3:24

GoogleCodeExporter commented 9 years ago
I'm still having the same problems described above.  I'm cureently using:
openfire 3.7.1
spark 2.6.3
redfire-plugin 0.0.9
Flash player 11, latest version
Internet Explorer 8
Windows 7

I managed to edit the red5.properties file so that the plugin with point to

server=im.(domain).com
port=7070
popup=true
protocol=http://

and copied it to the AppData\Roaming\Spark\plugins\redfire-plugin directory.
Either Spark or Redfire copied the file from the redfire-plugin folder to the 
Spark folder.

The trouble was that it worked fine within the private corporate network, but 
not over he Internet.  We still don't know why it behave this way at all, so if 
anyone can help me here, it would be great.

Original comment by stormsor...@gmail.com on 1 Mar 2012 at 4:57

GoogleCodeExporter commented 9 years ago
I've been messing with this for a couple. 
Currently running WIN7 x64 - latest flash, spark, openfire, and plugins.

Spark on 64 bit machine would give grey screen. 
Spark on XP X86 working voice window would pop up.

To test I did:

I downloaded pidgin IM client and connected to my XAMPP server on the 64 bit 
Win7 machine. I had a co-worker load up spark on XP machine and attempted 
video/voice call.  

Message came through on pidgin from spark as a link. Clicked link and Firefox 
came up and it worked, voice and video. 

So I think there is an issue with the Spark Flash Browser in 64 bit machines... 
I will continue to experiment. 

Original comment by Fazan....@gmail.com on 7 Nov 2012 at 2:29

GoogleCodeExporter commented 9 years ago
Even after I modified the red5.properties file and restarted Spark, it still 
displays 
the original information:

http://domain.local:7070/redfire/video/redfire_2way.html?you=myname&me=administr
ator&key=dd57f7dd

Is this because I am using Spark in Active Directory ?  Are there settings in 
Openfire that I need to change to modify the link (instead of the 
red5.properties)?

Original comment by Tim.xxx....@gmail.com on 11 Dec 2013 at 4:12

GoogleCodeExporter commented 9 years ago
Feel free to check out my red5 video broadcasting and streaming service at 
http://www.jabber-server.de/red5/publisher/

I also got video/voice 1on1 chat working for users of my xmpp server using 
spark as a client. More info over here (in german language): 
http://www.jabber-server.de/red5/

Original comment by fullserv...@gmail.com on 12 Dec 2013 at 2:56