toJSON method

The RTCIceCandidate method toJSON() converts the RTCIceCandidate on which it's called into JSON.

A stringified version of the object can then be obtained by calling stringify() on the returned object.

Implementation

external RTCIceCandidateInit toJSON();