Added the ability to cancel the recording entry replacement in special c...

...ases

1. case where the broadcast ends entirely
2. case where the client sends request to create a clip from the live stream