Electronic – Capacitor on USB cable

usb

I was messing around with a USB camera. I wanted to change the cable because is trimmed but as I was cutting it I saw a small thing (image below). As I was trying to cut the casing and see what it has inside I saw a spark. I tried to connect it with another cable but I don't know if I'm gonna damage the camera or the USB port.

enter image description here

What is it and can I connect the camera without it?

Best Answer

I guess you're talking about the ferrite bead:

enter image description here

Source: Wikipedia - Ferrite bead

Its purpose is to prevent interference at high frequencies signals.

It may also work without it and with a cable as short as possible.