On a one-to-one adult video chat you press start, can set your preferences, and are connected with another user who declared themselves 18+, probably someone you will never see again. Either of you can end the chat at any second. The person on the other side is still a stranger, and that is the point.
Nobody knows your story and nobody expects a second date. The same thing makes it risky: you know nothing about them either, including what software runs on their side of the screen.
So the honest summary is this. You lower the risk when you masturbate with strangers on camera if you treat every match as public, keep identifying details out of view and leave the moment something feels off.