Hi, im not an expert on the API however ive been trying to work out how to get the generated filename using filenamegenerator on a broadcast close event so im able to do post processing of the file with ffmpeg. Ive been trying to get the filename generator class instance with a getter or somehow modifying ClientBroadcastStream to obtain the recoded filename seeing that it returns the publish name. Ive attempted to set it in the saveas method ie here is where the filename is set

String filename = generator.generateFilename(scope, name, ".flv", GenerationType.RECORD);

but im unable to get the getter method from this as id have to set it in the interface and break things i guess ?

public void streamBroadcastClose(IBroadcastStream stream) {
}

Let me know really close with a stills generator solution cheers.
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to