Talkilla/SPA API: Difference between revisions

Jump to navigation Jump to search
Line 90: Line 90:
Either the SPA or Talkilla can send a 'hangup' message:
Either the SPA or Talkilla can send a 'hangup' message:
From the SPA:
From the SPA:
  postMessage({topic: "hangup", data: {from: "+16501231234"}});
  postMessage({topic: "hangup", data: {peer: "+16501231234"}});
From Talkilla: event.data contains
From Talkilla: event.data contains
  {topic: "hangup", data: {to: "+16501231234"}}
  {topic: "hangup", data: {peer: "+16501231234"}}


=Data Channel API Documentation=
=Data Channel API Documentation=
This is still being defined
This is still being defined
Confirmed users
87

edits

Navigation menu