Monday 07 January 2008 8:35:04 am
We have a local server with Debian, Red5 and php 5.2.0. We have installed eZ 4.0 and eZ Flow extension without problems. Red5 works fine, we can record and publish recorded videos from Tomcat. We followed the tutorial but also some useful tips of other users. This is my apache conf of virtual host:
# Red5 Streams sharing
<VirtualHost 192.168.3.106:80>
<Directory /usr/lib/red5/webapps/test/streams>
Options FollowSymLinks
AllowOverride None
Allow From All
</Directory>
DocumentRoot /usr/lib/red5/webapps/test/streams
ServerName video.local.lan
</VirtualHost>
The virtual server works, we can see and use the stream demos. Then we have set the Record Live Video:
Name: Record Live Video
Stream server: rtmp://video.local.lan:1935/test/ File server: http://video.local.lan
When we publish it, the connection with the stream server looks OK since we can see the list of the Recorded videos, but the broadcaster.swf is not displayed, and if we click on one of the Recorded videos, no streaming.swf is displayed. On our server Red5 cannot be opened on localhost, that's why we cannot set the Stream server and the File server with localhost as shown in the setup guide. The virtual host configuration for eZ 4.0 is the standard:
<VirtualHost 192.168.3.106:80>
<Directory /var/www/local/>
Options FollowSymLinks
AllowOverride None
</Directory>
<IfModule mod_php5.c>
php_admin_flag safe_mode Off
php_admin_value register_globals 0
php_value magic_quotes_gpc 0
php_value magic_quotes_runtime 0
php_value allow_call_time_pass_reference 0
</IfModule>
DirectoryIndex index.php
<IfModule mod_rewrite.c>
RewriteEngine On
Rewriterule ^/var/storage/.* - [L]
Rewriterule ^/var/[^/]+/storage/.* - [L]
RewriteRule ^/var/cache/texttoimage/.* - [L]
RewriteRule ^/var/[^/]+/cache/texttoimage/.* - [L]
Rewriterule ^/design/[^/]+/(stylesheets|images|flash|javascript)/.* - [L]
Rewriterule ^/share/icons/.* - [L]
Rewriterule ^/extension/[^/]+/design/[^/]+/(stylesheets|images|javascripts?)/.* - [L]
Rewriterule ^/packages/styles/.+/(stylesheets|images|javascript)/[^/]+/.* - [L]
RewriteRule ^/packages/styles/.+/thumbnail/.* - [L]
RewriteRule ^/favicon\.ico - [L]
RewriteRule ^/robots\.txt - [L]
# Uncomment the following lines when using popup style debug.
# RewriteRule ^/var/cache/debug\.html.* - [L]
# RewriteRule ^/var/[^/]+/cache/debug\.html.* - [L]
RewriteRule .* /index.php
</IfModule>
DocumentRoot /var/www/local/
ServerName www.local.lan
ServerAlias admin.local.lan
ServerAlias eng.www.local.lan
ErrorLog /var/log/apache2/local.lan-error_log
CustomLog /var/log/apache2/local.lan-access_log combined
</VirtualHost>
Can someone explain us what is wrong? Cheers.
Sandra Parente
www.netbliss.it
|