peerconnection.js 367 B

123456789101112131415
  1. /*!
  2. {
  3. "name": "RTC Peer Connection",
  4. "property": "peerconnection",
  5. "tags": ["webrtc"],
  6. "authors": ["Ankur Oberoi"],
  7. "notes": [{
  8. "name": "W3C Spec",
  9. "href": "https://www.w3.org/TR/webrtc/"
  10. }]
  11. }
  12. !*/
  13. define(['Modernizr', 'prefixed'], function(Modernizr, prefixed) {
  14. Modernizr.addTest('peerconnection', !!prefixed('RTCPeerConnection', window));
  15. });