Hi,

 

Sorry I haven't had time to check out the latest version but I found this
bug with stream publishing. If getContext() is missing (which it is in
0.6rc3), it creates a folder and then tries to write to a different path
(generating an IOException). Can someone submit this to the repository?

 

- Aaron

 

 

                if (!res.exists()) {

                        // Make sure the destination directory exists

                        String path = res.getFile().getAbsolutePath();

                        int slashPos = path.lastIndexOf(File.separator);

                        if (slashPos != -1) {

                                path = path.substring(0, slashPos);

                        }

                        File tmp = new File(path);

                        if (!tmp.isDirectory()) {

                                tmp.mkdirs();

                        }

                        res = scope.getContext().getResource(filename);

                }

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

Reply via email to