The property RTCSessionDescription.type is a read-only string value which describes the description's type.
RTCSessionDescription.type
MDN Reference