Receive an offer
Last updated
Was this helpful?
Last updated
Was this helpful?
If you are joining a room where another user is waiting for you, the app needs to receive an offer (a session description in format) from the caller (the person initiating the call). The app expects this offer to be stored inside a structured data with an ID based on the name of the room. The call recipient then , which also contains an SDP description.
The app fetches a data identifier handle for the structured data that contains the offer.
The address of the structured data is based on the app ID (example.signaling.v1
) and the name of the room. The structured data is unversioned (type 500).
The app fetches a structured data handle using the data identifier handle of the offer.
The app drops the data identifier handle of the offer.
The app fetches the content of the structured data using the structured data handle.
The app drops the structured data handle of the offer.