Hi this feature request was actually a simple one, to get outside of the 
spring context here is what ive added into filenamegenerator

so use file:/path/to/directory/video.flv

or file:C:/path/to/directory/video.flv

i need to test the C one as its going to be a windoze network drive but 
the slashes are forward not backward ?

   public String generateFilename(IScope scope, String name,
            String extension, GenerationType type) {
        String filename;

        if (type == GenerationType.RECORD)
            filename = recordPath + name;
        else
            filename = playbackPath + name;
        if (extension != null)
            // Add extension
            filename += extension;
 
     //   file:C:/papers/spring/IOCExamples/atm_file_props.properties
       return "file:" + filename;
   
    }

_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to