createOffer

suspend fun createOffer(options: RTCOfferOptions = definedExternally): RTCSessionDescriptionInit(source)

The createOffer() method of the RTCPeerConnection interface initiates the creation of an SDP offer for the purpose of starting a new WebRTC connection to a remote peer.

MDN Reference