Closed (fixed)
Project:
FlashVideo
Version:
6.x-1.5-rc2
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
7 May 2009 at 04:36 UTC
Updated:
12 May 2009 at 01:48 UTC
i have configured open ssh on the server that red5 is installed on. i have created a folder at /usr/lib/red5/webapps/oflaDemo/streams/mysite. i have tested open ssh and it is working fine.
however the file never gets to the server at all.
in my flash video settings i have enabled streaming. i have set the rtmp address to rtmp://myred5serverurl.
the problem seems to be that the file never gets to the location on the server. why is this?
please help.
Comments
Comment #1
attheshow commentedCan you successfully run a secure copy command (scp) from the command line on the Drupal server and move a test file over to the Red5?
Comment #2
scarer commentedyes i can.
Comment #3
scarer commentedwhen i scp it over the video file works fine. it's just not getting sent there :(
Comment #4
attheshow commentedI'd recommend temporarily changing the code in flashvideo_streaming.module so that Drupal reports back the result of the SCP command in every attempt.
After line 237, you could try adding:
drupal_set_message('Attempted to move '.$file->filename .' to the streaming server.<br /><strong>Command Attempted:</strong> '. $scp_command .'<br /><strong>Error message:</strong> <pre>'. $scp_result .'</pre>', 'error');Comment #5
scarer commentedthanks so much for that info managed to track down the error. the apache user didn't have rights to read the .ssh files in the user's home on the server.
Comment #6
scarer commentedComment #7
attheshow commentedOk, awesome. I'm glad that worked out!