Last active
December 27, 2015 17:39
-
-
Save lloydwatkin/7364034 to your computer and use it in GitHub Desktop.
session-accept in xmpp-ftw-jingle generating slightly incorrect XML c.f. that generated by stanza.io in comment #2 I'll need to dump 'session-accept' json from my demo code and I'll be able to build up against it
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"to":"[email protected]/8f182dd1-a252-4c03-af40-a13be32ca2fd", | |
"type":"set", | |
"jingle":{ | |
"contents":[ | |
{ | |
"name":"audio", | |
"description":{ | |
"descType":"rtp", | |
"media":"audio", | |
"payloads":[ | |
{ | |
"id":"111", | |
"name":"opus", | |
"clockrate":"48000", | |
"channels":"2", | |
"feedback":[ | |
], | |
"parameters":[ | |
{ | |
"key":"minptime", | |
"value":"10" | |
} | |
] | |
}, | |
{ | |
"id":"103", | |
"name":"ISAC", | |
"clockrate":"16000", | |
"channels":"1", | |
"feedback":[ | |
] | |
}, | |
{ | |
"id":"104", | |
"name":"ISAC", | |
"clockrate":"32000", | |
"channels":"1", | |
"feedback":[ | |
] | |
}, | |
{ | |
"id":"0", | |
"name":"PCMU", | |
"clockrate":"8000", | |
"channels":"1", | |
"feedback":[ | |
] | |
}, | |
{ | |
"id":"8", | |
"name":"PCMA", | |
"clockrate":"8000", | |
"channels":"1", | |
"feedback":[ | |
] | |
}, | |
{ | |
"id":"107", | |
"name":"CN", | |
"clockrate":"48000", | |
"channels":"1", | |
"feedback":[ | |
] | |
}, | |
{ | |
"id":"106", | |
"name":"CN", | |
"clockrate":"32000", | |
"channels":"1", | |
"feedback":[ | |
] | |
}, | |
{ | |
"id":"105", | |
"name":"CN", | |
"clockrate":"16000", | |
"channels":"1", | |
"feedback":[ | |
] | |
}, | |
{ | |
"id":"13", | |
"name":"CN", | |
"clockrate":"8000", | |
"channels":"1", | |
"feedback":[ | |
] | |
}, | |
{ | |
"id":"126", | |
"name":"telephone-event", | |
"clockrate":"8000", | |
"channels":"1", | |
"feedback":[ | |
] | |
} | |
], | |
"encryption":[ | |
], | |
"feedback":[ | |
], | |
"headerExtensions":[ | |
{ | |
"id":"1", | |
"senders":"both", | |
"uri":"urn:ietf:params:rtp-hdrext:ssrc-audio-level" | |
} | |
], | |
"ssrc":"3320549786", | |
"mux":true, | |
"ssrcs":[ | |
{ | |
"cname":"3LwUhN3epQ3Oyem4", | |
"msid":"N1hcOl2jMM4cLzWv3IVUy2xB0WqL53d1fE9a N1hcOl2jMM4cLzWv3IVUy2xB0WqL53d1fE9aa0", | |
"mslabel":"N1hcOl2jMM4cLzWv3IVUy2xB0WqL53d1fE9a", | |
"label":"N1hcOl2jMM4cLzWv3IVUy2xB0WqL53d1fE9aa0", | |
"ssrc":"3320549786" | |
} | |
] | |
}, | |
"transport":{ | |
"transType":"iceUdp", | |
"candidates":[ | |
], | |
"fingerprints":[ | |
{ | |
"hash":"sha-256", | |
"value":"90:11:D4:68:28:34:28:D4:35:19:E7:C2:CC:F6:C3:2A:A3:6C:4B:A9:F9:52:28:16:1D:46:8C:F8:3E:BD:8D:1C" | |
} | |
], | |
"ufrag":"iNi/Ld/zNnK+1WIr", | |
"pwd":"KLvEaaxcSvmHYR/1bTSQpXaE" | |
}, | |
"senders":"both" | |
}, | |
{ | |
"name":"video", | |
"description":{ | |
"descType":"rtp", | |
"media":"video", | |
"payloads":[ | |
{ | |
"id":"100", | |
"name":"VP8", | |
"clockrate":"90000", | |
"channels":"1", | |
"feedback":[ | |
] | |
}, | |
{ | |
"id":"116", | |
"name":"red", | |
"clockrate":"90000", | |
"channels":"1", | |
"feedback":[ | |
] | |
}, | |
{ | |
"id":"117", | |
"name":"ulpfec", | |
"clockrate":"90000", | |
"channels":"1", | |
"feedback":[ | |
] | |
} | |
], | |
"encryption":[ | |
], | |
"feedback":[ | |
], | |
"headerExtensions":[ | |
{ | |
"id":"2", | |
"senders":"both", | |
"uri":"urn:ietf:params:rtp-hdrext:toffset" | |
}, | |
{ | |
"id":"3", | |
"senders":"both", | |
"uri":"http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time" | |
} | |
], | |
"ssrc":"1791382073", | |
"mux":true, | |
"ssrcs":[ | |
{ | |
"cname":"3LwUhN3epQ3Oyem4", | |
"msid":"N1hcOl2jMM4cLzWv3IVUy2xB0WqL53d1fE9a N1hcOl2jMM4cLzWv3IVUy2xB0WqL53d1fE9av0", | |
"mslabel":"N1hcOl2jMM4cLzWv3IVUy2xB0WqL53d1fE9a", | |
"label":"N1hcOl2jMM4cLzWv3IVUy2xB0WqL53d1fE9av0", | |
"ssrc":"1791382073" | |
} | |
] | |
}, | |
"transport":{ | |
"transType":"iceUdp", | |
"candidates":[ | |
], | |
"fingerprints":[ | |
{ | |
"hash":"sha-256", | |
"value":"90:11:D4:68:28:34:28:D4:35:19:E7:C2:CC:F6:C3:2A:A3:6C:4B:A9:F9:52:28:16:1D:46:8C:F8:3E:BD:8D:1C" | |
} | |
], | |
"ufrag":"iNi/Ld/zNnK+1WIr", | |
"pwd":"KLvEaaxcSvmHYR/1bTSQpXaE" | |
}, | |
"senders":"both" | |
} | |
], | |
"groupings":[ | |
{ | |
"semantics":"BUNDLE", | |
"contents":[ | |
"audio", | |
"video" | |
] | |
} | |
], | |
"sid":"1383869983960", | |
"action":"session-accept" | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<iq id="932c2d46-50a5-4d42-ae95-f1f5567281eb-4" type="set" to="[email protected]/52e3bcdb-348a-4328-959a-c7da726c4852" from="[email protected]/83207ca9-b444-478d-baee-59ef1a67769d"> | |
<jingle action="session-accept" sid="1382385667733"> | |
<content name="audio" senders="both"> | |
<description ssrc="3670135077" media="audio"> | |
<payload-type name="opus" clockrate="48000" id="111" channels="2"> | |
<parameter value="10" name="minptime"/> | |
</payload-type> | |
<payload-type name="ISAC" clockrate="16000" id="103" channels="1"/> | |
<payload-type name="ISAC" clockrate="32000" id="104" channels="1"/> | |
<payload-type name="PCMU" clockrate="8000" id="0" channels="1"/> | |
<payload-type name="PCMA" clockrate="8000" id="8" channels="1"/> | |
<payload-type name="CN" clockrate="32000" id="106" channels="1"/> | |
<payload-type name="CN" clockrate="16000" id="105" channels="1"/> | |
<payload-type name="CN" clockrate="8000" id="13" channels="1"/> | |
<payload-type name="telephone-event" clockrate="8000" id="126" channels="1"/> | |
<rtp-hdrext id="1" senders="both" uri="urn:ietf:params:rtp-hdrext:ssrc-audio-level"/> | |
<rtcp-mux/> | |
<ssrc msid="63vus9w1v1o3pOEyQfyMsrXYosWaJLeeQaVi 63vus9w1v1o3pOEyQfyMsrXYosWaJLeeQaVia0" ssrc="3670135077" label="63vus9w1v1o3pOEyQfyMsrXYosWaJLeeQaVia0" cname="sb0WiD9k1VVvLgGA" mslabel="63vus9w1v1o3pOEyQfyMsrXYosWaJLeeQaVi"/> | |
</description> | |
<transport pwd="e6RSC7lTwqz1eTw34zeFz5a7" ufrag="DgY9QYq8+FtVUxmF"> | |
<fingerprint hash="sha-1">EE:17:2D:2D:B6:55:5F:28:88:71:87:FD:FD:6F:1C:8D:E3:24:E5:C0</fingerprint> | |
</transport> | |
</content> | |
<content name="video" senders="both"> | |
<description ssrc="641457731" media="video"> | |
<payload-type name="VP8" clockrate="90000" id="100" channels="1"> | |
<rtcp-fb type="ccm" subtype="fir"/> | |
<rtcp-fb type="nack"/> | |
<rtcp-fb type="goog-remb"/> | |
</payload-type> | |
<payload-type name="red" clockrate="90000" id="116" channels="1"/> | |
<payload-type name="ulpfec" clockrate="90000" id="117" channels="1"/> | |
<rtp-hdrext id="2" senders="both" uri="urn:ietf:params:rtp-hdrext:toffset"/> | |
<rtp-hdrext id="3" senders="both" uri="http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time"/> | |
<rtcp-mux/> | |
<ssrc msid="63vus9w1v1o3pOEyQfyMsrXYosWaJLeeQaVi 63vus9w1v1o3pOEyQfyMsrXYosWaJLeeQaViv0" ssrc="641457731" label="63vus9w1v1o3pOEyQfyMsrXYosWaJLeeQaViv0" cname="sb0WiD9k1VVvLgGA" mslabel="63vus9w1v1o3pOEyQfyMsrXYosWaJLeeQaVi"/> | |
</description> | |
<transport pwd="e6RSC7lTwqz1eTw34zeFz5a7" ufrag="DgY9QYq8+FtVUxmF"> | |
<fingerprint hash="sha-1">EE:17:2D:2D:B6:55:5F:28:88:71:87:FD:FD:6F:1C:8D:E3:24:E5:C0</fingerprint> | |
</transport> | |
</content> | |
<group semantics="BUNDLE"> | |
<content name="audio"/> | |
<content name="video"/> | |
</group> | |
</jingle> | |
</iq> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<iq id="0aea0:127" type="set" to="[email protected]/9606fb5c-dade-4a05-9079-cd74f5506537" from="[email protected]/3f099195-a844-4b60-93d4-c21367679dbe"> | |
<jingle action="session-accept" sid="1383867406726"> | |
<content name="audio" senders="both"> | |
<description ssrc="1607964067" media="audio"> | |
<payload-type name="opus" clockrate="48000" id="111" channels="2"> | |
<parameter value="10" name="minptime"/> | |
</payload-type> | |
<payload-type name="ISAC" clockrate="16000" id="103" channels="1"/> | |
<payload-type name="ISAC" clockrate="32000" id="104" channels="1"/> | |
<payload-type name="PCMU" clockrate="8000" id="0" channels="1"/> | |
<payload-type name="PCMA" clockrate="8000" id="8" channels="1"/> | |
<payload-type name="CN" clockrate="48000" id="107" channels="1"/> | |
<payload-type name="CN" clockrate="32000" id="106" channels="1"/> | |
<payload-type name="CN" clockrate="16000" id="105" channels="1"/> | |
<payload-type name="CN" clockrate="8000" id="13" channels="1"/> | |
<payload-type name="telephone-event" clockrate="8000" id="126" channels="1"/> | |
<encryption/> | |
<rtcp-mux/> | |
<ssrc msid="naWL2XyLIpJmb216sosC0ujUS6uOs1xe9Az8 naWL2XyLIpJmb216sosC0ujUS6uOs1xe9Az8a0" ssrc="1607964067" label="naWL2XyLIpJmb216sosC0ujUS6uOs1xe9Az8a0" cname="FEJk1Um2zYhbVCgE" mslabel="naWL2XyLIpJmb216sosC0ujUS6uOs1xe9Az8"/> | |
<rtp-hdrext id="1" senders="both"/> | |
</description> | |
<transport ufrag="dUcWmEa1f7wI4EDu" pwd="hiMSqAdj59F/BsuARiber6IP"> | |
<fingerprint hash="sha-256">90:11:D4:68:28:34:28:D4:35:19:E7:C2:CC:F6:C3:2A:A3:6C:4B:A9:F9:52:28:16:1D:46:8C:F8:3E:BD:8D:1C</fingerprint> | |
</transport> | |
</content> | |
<content name="video" senders="both"> | |
<description ssrc="691645426" media="video"> | |
<payload-type name="VP8" clockrate="90000" id="100" channels="1"/> | |
<payload-type name="red" clockrate="90000" id="116" channels="1"/> | |
<payload-type name="ulpfec" clockrate="90000" id="117" channels="1"/> | |
<encryption/> | |
<rtcp-mux/> | |
<ssrc msid="naWL2XyLIpJmb216sosC0ujUS6uOs1xe9Az8 naWL2XyLIpJmb216sosC0ujUS6uOs1xe9Az8v0" ssrc="691645426" label="naWL2XyLIpJmb216sosC0ujUS6uOs1xe9Az8v0" cname="FEJk1Um2zYhbVCgE" mslabel="naWL2XyLIpJmb216sosC0ujUS6uOs1xe9Az8"/> | |
<rtp-hdrext id="2" senders="both"/> | |
<rtp-hdrext id="3" senders="both"/> | |
</description> | |
<transport ufrag="dUcWmEa1f7wI4EDu" pwd="hiMSqAdj59F/BsuARiber6IP"> | |
<fingerprint hash="sha-256">90:11:D4:68:28:34:28:D4:35:19:E7:C2:CC:F6:C3:2A:A3:6C:4B:A9:F9:52:28:16:1D:46:8C:F8:3E:BD:8D:1C</fingerprint> | |
</transport> | |
</content> | |
</jingle> | |
</iq> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment