Confirmed users
87
edits
m (→Placing a call) |
|||
| Line 81: | Line 81: | ||
==Placing a call== | ==Placing a call== | ||
event.data contains | event.data contains | ||
{topic: "offer", data: {peer:"+33615827492", offer:{type:"offer", sdp:"v=0\r\no=Mozilla-SIPUA..."}}} | {topic: "offer", data: {peer: "+33615827492", offer: {type:"offer", sdp:"v=0\r\no=Mozilla-SIPUA..."}}} | ||
The SPA can reply with an "answer" or "reject" message. | The SPA can reply with an "answer" or "reject" message. | ||
postMessage({topic: "answer", data: {peer:"webrtc@mailinator.com", answer:{type:"answer", sdp:"v=0\r\no=Mozilla-SIPUA..."}}}); | postMessage({topic: "answer", data: {peer: "webrtc@mailinator.com", answer: {type:"answer", sdp:"v=0\r\no=Mozilla-SIPUA..."}}}); | ||
"reject" is not implemented yet. | "reject" is not implemented yet. | ||