hi perfect, i had a struggle trying to get properties loaded via the
setter methods and then called within the customgenerator method, how
did u do it, looks the same to me, i got blank variables !
This however is a problem, are you saying it has to handle both record
and playback streams in the one function, how do we tell the difference
? I guess checking if it has a .flv on the end is better, this is
hardcoding a live stream name of red5RecordDemo ?
public String generateFilename(IScope scope, String name,
String extension) {
String filename;
if (name.startsWith("red5RecordDemo"))
filename = recordPath + name;
else
filename = playbackPath + name;
if (extension != null)
// Add extension
filename += extension;
return filename;
}
Joachim Bauch wrote:
> Hi,
>
> I just finished another tutorial that describes how custom
> directories can be used for streams in Red5. Read it online at
> http://www.joachim-bauch.de/tutorials/red5/HOWTO-StreamCustomDirectories.txt
> or in the "docs" directory inside the repository.
>
> As usual, feedback is welcome...
>
> Joachim
>
> _______________________________________________
> Red5 mailing list
> [email protected]
> http://osflash.org/mailman/listinfo/red5_osflash.org
>
>
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org