Talkilla/SPA API: Difference between revisions

Jump to navigation Jump to search
Line 165: Line 165:
Note: The media parameter is a temporary option until Firefox supports session re-negotiation. On receiving a resume message, Talkilla will only enable the audio/video tracks according to the specified parameters.
Note: The media parameter is a temporary option until Firefox supports session re-negotiation. On receiving a resume message, Talkilla will only enable the audio/video tracks according to the specified parameters.


==== Sending a Text Message ====
==== Text Messages ====


''This API only applies when the SPA advertises "nodatachannel" in its capabilities''
''This API only applies when the SPA advertises "nodatachannel" in its capabilities''
This message can be sent either way.


  {topic: "chat:message", data: {nick:"webrtc@mailinator.com", message: <string>, date: <date>}}
  {topic: "chat:message", data: {nick:"webrtc@mailinator.com", message: <string>, date: <date>}}
canmove, Confirmed users, Bureaucrats and Sysops emeriti
3,628

edits

Navigation menu