eZ Systems has included in their last release of eZ Publish a client for the Red5 video streaming server.

The documentation is a bit short and you don't necessary have all the elements to complete a full installation. After two hours of hanging about, I succeeded. :-D

Apache configuration

About the Apache configuration, you must add the following lines :

Listen 100

NameVirtualHost *:100

<VirtualHost localhost:100>

<Directory path\to\Red5\webapps>

Options FollowSymLinks

AllowOverride None

Allow From All

</Directory>

DocumentRoot path\to\Red5\webapps

ServerName localhost

</VirtualHost>

The first two lines are declaring to Apache the use of port 100 and that some virtual host will listen to it.

The second part is the virtual host as well, what I've added is the "Allow From All" directive that forbidd everyone to access the video. We can tune that.

Content configuration

The Red5 flash client is set up with the content published. In the eZ Flow site package, you have a content named "Live Recorder" which will support the recoder and which can be configured by editing its content. We have three attributes:

  • Name : the name of the content : whatever.
  • Stream Server : it is the URL to the Red5 server. The protocole used is RTMP (watch out the spelling) and you must finish it by a slash :
rtmp://localhost:1935/test/
  • File Server : it is the URL of the Apache file server which deserves the saved files. It's not streams/streams like in the screenshot.
http://localhost:100/test/streams/

And then you plug your webcam and you can start to make some funny films... live !

Conclusion

This feature is very powerful and stunning, however, I didn't find how we can put a live stream online and how we can list all the video we have taken.

Red5 Wiki

eZ Publish™ copyright © 1999-2009 eZ Systems AS