WhepOutputSettings.onPublishStop property

Callback to signify the WHEP output has stopped publishing media and will reject client connections

i.e. A WHEP output which has previously been usable, and has now had its source turned off, but may become usable in the future if a new source appears.

Signature:

onPublishStop?: () => void;