Description: Llegir una mica d'informació i tractar d'Aplicacions d'exemple Red5. Keywords: Aplicacions d'exemple Red5
W3CLogging Library and Example (RED5 Example Applications) Added: 21/11/09 10:51 AM (Eight months, ten days, twenty hours, twenty-two minutes, thirty-five seconds ago) Rating(0) Viewed(1366) Files(1)
loggingTest is a demo Red5 application (Red5Plugin project) to demonstrate server streaming logging into W3C log files and possibly socket and databases in the future.
Error: Failed to load processor NoteBox
No macro or processor named 'NoteBox' found
The server logging is enabled by making the application adaptor extend org.red5.server.adapter.StatisticsApplicationAdaptor? and then adding a log instance as a bean reference in the web.xml file.
The system works by using the scope name to determine which logger to use and will log to a directory of the same name as the scope name. The log files will append and rollover using a date filename pattern string.
The loggers can be preloaded on application startup if required also.
Configuration
Application adaptor must org.red5.server.adapter.StatisticsApplicationAdaptor? which produces the log events for each stream event like so
public class Application extends StatisticsApplicationAdaptor {
....
The logger bean must be configured in red5-web.xml with a reference name streamStatisticsLog (cannot get it to reference the ILogger interface as yet.) like so
This document explains in details how to setup a derby database connection using Hibernate and caching. This document assumes you are using Red5 0.8 and the latest Hibernate Release 3.3.1.
This update requires very latest Red5 svn trunk
The demo application is built using the Red5Plugin, simply import the project into eclipse.
http://www.hibernate.org/ DAO takes a similar approach to the Spring DAO JDBC setup but adds first and second level caching and example is described here docs:Red5 and Spring JDBC Hibernate.
Required Libraries
* aspectjweaver.jar - Found in Spring with dependancies distribution.
* c3p0-0.9.1.2.jar
* dom4j-1.6.1.jar - Hibernate dependancy, found in distribution
* javassist-3.4.GA.jar - Hibernate dependancy, found in distribution
* antlr-3.1.1.jar - Hibernate dependancy, found in distribution. Already included with Red5.
* commons-collections-3.2.1.jar - Hibernate dependancy, found in distribution. Already included with Red5.
* jta-1.1.jar - Hibernate dependancy, found in distribution. Already included with Red5.
* slf4j-api-1.5.2.jar - Hibernate dependancy, found in distribution. Already included with Red5.
* ehcache-1.6.0-beta1.jar - The latest ehcache which removes backport concurrent dependancy.
* jsr107cache-1.0.jar - EHCache 1.6 dependancy.
* derby-10.4.2.0.jar
* hibernate3.jar - Get the latest which is 3.3.1.
* spring-aop-2.5.5.jar - Already included with Red5.
* spring-orm Llegiu més sobre: Red5 and Hibernate
RED5 Server Side Playlists (RED5 Example Applications) Added: 21/11/09 10:33 AM (Eight months, ten days, twenty hours, forty minutes, thirty-five seconds ago) Rating(0) Viewed(3103) Files(1)
Will tell the application to start the stream on application startup, which will make it act like a real web tv stream. Otherwise the stream will startup on client connection.
Paraules clau: Security example for Red5 applications
Sets up page / swf url checks for playback security, publish names for publish security, and shared object names and checks for shared object security.
Playback Security Bean
Supply text files with domain entries seperated by a new line.