How to use the sdp-transform.parsePayloads function in sdp-transform

To help you get started, we’ve selected a few sdp-transform examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github BroadSoft-Xtended / Library-ExSIP / src / SDP / main.js View on Github external
(function(JsSIP) {

  var parser = require('sdp-transform');

  JsSIP.Parser.parseSDP = parser.parse;
  JsSIP.Parser.writeSDP = parser.write;
  JsSIP.Parser.parseFmtpConfig = parser.parseFmtpConfig;
  JsSIP.Parser.parsePayloads = parser.parsePayloads;
  JsSIP.Parser.parseRemoteCandidates = parser.parseRemoteCandidates;

}(JsSIP));
github onsip / SIP.js / src / SDP / dist / SDP.js View on Github external
;(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o
github BroadSoft-Xtended / Library-ExSIP / src / SDP / dist / SDP.js View on Github external
(function(JsSIP) {

  var parser = require('sdp-transform');

  JsSIP.Parser.parseSDP = parser.parse;
  JsSIP.Parser.writeSDP = parser.write;
  JsSIP.Parser.parseFmtpConfig = parser.parseFmtpConfig;
  JsSIP.Parser.parsePayloads = parser.parsePayloads;
  JsSIP.Parser.parseRemoteCandidates = parser.parseRemoteCandidates;

}(JsSIP));

sdp-transform

A simple parser/writer for the Session Description Protocol

MIT
Latest version published 4 months ago

Package Health Score

70 / 100
Full package analysis