versatica/JsSIP — pull request #175 by wakamoleguy (2013-11-12 21:15:34+00:00)
Title: Proposed INVITE w/o SDP UAC behavior

We've been working on this as a custom feature, so I thought I'd push it back to the community for input. We've implemented INVITE w/o SDP as per RFC3261.

Implementation notes:

This is mostly built on the existing RTCSession structure. The media stream is still requested before inviting, and the stream is carried around on the session until it is needed. The application probably wants to add an `OfferToReceiveVideo: false` constraint when making audio-only calls.

RTCMediaHandler was modified to store RTCConstraints beyond initial creation, as we found browsers mostly didn't respect the setting until the createAnswer() call, and the session didn't want to carry it around for that long.

Thoughts?