Example code for use with Red5 projects