Tell me, is it possible to independently interrupt the active http-request in the browser?
Example: by clicking ajax-ohm, I upload a webcam broadcast in MJPEG format to the block.
Broadcast goes, all the rules. But when loading the next broadcast, the previous one still works, loading the server with its own packets.
At the moment, the only solution found is to refresh the page. I would appreciate the answer if there is a different way to interrupt
ps To upload the broadcast using Fancybox
<a data-fancybox data-type="ajax" data-src="/camera?number=1" href="javascript:;">камера 1</a>