Webcam - Connection rejected
pguillard - December 3, 2008 - 15:41
| Project: | Red5 Flash Server |
| Version: | 5.x-1.0 |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
I have red5 with samples running with my Webcam, drupal5 with everything detailed in documentation http://developer.test1212.org/doc/installing-red5-flash-server-drupal-mo....
When i do "Create Content > Webcam Video"
i get a popup "Connection rejected", and i can't find logs either in red5,drupal or httpd.
Somebody here knows what that means, is it the connection with RED5 or AMF connection to drupal?
Is there a need for a special webapp on red5, for instance test1212 that i can't find ??
Phil

#1
Make sure that you have the value for "Red5 Flash Server IP Address" correct in the administrative interface.
In particular, you don't need a port number after the IP address, so on my Mac, the value is 192.168.1.103 (and not 192.168.1.103:5080 or 192.168.1.103:1935). This was a little confusing (at least to a me) because to browse to the red5 server I set up, the port number is needed.
#2
I get the same error on Red5 0.8RC2...
The error log says:
[WARN] [DefaultQuartzScheduler_Worker-5] org.red5.server.net.rtmp.RTMPConnection - Closing RTMPMinaConnection from 85.216.134.130 : 51761 to (server ip) (in: 3517 out 3231 ), with id 30134161 due to long handshake
2009-02-14 19:12:04,830 [DefaultQuartzScheduler_Worker-5] WARN o.r.server.net.rtmp.RTMPConnection - Closing RTMPMinaConnection from 85.216.134.130 : 51761 to (server ip) (in: 3517 out 3231 ), with id 30134161 due to long handshake
If I go to http://(my ip):5080 I get the correct Red5 page.
Any idea?
#3
I got the same problem.
The admin page is shown with ip:5080 but adding a webcam node shows up
"connection failed"
on ip
and ip:5080
#4
I found that adding the webapps path to the ip address worked for me. I setup my server with some demos, so like:
Red5 Flash Server IP Address:: 192.168.0.100/oflaDemo
Red5 Flash Server webapps path::
/admin/settings/webcamvideo
Now on to figuring out the "Please enter Title" issue..
#5
It's showing connection failed and connection rejected messages, when adding the /oflaDemo at the end of the ip, it records, but it doesn't preview
i tested the red5 demos in three pc's and they're working, but i can't connect using the red5flashserver module, if anyone has one site that is working please let me know so i can check the code
thanks
#6
Same issue, though it sounds odd that you have to add in the publishing point /oflaDemo to the IP to get it to work.
Seems to be related to the JS functionality in videonoderecorder.js, however, at some point swftools have changed the swf function parameters which means the id attibute is no longer placed in the object ane embed tags.
On top of that it is calling the updateTitle function on the object and it doesn't seem to exist.
Would be very helpful if the source code of that swf was posted.
#7