Closed
Description
The current language implies that content can modify the local description like this:
pc.localDescription.type = "answer";
which would be a travesty (an interface as an attribute is by reference).
In light of #302 I propose we solve this by changing RTCSessionDescription
's parameters to readonly
, and change createOffer
and createAnswer
to resolve with RTCSessionDescriptionInit
instead.
Metadata
Metadata
Assignees
Labels
No labels