Hi,
Im trying to create the following module:
-
record incoming {livestreamname} to {livestreamname}_temp.mp4 file, send notification to external app “recoring started for {livestreamname}”
-
when incoming {livestreamname} has stoped, save/move recorded copy to {livestreamname}.mp4, notify external app
-
repeat
the ModuleAutoRecordAdvancedExample has been of great help and I’m using it as a base, but there is an issue that i can not figure out:
I’ve noticed that the module will only ever use the first livestream streamname for all upcoming streams. The only thing different to the recorded copy filename is the timestamp. It doesn’t matter that the name of the livestream has changed, as it only ever uses the first streamname since applicationstart.
Could some one point me to how I would change this behaivor so that it uses the current streams name as the filename for storing?