web-phone / exchan

MIT License
0 stars 0 forks source link

docs: JSON data structure #18

Open haruki7049 opened 2 months ago

haruki7049 commented 2 months ago

JSON data structure

It has:

haruki7049 commented 2 months ago
[
  {
    "username": "haruki7049",
    "device": [
      {
        "name": "phone",
        "hash": ""
      }
    ]
  }
]
haruki7049 commented 2 months ago

STUNサーバーにグローバルIPとポートを求めて、その情報をexchanに定期的に渡す(IPの変更を検知する)

haruki7049 commented 2 months ago

confidential info

[
  {
    "daemon_hash": "~~~",
    "ip": "111.111.111.111",
    "port": "99999"
  }
]