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

attheshow’s picture

Status: Active » Postponed (maintainer needs more info)

Can 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?

scarer’s picture

yes i can.

scarer’s picture

when i scp it over the video file works fine. it's just not getting sent there :(

attheshow’s picture

I'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');

scarer’s picture

thanks 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.

scarer’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)
attheshow’s picture

Ok, awesome. I'm glad that worked out!