Skip to content

Conversation

@egreenmachine
Copy link
Collaborator

Fixes for Firefox 34 and some other things

joseph-onsip and others added 14 commits November 24, 2014 16:17
(cherry picked from commit 6552a7e)
This avoids the following sort of situation, which Firefox (as of 33.0.2) has
trouble with:

  var RTCPeerConnection =
    window.webkitRTCPeerConnection || window.mozRTCPeerConnection;

  new RTCPeerConnection({
      'iceServers': [{
          "url": ["stun:stun.l.google.com", "stun:stun2.l.google.com"]
      }]
  })

addresses onsip#117

(cherry picked from commit 28523b6)
ua.invite and session.accept can both be passed an
HTMLMediaElement (audio or video) in lieu of options.
Remote media will render to that element, and constraints
will be inferred from the type of element (audio only for audio,
audio-video for video).

Example:

new SIP.UA().invite('welcome@onsip.com', document.getElementsByTagName('audio')[0]);

(cherry picked from commit d238523)
(cherry picked from commit fcd8161)

Conflicts:
	src/Hacks.js
	src/SIP.js
	src/WebRTC/MediaHandler.js
egreenmachine added a commit that referenced this pull request Nov 24, 2014
@egreenmachine egreenmachine merged commit 209fb9b into onsip:release Nov 24, 2014
@egreenmachine egreenmachine deleted the release-064 branch November 25, 2014 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants