sdp-jingle-json
Advanced tools
Comparing version 2.1.1 to 2.1.2
@@ -92,3 +92,3 @@ var toSDP = require('./lib/tosdp'); | ||
return toJSON.toMediaJSON(sdp, { | ||
role: 'initiator', | ||
role: 'responder', | ||
direction: 'incoming', | ||
@@ -100,3 +100,3 @@ creator: creator | ||
return toJSON.toMediaJSON(sdp, { | ||
role: 'responder', | ||
role: 'initiator', | ||
direction: 'outgoing', | ||
@@ -103,0 +103,0 @@ creator: creator |
@@ -114,5 +114,7 @@ var SENDERS = require('./senders'); | ||
var payload = parsers.rtpmap(line); | ||
payload.parameters = []; | ||
payload.feedback = []; | ||
var fmtpLines = parsers.findLines('a=fmtp:' + payload.id, lines); | ||
// There should only be one fmtp line per payload | ||
fmtpLines.forEach(function (line) { | ||
@@ -119,0 +121,0 @@ payload.parameters = parsers.fmtp(line); |
{ | ||
"name": "sdp-jingle-json", | ||
"version": "2.1.1", | ||
"version": "2.1.2", | ||
"description": "A parser/serializer for SDP to JSON. Useful for converting SDP to other formats like Jingle for WebRTC signalling", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -28,3 +28,4 @@ module.exports = { | ||
"channels": "1", | ||
"feedback": [] | ||
"feedback": [], | ||
"parameters": [] | ||
}, | ||
@@ -36,3 +37,4 @@ { | ||
"channels": "1", | ||
"feedback": [] | ||
"feedback": [], | ||
"parameters": [] | ||
}, | ||
@@ -44,3 +46,4 @@ { | ||
"channels": "1", | ||
"feedback": [] | ||
"feedback": [], | ||
"parameters": [] | ||
}, | ||
@@ -52,3 +55,4 @@ { | ||
"channels": "1", | ||
"feedback": [] | ||
"feedback": [], | ||
"parameters": [] | ||
}, | ||
@@ -60,3 +64,4 @@ { | ||
"channels": "1", | ||
"feedback": [] | ||
"feedback": [], | ||
"parameters": [] | ||
}, | ||
@@ -68,3 +73,4 @@ { | ||
"channels": "1", | ||
"feedback": [] | ||
"feedback": [], | ||
"parameters": [] | ||
}, | ||
@@ -76,3 +82,4 @@ { | ||
"channels": "1", | ||
"feedback": [] | ||
"feedback": [], | ||
"parameters": [] | ||
}, | ||
@@ -84,3 +91,4 @@ { | ||
"channels": "1", | ||
"feedback": [] | ||
"feedback": [], | ||
"parameters": [] | ||
}, | ||
@@ -92,3 +100,4 @@ { | ||
"channels": "1", | ||
"feedback": [] | ||
"feedback": [], | ||
"parameters": [] | ||
} | ||
@@ -197,3 +206,4 @@ ], | ||
} | ||
] | ||
], | ||
"parameters": [] | ||
}, | ||
@@ -205,3 +215,4 @@ { | ||
"channels": "1", | ||
"feedback": [] | ||
"feedback": [], | ||
"parameters": [] | ||
}, | ||
@@ -213,3 +224,4 @@ { | ||
"channels": "1", | ||
"feedback": [] | ||
"feedback": [], | ||
"parameters": [] | ||
} | ||
@@ -216,0 +228,0 @@ ], |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
53653
1217