Reference of ProPTT2 CallbackAPI
Description of ProPTT2 CallbackAPI.
Function
Fired a press event of user's function key
1) requestMethod | POST |
---|---|
URL | {CallbackURL} |
Body :
field name | type | description | option |
---|---|---|---|
cmd | string | "fn", event commend | mandatory |
channelId | number | channel id of function | mandatory |
senderId | string | sender's id | mandatory |
senderName | string | URLencode(sender's name) | mandatory |
latitude | float | sender's latitude. if 0, unknown | mandatory |
longitude | float | sender's longitude. if 0, unknown | mandatory |
Example :
{ "cmd" : "fn", "channelId" : 3, "senderId" : "owner@company.com", "senderName" : "user%20name", "latitude" : 37.012, "longitude" : 127.106 } |
Start a video share
Fired a start event of a video share by a user
1) requestMethod | POST |
---|---|
URL | {CallbackURL} |
Body :
field name | type | description | option |
---|---|---|---|
cmd | string | "vc", event commend | mandatory |
videoChannelId | number | video channel's id | mandatory |
senderId | string | sender's id | mandatory |
senderName | string | URLencode(sender's name) | mandatory |
URL | string | URLencode(video channel's URL) | mandatory |
Example :
{ "cmd" : "vc", "videoChannelId" : 3, "senderId" : "owner@company.com", "senderName" : "user%20name", "URL" : "rtsp%3A%2F%2F10.0.0.11%3A41344%2F8523" } |
Reference
- Base16, Base64 : RFC 3548(https://www.ietf.org/rfc/rfc3548.txt)