Blazecode

Online Calling ChatRoom

Sep 23rd, 2019
179
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Initiate a phone call
  2.  
  3. <message to="..." type="headline" id="...">
  4. <extraParams xmlns="jabber:client">
  5. <moduleIdentifier>WebRTCVideoChat</moduleIdentifier>
  6. <signalType>call</signalType>
  7. <sessionID>...</sessionID>
  8. <callType>...</callType>
  9. <sdp>...</sdp>
  10. <platform>...</platform>
  11. <callerID>...</callerID>
  12. <opponentsIDs>
  13. <opponentID>...</opponentID>
  14. <opponentID>...</opponentID>
  15. ...
  16. </opponentsIDs>
  17. <userInfo>... </userInfo>
  18. </extraParams>
  19. </message>
  20.  
  21.  
  22. Accept a phone call
  23.  
  24. <message to="..." type="headline" id="...">
  25. <extraParams xmlns="jabber:client">
  26. <moduleIdentifier>WebRTCVideoChat</moduleIdentifier>
  27. <signalType>accept</signalType>
  28. <sessionID>...</sessionID>
  29. <sdp>...</sdp>
  30. <platform>...</platform>
  31. <userInfo>...</userInfo>
  32. </extraParams>
  33. </message>
  34.  
  35. To Reject a phone call
  36.  
  37. <message to="..." type="headline" id="...">
  38. <extraParams xmlns="jabber:client">
  39. <moduleIdentifier>WebRTCVideoChat</moduleIdentifier>
  40. <signalType>reject</signalType>
  41. <sessionID>...</sessionID>
  42. <platform>...</platform>
  43. <userInfo>...<userInfo>
  44. </extraParams>
  45. </message>
  46.  
  47. To hang up a phone call
  48.  
  49. <message to="..." type="headline" id="...">
  50. <extraParams xmlns="jabber:client">
  51. <moduleIdentifier>WebRTCVideoChat</moduleIdentifier>
  52. <signalType>hangUp</signalType>
  53. <sessionID>...</sessionID>
  54. <userInfo>...</userInfo>
  55. </extraParams>
  56. </message>
RAW Paste Data