Readonly
sessionFor most use cases explicitly using the session ID isn't necessary.
For some advanced use cases though, it's more convenient to store session ids and use peer.getSession, rather than using the session property from the setup methods directly.
Get an answer given an offer from elsewhere, to renegotiate the existing connection.
Optional
options: AnswerOptionsCreate a new offer for this session, to renegotiate the existing connection.
Optional
options: OfferOptionsGenerated using TypeDoc
Once a connection has been created, you can access its session API. This allows for renegotiation of an existing session, while persisting the same connection and ongoing handling process.