GetUserMedia is the API in WebRTC that provides the means to access the camera or the microphone of the device.
It generates media tracks that can then be hooked into the PeerConnection and transmitted to other browsers and devices.
GetUserMedia is useful even without the RTC component as it offers developers the ability to take a screenshot of the user or record his voice locally.