Closed Bug 928081 Opened 11 years ago Closed 9 years ago

SetLocalDescription should check for SDP changes and give errors if changed.

Categories

(Core :: WebRTC: Signaling, defect, P2)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1095226

People

(Reporter: ehugg, Assigned: ehugg)

References

Details

Attachments

(2 obsolete files)

We currently ignore SDP sent into SetLocalDescription.  We should instead check it against what we already have from CreatOffer or CreateAnswer and if changed, send up detailed errors of what was changed.  This is the first step in allowing changes to the SDP by the JS layer.
Assignee: nobody → ethanhugg
Blocks: 908794
Attachment #818659 - Attachment is obsolete: true
Attachment #822503 - Attachment is obsolete: true
Does this mean that Firefox currently uses the SDP created by createOffer method while doing setLocalDescription method and ignore the parameter passed to it? If this is how it works, how will an app developer change the SDP?
Rank: 25
Priority: -- → P2
(In reply to basar.daldal from comment #3)
> Does this mean that Firefox currently uses the SDP created by createOffer
> method while doing setLocalDescription method and ignore the parameter
> passed to it? If this is how it works, how will an app developer change the
> SDP?

   This is not the case anymore. Some work has already been done on this bug with the JSEP engine rewrite, and I believe we have other bugs for improving error checking on SetLocal, to catch modifications that we cannot support properly.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: