OSDN Git Service
(root)
/
vem
/
vem.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7cb6113
)
create how to use cameraSocket
author
ayaka
<gyzdisk@gmail.com>
Wed, 23 Dec 2015 11:11:30 +0000
(20:11 +0900)
committer
ayaka
<gyzdisk@gmail.com>
Wed, 23 Dec 2015 11:11:30 +0000
(20:11 +0900)
doc/cameraSocket.txt
[new file with mode: 0644]
patch
|
blob
diff --git a/doc/cameraSocket.txt
b/doc/cameraSocket.txt
new file mode 100644
(file)
index 0000000..
9818c48
--- /dev/null
+++ b/
doc/cameraSocket.txt
@@ -0,0
+1,13
@@
+# サーバーが送るメッセージ
+
+クライアントと通信確立時
+{"type":"connection", "data":"open"}
+
+画像リクエスト時(画像データを返す)
+{"type":"img", "data":画像の配列}
+
+# クライアントが送るメッセージ
+
+画像リクエスト時
+{"type":"req", "data":"img"}
+