During setup of the live stream on the Camstreamer stream manager, select the Advance options tab
For YT
disable/do not tick - Enable DVR
Status after the end - Select > Unlisted/Private
Please see the example for YT:
For Facebook:
Simply select > Delete after live video ends