When I set my application as live, it seems like when I dont stream anything and try to open the stream address via VLC Player, it playes recorded file. is there any way to prevent this?

I dont't want anything to be played if the streamer isn't sending any data