toJSON

The RTCSessionDescription.toJSON() method generates a JSON description of the object.

MDN Reference