MediaStreamRecording - TakayukiHoshi1984/DeviceConnect-Spec GitHub Wiki
ã¹ããŒãããã€ã¹ã«ããåçæ®åœ±ãåç»é²ç»ãŸãã¯é³å£°é²é³ãªã©ã®æäœãè¡ãAPIã
API | æŠèŠ |
---|---|
GET /gotapi/mediaStreamRecording/mediaRecorder | ã¹ããŒãããã€ã¹ãã䜿çšå¯èœãªã¬ã³ãŒããŒã®äžèŠ§ãååŸããã |
PUT /gotapi/mediaStreamRecording/muteTrack | ã¹ããŒãããã€ã¹ã«å¯ŸããŠåç»æ®åœ±ãé³å£°é²é³ã®ãã¥ãŒããªã¯ãšã¹ããéãã |
GET /gotapi/mediaStreamRecording/onPhoto | ã¹ããŒãããã€ã¹ã®åçæ®åœ±éç¥ã€ãã³ããååŸããã |
PUT /gotapi/mediaStreamRecording/onPhoto | ã¹ããŒãããã€ã¹ã®åçæ®åœ±éç¥ã€ãã³ããéå§ããã |
DELETE /gotapi/mediaStreamRecording/onPhoto | ã¹ããŒãããã€ã¹ã®åçæ®åœ±éç¥ã€ãã³ããåæ¢ããã |
GET /gotapi/mediaStreamRecording/onRecordingChange | ã¹ããŒãããã€ã¹ã§ã®åçæ®åœ±ãåç»æ®åœ±ãŸãã¯é³å£°é²é³ã®ç¶æ å€åéç¥ã€ãã³ãã ååŸããã |
PUT /gotapi/mediaStreamRecording/onRecordingChange | ã¹ããŒãããã€ã¹ã§ã®åçæ®åœ±ãåç»æ®åœ±ãŸãã¯é³å£°é²é³ã®ç¶æ å€åéç¥ã€ãã³ãã éå§ããã |
DELETE /gotapi/mediaStreamRecording/onRecordingChange | ã¹ããŒãããã€ã¹ã§ã®åçæ®åœ±ãåç»æ®åœ±ãŸãã¯é³å£°é²é³ã®ç¶æ å€åéç¥ã€ãã³ãã åæ¢ããã |
GET /gotapi/mediaStreamRecording/options | ã¹ããŒãããã€ã¹ãããµããŒãããŠããåçæ®åœ±ã åç»æ®åœ±ãé³å£°é²é³ã®ãªãã·ã§ã³ãååŸããã |
PUT /gotapi/mediaStreamRecording/options | ã¹ããŒãããã€ã¹ãããµããŒãããŠããåçæ®åœ±ã åç»æ®åœ±ãé³å£°é²é³ã®ãªãã·ã§ã³ãèšå®ããã |
PUT /gotapi/mediaStreamRecording/pause | ã¹ããŒãããã€ã¹ã«å¯ŸããŠåç»æ®åœ±ãŸãã¯é³å£°é²é³ã®äžæåæ¢ãªã¯ãšã¹ããéãã |
GET /gotapi/mediaStreamRecording/preview | ã¹ããŒãããã€ã¹ã§ã®åç»æ®åœ±äžã«ãåç»ã®ãã¬ãã¥ãŒç»åãååŸããã |
PUT /gotapi/mediaStreamRecording/preview | ã¹ããŒãããã€ã¹ã§ã®åç»æ®åœ±äžã«ãåç»ã®ãã¬ãã¥ãŒç»åãåä¿¡ãéå§ããã |
DELETE /gotapi/mediaStreamRecording/preview | ã¹ããŒãããã€ã¹ã§ã®åç»æ®åœ±äžã«ãåç»ã®ãã¬ãã¥ãŒç»åãåä¿¡ãåæ¢ããã |
PUT /gotapi/mediaStreamRecording/preview/mute | é³å£°ãä»å ãããŠããPreviewæ åã«å¯Ÿãã ãã®æ åã®é³å£°ããã¥ãŒãç¶æ ã«ãããªã¯ãšã¹ããéãã |
DELETE /gotapi/mediaStreamRecording/preview/mute | é³å£°ãä»å ãããŠããPreviewæ åã«å¯Ÿãã ãã®æ åã®é³å£°ã®ãã¥ãŒãç¶æ ã解é€ãããªã¯ãšã¹ããéãã |
POST /gotapi/mediaStreamRecording/record | ã¹ããŒãããã€ã¹ã«å¯ŸããŠãåç»æ®åœ±ãé³å£°é²é³ã®éå§ãªã¯ãšã¹ããéãã |
PUT /gotapi/mediaStreamRecording/resume | ã¹ããŒãããã€ã¹ã«å¯ŸããŠäžæåæ¢ç¶æ ã«ããåç»æ®åœ±ãŸãã¯é³å£°é²é³ã® åéãªã¯ãšã¹ããéãã |
PUT /gotapi/mediaStreamRecording/stop | ã¹ããŒãããã€ã¹ã«å¯ŸããŠåç»æ®åœ±ãŸãã¯é³å£°é²é³ã®çµäºãªã¯ãšã¹ããéãã |
POST /gotapi/mediaStreamRecording/takePhoto | ã¹ããŒãããã€ã¹ã«å¯ŸããŠåçæ®åœ±ãªã¯ãšã¹ããéãã |
PUT /gotapi/mediaStreamRecording/unmuteTrack | ã¹ããŒãããã€ã¹ã«å¯ŸããŠåç»æ®åœ±ãé³å£°é²é³ã®ãã¥ãŒã解é€ãªã¯ãšã¹ããéãã |
one-shot
ã¹ããŒãããã€ã¹ãã䜿çšå¯èœãªã¬ã³ãŒããŒã®äžèŠ§ãååŸããã
ã¹ããªãŒãã³ã°é ä¿¡ããæ©èœãã¬ã³ãŒããŒãšããŠæ±ãããšãã§ããã äŸãã°ãã¹ããŒããã©ã³ã®ã«ã¡ã©ã®æ åã ã¹ããŒããã©ã³ã®ãã¹ã¯ãããã®ã¹ã¯ãªãŒã³ãã£ã¹ããªã©ãã¬ã³ãŒããšããŠæ±ã£ããããããšãã§ããã
ç©çå | ããŒã¿å | å¿ é | 説æ |
---|---|---|---|
serviceId | string | Yes | ãµãŒãã¹IDãååŸå¯Ÿè±¡ã¹ããŒãããã€ã¹ |
è«çå | ç©çå | ããŒã¿å | å¿ é | 説æ | ||
---|---|---|---|---|---|---|
åŠççµæ | result | integer | Yes | 0: æ£åžžå¿ç 0以å€: ç°åžžå¿ç |
||
ã·ã¹ãã å | product | string | Yes | DeviceConnectã·ã¹ãã ã®ååã | ||
ã·ã¹ãã ããŒãžã§ã³ | version | string | Yes | DeviceConnectã·ã¹ãã ã®ããŒãžã§ã³åã | ||
眲å | hmac | string | No | ã¬ã¹ãã³ã¹ã«å¯Ÿãã眲åã ã¢ããªã±ãŒã·ã§ã³åŽããäºåã«HMACããŒãå ±æãããŠããå Žåã¯å¿ é ã |
||
ã¬ã³ãŒããŒãªã¹ã | recorders | array(object) | Yes | ã¬ã³ãŒããŒæ å ±ã®é åã | ||
ã¬ã³ãŒããŒID | id | string | Yes | ã¬ã³ãŒããŒãèå¥ããIDã | ||
ã¬ã³ãŒããŒå | name | string | Yes | ã¬ã³ãŒããŒåã | ||
ã¬ã³ãŒããŒã®ç¶æ | state | string | Yes | ã¬ã³ãŒããŒã®ç¶æ ã | ||
MIME Type | mimeType | string | Yes | ã¬ã³ãŒããŒã®ãšã³ã³ãŒãããã¿ã€ãã | ||
ã³ã³ãã£ã° | config | string | Yes | ã«ã¡ã©ã«èšå®ãããå Žåã«ã¯ãããã«æååãšããŠããŒã¿ãæ ŒçŽãããŠããã | ||
ç»åã®æšªå¹ | imageWidth | integer | No | ã¬ã³ãŒããŒã®çŸåšã®æšªå¹ ãåäœã¯ãã¯ã»ã«ãé²é³ã®å Žåã¯çç¥å¯ã | ||
ç»åã®çžŠå¹ | imageHeight | integer | No | ã¬ã³ãŒããŒã®çŸåšã®çžŠå¹ ãåäœã¯ãã¯ã»ã«ãé²é³ã®å Žåã¯çç¥å¯ã | ||
ãã¬ãã¥ãŒã®æšªå¹ | previewWidth | integer | No | ãã¬ãã¥ãŒã®çŸåšã®æšªå¹ ãåäœã¯ãã¯ã»ã«ãé²é³ã®å Žåã¯çç¥å¯ã | ||
ãã¬ãã¥ãŒã®çžŠå¹ | previewHeight | integer | No | ãã¬ãã¥ãŒã®çŸåšã®çžŠå¹ ãåäœã¯ãã¯ã»ã«ãé²é³ã®å Žåã¯çç¥å¯ã | ||
ãã¬ãã¥ãŒã®æ倧ãã¬ãŒã ã¬ãŒã | previewMaxFrameRate | float | No | çŸåšã®ãã¬ãã¥ãŒã®ãã¬ãŒã ã¬ãŒãã®æ倧å€ãåäœã¯fpsã é²é³ã®å Žåã¯çç¥å¯ã |
||
é³å£°æ å ± | audio | object | No | é²é³ããé³å£°ã«é¢ããæ å ±ã | ||
ãã£ã³ãã«æ° | channels | integer | Yes | é³å£°ã®ãã£ã³ãã«æ°ã | ||
ãµã³ãã«ã¬ãŒã | sampleRate | float | Yes | é³å£°ã®ãµã³ãã«ã¬ãŒããåäœã¯Hzã | ||
ãµã³ãã«ãµã€ãº | sampleSize | integer | Yes | é³å£°ã®ãµã³ãã«ãµã€ãºãåäœã¯ãããã | ||
ãããã¯ãµã€ãº | blockSize | integer | Yes | é³å£°ã®ãããã¯ãµã€ãºãåäœã¯ãã€ãã |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "recorders" : [ { "id" : "photo_0", "name" : "Dummy Camera Recorder - back", "state" : "inactive", "imageWidth" : 3264, "imageHeight" : 2448, "previewWidth" : 640, "previewHeight" : 480, "previewMaxFrameRate" : 10, "mimeType" : "image/png", "config" : "" }, { "id" : "photo_1", "name" : "Dummy Camera Recorder - front", "state" : "inactive", "imageWidth" : 1280, "imageHeight" : 960, "previewWidth" : 640, "previewHeight" : 480, "previewMaxFrameRate" : 10, "mimeType" : "image/png", "config" : "" }, { "id" : "video_0", "name" : "Dummy Video Recorder - back", "state" : "inactive", "imageWidth" : 640, "imageHeight" : 480, "mimeType" : "video/3gp", "config" : "" }, { "id" : "video_1", "name" : "Dummy Video Recorder - front", "state" : "inactive", "imageWidth" : 640, "imageHeight" : 480, "mimeType" : "video/3gp", "config" : "" }, { "id" : "audio", "name" : "Dummy Audio Recorder", "state" : "inactive", "mimeType" : "audio/3gp", "config" : "" }, { "id" : "screen", "name" : "Dummy Screen", "state" : "inactive", "imageWidth" : 1080, "imageHeight" : 1776, "previewWidth" : 270, "previewHeight" : 444, "previewMaxFrameRate" : 10, "mimeType" : "video/x-mjpeg", "config" : "" } ] }
one-shot
ã¹ããŒãããã€ã¹ã«å¯ŸããŠåç»æ®åœ±ãé³å£°é²é³ã®ãã¥ãŒããªã¯ãšã¹ããéãã
ãããªãšãªãŒãã£ãªãªã©ã®è€æ°ãã©ãã¯ãå«ãŸããæ®åœ±äžã¡ãã£ã¢ã«ãããŠã¯ã ãªãŒãã£ãªãã©ãã¯ããã¥ãŒããããã
ç©çå | ããŒã¿å | å¿ é | 説æ |
---|---|---|---|
serviceId | string | Yes | ãµãŒãã¹IDãååŸå¯Ÿè±¡ã¹ããŒãããã€ã¹ |
target | string | No | ã¿ãŒã²ãããã¬ã³ãŒããŒãèå¥ããIDã çç¥ãããå Žåã«ã¯ããã©ã«ãã®ã¬ã³ãŒããŒã䜿çšããã ããã€ã¹ãé³å£°ã»åç»ã®äž¡æ¹ã®ã¬ã³ãŒããŒããµããŒãããå Žåã ã©ã¡ãã®ã¬ã³ãŒããŒã䜿çšããããã©ããã¯ããã€ã¹ãã©ã°ã€ã³äŸåãšããã |
è«çå | ç©çå | ããŒã¿å | å¿ é | 説æ |
---|---|---|---|---|
åŠççµæ | result | integer | Yes | 0: æ£åžžå¿ç 0以å€: ç°åžžå¿ç |
ã·ã¹ãã å | product | string | Yes | DeviceConnectã·ã¹ãã ã®ååã |
ã·ã¹ãã ããŒãžã§ã³ | version | string | Yes | DeviceConnectã·ã¹ãã ã®ããŒãžã§ã³åã |
眲å | hmac | string | No | ã¬ã¹ãã³ã¹ã«å¯Ÿãã眲åã ã¢ããªã±ãŒã·ã§ã³åŽããäºåã«HMACããŒãå ±æãããŠããå Žåã¯å¿ é ã |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
one-shot
ã¹ããŒãããã€ã¹ã®åçæ®åœ±éç¥ã€ãã³ããååŸããã
ãã©ã°ã€ã³åŽã§ãã£ãã·ã¥ããŠããææ°ã®ã€ãã³ãã¡ãã»ãŒãžã1ã€ååŸããã
ç©çå | ããŒã¿å | å¿ é | 説æ |
---|---|---|---|
serviceId | string | Yes | ãµãŒãã¹IDãååŸå¯Ÿè±¡ã¹ããŒãããã€ã¹ |
è«çå | ç©çå | ããŒã¿å | å¿ é | 説æ | |
---|---|---|---|---|---|
åŠççµæ | result | integer | Yes | 0: æ£åžžå¿ç 0以å€: ç°åžžå¿ç |
|
ã·ã¹ãã å | product | string | Yes | DeviceConnectã·ã¹ãã ã®ååã | |
ã·ã¹ãã ããŒãžã§ã³ | version | string | Yes | DeviceConnectã·ã¹ãã ã®ããŒãžã§ã³åã | |
眲å | hmac | string | No | ã¬ã¹ãã³ã¹ã«å¯Ÿãã眲åã ã¢ããªã±ãŒã·ã§ã³åŽããäºåã«HMACããŒãå ±æãããŠããå Žåã¯å¿ é ã |
|
åçããŒã¿ | photo | object | Yes | æ®åœ±ãããåçããŒã¿ã | |
URI | uri | string | No | æ®åœ±ãããåçã®URIã | |
ãã¡ã€ã«ãã¹ | path | string | Yes | ãã¡ã€ã«ãååšãããã¹ãã«ãŒãã¯ããã€ã¹ãã©ã°ã€ã³ããšã«ç°ãªãã File APIã§äœ¿çšå¯èœã |
|
MIME Type | mimeType | string | Yes | æ®åœ±ãããåçã®MIME Typeãåç»ã»é³å£°ãèå¥ããããã«äœ¿çšããã |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "uri" : "Dummy URI", "path" : "Dummy Path" }
event
ã¹ããŒãããã€ã¹ã®åçæ®åœ±éç¥ã€ãã³ããéå§ããã
ã¹ããŒãããã€ã¹ã§ãµããŒãããŠããªããã©ã¡ãŒã¿ãããå Žåã«ã¯ã ãã®ãã©ã¡ãŒã¿ãçç¥ããã
ç©çå | ããŒã¿å | å¿ é | 説æ |
---|---|---|---|
serviceId | string | Yes | ãµãŒãã¹IDãååŸå¯Ÿè±¡ã¹ããŒãããã€ã¹ |
interval | long | No | ããã€ã¹ãã©ã°ã€ã³ãã€ãã³ããéä¿¡ããééã |
è«çå | ç©çå | ããŒã¿å | å¿ é | 説æ |
---|---|---|---|---|
åŠççµæ | result | integer | Yes | 0: æ£åžžå¿ç 0以å€: ç°åžžå¿ç |
ã·ã¹ãã å | product | string | Yes | DeviceConnectã·ã¹ãã ã®ååã |
ã·ã¹ãã ããŒãžã§ã³ | version | string | Yes | DeviceConnectã·ã¹ãã ã®ããŒãžã§ã³åã |
眲å | hmac | string | No | ã¬ã¹ãã³ã¹ã«å¯Ÿãã眲åã ã¢ããªã±ãŒã·ã§ã³åŽããäºåã«HMACããŒãå ±æãããŠããå Žåã¯å¿ é ã |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
è«çå | ç©çå | ããŒã¿å | å¿ é | 説æ | |
---|---|---|---|---|---|
ãµãŒãã¹ID | serviceId | string | Yes | ã€ãã³ããéä¿¡ãããµãŒãã¹ã®ID | |
ãããã¡ã€ã«å | profile | string | Yes | ãããã¡ã€ã«åã | |
ã€ã³ã¿ãŒãã§ãŒã¹å | interface | string | Yes | ã€ã³ã¿ãŒãã§ãŒã¹åã | |
ã¢ããªãã¥ãŒãå | attribute | string | Yes | ã¢ããªãã¥ãŒãåã | |
åçããŒã¿ | photo | object | Yes | æ®åœ±ãããåçããŒã¿ã | |
URI | uri | string | No | æ®åœ±ãããåçã®URIã | |
ãã¡ã€ã«ãã¹ | path | string | Yes | ãã¡ã€ã«ãååšãããã¹ãã«ãŒãã¯ããã€ã¹ãã©ã°ã€ã³ããšã«ç°ãªãã File APIã§äœ¿çšå¯èœã |
|
MIME Type | mimeType | string | Yes | æ®åœ±ãããåçã®MIME Typeãåç»ã»é³å£°ãèå¥ããããã«äœ¿çšããã |
{ "serviceId" : "Host.exampleId.localhost.deviceconnect.org", "profile" : "mediastreamrecording", "attribute" : "onphoto", "photo" : { "uri" : "Dummy URI", "path" : "Dummy Path", "mimeType" : "image/png" } }
event
ã¹ããŒãããã€ã¹ã®åçæ®åœ±éç¥ã€ãã³ããåæ¢ããã
ã¹ããŒãããã€ã¹ã§ãµããŒãããŠããªããã©ã¡ãŒã¿ãããå Žåã«ã¯ã ãã®ãã©ã¡ãŒã¿ãçç¥ããã
ç©çå | ããŒã¿å | å¿ é | 説æ |
---|---|---|---|
serviceId | string | Yes | ãµãŒãã¹IDãååŸå¯Ÿè±¡ã¹ããŒãããã€ã¹ |
è«çå | ç©çå | ããŒã¿å | å¿ é | 説æ |
---|---|---|---|---|
åŠççµæ | result | integer | Yes | 0: æ£åžžå¿ç 0以å€: ç°åžžå¿ç |
ã·ã¹ãã å | product | string | Yes | DeviceConnectã·ã¹ãã ã®ååã |
ã·ã¹ãã ããŒãžã§ã³ | version | string | Yes | DeviceConnectã·ã¹ãã ã®ããŒãžã§ã³åã |
眲å | hmac | string | No | ã¬ã¹ãã³ã¹ã«å¯Ÿãã眲åã ã¢ããªã±ãŒã·ã§ã³åŽããäºåã«HMACããŒãå ±æãããŠããå Žåã¯å¿ é ã |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
one-shot
ã¹ããŒãããã€ã¹ã§ã®åçæ®åœ±ãåç»æ®åœ±ãŸãã¯é³å£°é²é³ã®ç¶æ å€åéç¥ã€ãã³ãã ååŸããã
ãã©ã°ã€ã³åŽã§ãã£ãã·ã¥ããŠããææ°ã®ã€ãã³ãã¡ãã»ãŒãžã1ã€ååŸããã
ç©çå | ããŒã¿å | å¿ é | 説æ |
---|---|---|---|
serviceId | string | Yes | ãµãŒãã¹IDãååŸå¯Ÿè±¡ã¹ããŒãããã€ã¹ |
è«çå | ç©çå | ããŒã¿å | å¿ é | 説æ | |
---|---|---|---|---|---|
åŠççµæ | result | integer | Yes | 0: æ£åžžå¿ç 0以å€: ç°åžžå¿ç |
|
ã·ã¹ãã å | product | string | Yes | DeviceConnectã·ã¹ãã ã®ååã | |
ã·ã¹ãã ããŒãžã§ã³ | version | string | Yes | DeviceConnectã·ã¹ãã ã®ããŒãžã§ã³åã | |
眲å | hmac | string | No | ã¬ã¹ãã³ã¹ã«å¯Ÿãã眲åã ã¢ããªã±ãŒã·ã§ã³åŽããäºåã«HMACããŒãå ±æãããŠããå Žåã¯å¿ é ã |
|
ã¬ã³ãŒãã£ã³ã°æ å ± | media | object | Yes | ã¬ã³ãŒãã£ã³ã°æ å ± | |
ã¬ã³ãŒãã£ã³ã°ã®ç¶æ | status | string | Yes | ã¬ã³ãŒãã£ã³ã°ã®ç¶æ ãèå¥ããæååã | |
URI | uri | string | No | åç»ãŸãã¯é³å£°ã®URIã | |
ãã¡ã€ã«ãã¹ | path | string | No | ãã¡ã€ã«ãååšãããã¹ãã«ãŒãã¯ããã€ã¹ãã©ã°ã€ã³ããšã«éãã | |
MIME Type | mimeType | string | Yes | é²ç»ã»é²é³ãéå§ãããã¡ãã£ã¢ã®MIME Typeã ãã®ã¿ã€ãã§ãåç»ãé³å£°ãªã©ãèå¥ããã |
|
ãšã©ãŒã¡ãã»ãŒãž | errorMessasge | string | No | ãšã©ãŒãèŠåå
容ãäŒããæååã ç¶æ ã errorãwarning ã®æã®ã¿ä»å ããããçç¥å¯èœã |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "media" : { "status" : "stop", "path" : "Dummy Path", "mimeType" : "video/3gp" } }
event
ã¹ããŒãããã€ã¹ã§ã®åçæ®åœ±ãåç»æ®åœ±ãŸãã¯é³å£°é²é³ã®ç¶æ å€åéç¥ã€ãã³ãã éå§ããã
ã¹ããŒãããã€ã¹ã§ãµããŒãããŠããªããã©ã¡ãŒã¿ãããå Žåã«ã¯ã ãã®ãã©ã¡ãŒã¿ãçç¥ããã
ç©çå | ããŒã¿å | å¿ é | 説æ |
---|---|---|---|
serviceId | string | Yes | ãµãŒãã¹IDãååŸå¯Ÿè±¡ã¹ããŒãããã€ã¹ |
interval | long | No | ããã€ã¹ãã©ã°ã€ã³ãã€ãã³ããéä¿¡ããééã |
è«çå | ç©çå | ããŒã¿å | å¿ é | 説æ |
---|---|---|---|---|
åŠççµæ | result | integer | Yes | 0: æ£åžžå¿ç 0以å€: ç°åžžå¿ç |
ã·ã¹ãã å | product | string | Yes | DeviceConnectã·ã¹ãã ã®ååã |
ã·ã¹ãã ããŒãžã§ã³ | version | string | Yes | DeviceConnectã·ã¹ãã ã®ããŒãžã§ã³åã |
眲å | hmac | string | No | ã¬ã¹ãã³ã¹ã«å¯Ÿãã眲åã ã¢ããªã±ãŒã·ã§ã³åŽããäºåã«HMACããŒãå ±æãããŠããå Žåã¯å¿ é ã |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
è«çå | ç©çå | ããŒã¿å | å¿ é | 説æ | |
---|---|---|---|---|---|
ãµãŒãã¹ID | serviceId | string | Yes | ã€ãã³ããéä¿¡ãããµãŒãã¹ã®ID | |
ãããã¡ã€ã«å | profile | string | Yes | ãããã¡ã€ã«åã | |
ã€ã³ã¿ãŒãã§ãŒã¹å | interface | string | Yes | ã€ã³ã¿ãŒãã§ãŒã¹åã | |
ã¢ããªãã¥ãŒãå | attribute | string | Yes | ã¢ããªãã¥ãŒãåã | |
ã¬ã³ãŒãã£ã³ã°æ å ± | media | object | Yes | ã¬ã³ãŒãã£ã³ã°æ å ± | |
ã¬ã³ãŒãã£ã³ã°ã®ç¶æ | status | string | Yes | ã¬ã³ãŒãã£ã³ã°ã®ç¶æ ãèå¥ããæååã | |
URI | uri | string | No | åç»ãŸãã¯é³å£°ã®URIã | |
ãã¡ã€ã«ãã¹ | path | string | No | ãã¡ã€ã«ãååšãããã¹ãã«ãŒãã¯ããã€ã¹ãã©ã°ã€ã³ããšã«éãã | |
MIME Type | mimeType | string | Yes | é²ç»ã»é²é³ãéå§ãããã¡ãã£ã¢ã®MIME Typeã ãã®ã¿ã€ãã§ãåç»ãé³å£°ãªã©ãèå¥ããã |
|
ãšã©ãŒã¡ãã»ãŒãž | errorMessasge | string | No | ãšã©ãŒãèŠåå
容ãäŒããæååã ç¶æ ã errorãwarning ã®æã®ã¿ä»å ããããçç¥å¯èœã |
{ "serviceId" : "Host.exampleId.localhost.deviceconnect.org", "profile" : "mediastreamrecording", "attribute" : "onrecordingchange", "media" : { "status" : "stop", "path" : "Dummy Path", "mimeType" : "image/png" } }
event
ã¹ããŒãããã€ã¹ã§ã®åçæ®åœ±ãåç»æ®åœ±ãŸãã¯é³å£°é²é³ã®ç¶æ å€åéç¥ã€ãã³ãã åæ¢ããã
ã¹ããŒãããã€ã¹ã§ãµããŒãããŠããªããã©ã¡ãŒã¿ãããå Žåã«ã¯ã ãã®ãã©ã¡ãŒã¿ãçç¥ããã
ç©çå | ããŒã¿å | å¿ é | 説æ |
---|---|---|---|
serviceId | string | Yes | ãµãŒãã¹IDãååŸå¯Ÿè±¡ã¹ããŒãããã€ã¹ |
è«çå | ç©çå | ããŒã¿å | å¿ é | 説æ |
---|---|---|---|---|
åŠççµæ | result | integer | Yes | 0: æ£åžžå¿ç 0以å€: ç°åžžå¿ç |
ã·ã¹ãã å | product | string | Yes | DeviceConnectã·ã¹ãã ã®ååã |
ã·ã¹ãã ããŒãžã§ã³ | version | string | Yes | DeviceConnectã·ã¹ãã ã®ããŒãžã§ã³åã |
眲å | hmac | string | No | ã¬ã¹ãã³ã¹ã«å¯Ÿãã眲åã ã¢ããªã±ãŒã·ã§ã³åŽããäºåã«HMACããŒãå ±æãããŠããå Žåã¯å¿ é ã |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
one-shot
ã¹ããŒãããã€ã¹ãããµããŒãããŠããåçæ®åœ±ã åç»æ®åœ±ãé³å£°é²é³ã®ãªãã·ã§ã³ãååŸããã
ã¿ãŒã²ããããµããŒãããŠãã解å床ãªã©ã®äžèŠ§ãè¿ãã
ç©çå | ããŒã¿å | å¿ é | 説æ |
---|---|---|---|
serviceId | string | Yes | ãµãŒãã¹IDãååŸå¯Ÿè±¡ã¹ããŒãããã€ã¹ |
target | string | No | ã¿ãŒã²ãããã¬ã³ãŒããŒãèå¥ããIDã çç¥ãããå Žåã«ã¯ããã©ã«ãã®ã¬ã³ãŒããŒã䜿çšããã ããã€ã¹ãé³å£°ã»åç»ã®äž¡æ¹ã®ã¬ã³ãŒããŒããµããŒãããå Žåã ã©ã¡ãã®ã¬ã³ãŒããŒã䜿çšããããã©ããã¯ããã€ã¹ãã©ã°ã€ã³äŸåãšããã |
è«çå | ç©çå | ããŒã¿å | å¿ é | 説æ | |
---|---|---|---|---|---|
åŠççµæ | result | integer | Yes | 0: æ£åžžå¿ç 0以å€: ç°åžžå¿ç |
|
ã·ã¹ãã å | product | string | Yes | DeviceConnectã·ã¹ãã ã®ååã | |
ã·ã¹ãã ããŒãžã§ã³ | version | string | Yes | DeviceConnectã·ã¹ãã ã®ããŒãžã§ã³åã | |
眲å | hmac | string | No | ã¬ã¹ãã³ã¹ã«å¯Ÿãã眲åã ã¢ããªã±ãŒã·ã§ã³åŽããäºåã«HMACããŒãå ±æãããŠããå Žåã¯å¿ é ã |
|
MIME Type | mimeType | array(string) | Yes | é²ç»ã»é²é³ããéã®ãšã³ã³ãŒãããã¿ã€ãã®äžèŠ§ | |
æ®åœ±æã®è§£å床ã®äžèŠ§ | imageSizes | array(object) | No | ã¬ã³ãŒããŒã®ãµããŒãããç»åã®è§£å床ã®äžèŠ§ãé²é³ã®å Žåã¯çç¥å¯ã ãã©ã°ã€ã³åŽã§ãªãµã€ãºããããšã§ãµããŒããããµã€ãºãå«ããŠããã |
|
æšªå¹ | width | integer | Yes | ç»åã®æšªå¹ ãåäœã¯ãã¯ã»ã«ã | |
çžŠå¹ | height | integer | Yes | ç»åã®çžŠå¹ ãåäœã¯ãã¯ã»ã«ã | |
ãã¬ãã¥ãŒæã®è§£å床ã®äžèŠ§ | previewSizes | array(object) | No | ãã¬ãã¥ãŒã§å©çšå¯èœãªè§£å床ã®äžèŠ§ã é²é³ã®å ŽåããŸãã¯ãã¬ãã¥ãŒãæäŸããªãå Žåã¯çç¥å¯ã ãã©ã°ã€ã³åŽã§ãªãµã€ãºããããšã§ãµããŒããããµã€ãºãå«ããŠããã |
|
æšªå¹ | width | integer | Yes | ç»åã®æšªå¹ ãåäœã¯ãã¯ã»ã«ã | |
çžŠå¹ | height | integer | Yes | ç»åã®çžŠå¹ ãåäœã¯ãã¯ã»ã«ã |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "imageSize" : [ { "width" : 3264, "height" : 2448 }, { "width" : 3200, "height" : 2400 }, { "width" : 2592, "height" : 1944 }, { "width" : 2048, "height" : 1536 }, { "width" : 1920, "height" : 1080 }, { "width" : 1600, "height" : 1200 }, { "width" : 1280, "height" : 960 }, { "width" : 1280, "height" : 768 }, { "width" : 1280, "height" : 720 }, { "width" : 1024, "height" : 768 }, { "width" : 800, "height" : 600 }, { "width" : 800, "height" : 480 }, { "width" : 720, "height" : 480 }, { "width" : 640, "height" : 480 }, { "width" : 352, "height" : 288 }, { "width" : 320, "height" : 240 }, { "width" : 176, "height" : 144 } ], "previewSize" : [ { "width" : 1920, "height" : 1080 }, { "width" : 1600, "height" : 1200 }, { "width" : 1280, "height" : 960 }, { "width" : 1280, "height" : 768 }, { "width" : 1280, "height" : 720 }, { "width" : 1024, "height" : 768 }, { "width" : 800, "height" : 600 }, { "width" : 800, "height" : 480 }, { "width" : 720, "height" : 480 }, { "width" : 640, "height" : 480 }, { "width" : 352, "height" : 288 }, { "width" : 320, "height" : 240 }, { "width" : 176, "height" : 144 } ], "mimeType" : [ "image/png" ] }
one-shot
ã¹ããŒãããã€ã¹ãããµããŒãããŠããåçæ®åœ±ã åç»æ®åœ±ãé³å£°é²é³ã®ãªãã·ã§ã³ãèšå®ããã
ã¹ããŒãããã€ã¹ã®PreviewSize,PictureSizeãæ倧ãã¬ãŒã ã¬ãŒããªã©ãèšå®ããã
ç©çå | ããŒã¿å | å¿ é | 説æ |
---|---|---|---|
serviceId | string | Yes | ãµãŒãã¹IDãååŸå¯Ÿè±¡ã¹ããŒãããã€ã¹ |
target | string | No | ã¿ãŒã²ãããã¬ã³ãŒããŒãèå¥ããIDã çç¥ãããå Žåã«ã¯ããã©ã«ãã®ã¬ã³ãŒããŒã䜿çšããã ããã€ã¹ãé³å£°ã»åç»ã®äž¡æ¹ã®ã¬ã³ãŒããŒããµããŒãããå Žåã ã©ã¡ãã®ã¬ã³ãŒããŒã䜿çšããããã©ããã¯ããã€ã¹ãã©ã°ã€ã³äŸåãšããã |
imageWidth | integer | No | æ®åœ±æã®æšªå¹ ãåäœã¯ãã¯ã»ã«ãpreviewHeightãæå®ãããšãã¯çç¥äžå¯ãOptions API GETã§è¿ãããå€ä»¥å€ãæå®ããå Žåã¯ãã©ã¡ãŒã¿ãšã©ãŒã |
imageHeight | integer | No | æ®åœ±æã®çžŠå¹
ãåäœã¯ãã¯ã»ã«ãpreviewWidthãæå®ãããšãã¯çç¥äžå¯ã Options API GETã§è¿ãããå€ä»¥å€ãæå®ããå Žåã¯ãã©ã¡ãŒã¿ãšã©ãŒã |
previewWidth | integer | No | ãã¬ãã¥ãŒæã®æšªå¹
ãåäœã¯ãã¯ã»ã«ãpreviewHeightãæå®ãããšãã¯çç¥äžå¯ã Options API GETã§è¿ãããå€ä»¥å€ãæå®ããå Žåã¯ãã©ã¡ãŒã¿ãšã©ãŒã |
previewHeight | integer | No | ãã¬ãã¥ãŒæã®çžŠå¹
ãåäœã¯ãã¯ã»ã«ãpreviewWidthãæå®ãããšãã¯çç¥äžå¯ã Options API GETã§è¿ãããå€ä»¥å€ãæå®ããå Žåã¯ãã©ã¡ãŒã¿ãšã©ãŒã |
previewMaxFrameRate | float | No | ãã¬ãã¥ãŒæã®æ倧ãã¬ãŒã ã¬ãŒããåäœã¯fpsãç¯å²ã¯0.0ãã倧ããå°æ°å€ã |
mimeType | string | Yes | MimeTypeãåç»é²ç»ã»é³å£°é²é³ãããšãã®ãšã³ã³ãŒãããã¿ã€ãã |
è«çå | ç©çå | ããŒã¿å | å¿ é | 説æ |
---|---|---|---|---|
åŠççµæ | result | integer | Yes | 0: æ£åžžå¿ç 0以å€: ç°åžžå¿ç |
ã·ã¹ãã å | product | string | Yes | DeviceConnectã·ã¹ãã ã®ååã |
ã·ã¹ãã ããŒãžã§ã³ | version | string | Yes | DeviceConnectã·ã¹ãã ã®ããŒãžã§ã³åã |
眲å | hmac | string | No | ã¬ã¹ãã³ã¹ã«å¯Ÿãã眲åã ã¢ããªã±ãŒã·ã§ã³åŽããäºåã«HMACããŒãå ±æãããŠããå Žåã¯å¿ é ã |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
one-shot
ã¹ããŒãããã€ã¹ã«å¯ŸããŠåç»æ®åœ±ãŸãã¯é³å£°é²é³ã®äžæåæ¢ãªã¯ãšã¹ããéãã
ãã§ã«æ®åœ±ãŸãã¯é²é³ãäžæåæ¢ã«ãªã£ãŠããå Žåãæ®åœ±ãŸãã¯é²é³ãè¡ãããŠããªãå Žåã¯ã ãšã©ãŒãè¿ãã
ç©çå | ããŒã¿å | å¿ é | 説æ |
---|---|---|---|
serviceId | string | Yes | ãµãŒãã¹IDãååŸå¯Ÿè±¡ã¹ããŒãããã€ã¹ |
target | string | No | ã¿ãŒã²ãããã¬ã³ãŒããŒãèå¥ããIDã çç¥ãããå Žåã«ã¯ããã©ã«ãã®ã¬ã³ãŒããŒã䜿çšããã ããã€ã¹ãé³å£°ã»åç»ã®äž¡æ¹ã®ã¬ã³ãŒããŒããµããŒãããå Žåã ã©ã¡ãã®ã¬ã³ãŒããŒã䜿çšããããã©ããã¯ããã€ã¹ãã©ã°ã€ã³äŸåãšããã |
è«çå | ç©çå | ããŒã¿å | å¿ é | 説æ |
---|---|---|---|---|
åŠççµæ | result | integer | Yes | 0: æ£åžžå¿ç 0以å€: ç°åžžå¿ç |
ã·ã¹ãã å | product | string | Yes | DeviceConnectã·ã¹ãã ã®ååã |
ã·ã¹ãã ããŒãžã§ã³ | version | string | Yes | DeviceConnectã·ã¹ãã ã®ããŒãžã§ã³åã |
眲å | hmac | string | No | ã¬ã¹ãã³ã¹ã«å¯Ÿãã眲åã ã¢ããªã±ãŒã·ã§ã³åŽããäºåã«HMACããŒãå ±æãããŠããå Žåã¯å¿ é ã |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
one-shot
ã¹ããŒãããã€ã¹ã§ã®åç»æ®åœ±äžã«ãåç»ã®ãã¬ãã¥ãŒç»åãååŸããã
ãã®ã€ãã³ãéç¥ãè¡ãã¿ã€ãã³ã°ã«èŠå®ã¯ç¡ãã ããã€ã¹ãã©ã°ã€ã³ã®å®è£
äŸåãšããã
JPEGã§ããŒã¿ãåä¿¡ããã
ç©çå | ããŒã¿å | å¿ é | 説æ |
---|---|---|---|
serviceId | string | Yes | ãµãŒãã¹IDãååŸå¯Ÿè±¡ã¹ããŒãããã€ã¹ |
target | string | No | ã¿ãŒã²ãããã¬ã³ãŒããŒãèå¥ããIDã çç¥ãããå Žåã«ã¯ããã©ã«ãã®ã¬ã³ãŒããŒã䜿çšããã ããã€ã¹ãé³å£°ã»åç»ã®äž¡æ¹ã®ã¬ã³ãŒããŒããµããŒãããå Žåã ã©ã¡ãã®ã¬ã³ãŒããŒã䜿çšããããã©ããã¯ããã€ã¹ãã©ã°ã€ã³äŸåãšããã |
è«çå | ç©çå | ããŒã¿å | å¿ é | 説æ |
---|---|---|---|---|
åŠççµæ | result | integer | Yes | 0: æ£åžžå¿ç 0以å€: ç°åžžå¿ç |
ã·ã¹ãã å | product | string | Yes | DeviceConnectã·ã¹ãã ã®ååã |
ã·ã¹ãã ããŒãžã§ã³ | version | string | Yes | DeviceConnectã·ã¹ãã ã®ããŒãžã§ã³åã |
眲å | hmac | string | No | ã¬ã¹ãã³ã¹ã«å¯Ÿãã眲åã ã¢ããªã±ãŒã·ã§ã³åŽããäºåã«HMACããŒãå ±æãããŠããå Žåã¯å¿ é ã |
ãã¬ãã¥ãŒç»åURI | uri | string | Yes | ãã¬ãã¥ãŒç»åURIã圢åŒã¯JPEGãšããã |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "uri" : "Dummy Preview URI" }
streaming
ã¹ããŒãããã€ã¹ã§ã®åç»æ®åœ±äžã«ãåç»ã®ãã¬ãã¥ãŒç»åãåä¿¡ãéå§ããã
ãã®ã€ãã³ãéç¥ãè¡ãã¿ã€ãã³ã°ã«èŠå®ã¯ç¡ãã ããã€ã¹ãã©ã°ã€ã³ã®å®è£ äŸåãšãããMotionJPEGã§ããŒã¿ãåä¿¡ããã
ç©çå | ããŒã¿å | å¿ é | 説æ |
---|---|---|---|
serviceId | string | Yes | ãµãŒãã¹IDãååŸå¯Ÿè±¡ã¹ããŒãããã€ã¹ |
target | string | No | ã¿ãŒã²ãããã¬ã³ãŒããŒãèå¥ããIDã çç¥ãããå Žåã«ã¯ããã©ã«ãã®ã¬ã³ãŒããŒã䜿çšããã ããã€ã¹ãé³å£°ã»åç»ã®äž¡æ¹ã®ã¬ã³ãŒããŒããµããŒãããå Žåã ã©ã¡ãã®ã¬ã³ãŒããŒã䜿çšããããã©ããã¯ããã€ã¹ãã©ã°ã€ã³äŸåãšããã |
è«çå | ç©çå | ããŒã¿å | å¿ é | 説æ | |
---|---|---|---|---|---|
åŠççµæ | result | integer | Yes | 0: æ£åžžå¿ç 0以å€: ç°åžžå¿ç |
|
ã·ã¹ãã å | product | string | Yes | DeviceConnectã·ã¹ãã ã®ååã | |
ã·ã¹ãã ããŒãžã§ã³ | version | string | Yes | DeviceConnectã·ã¹ãã ã®ããŒãžã§ã³åã | |
眲å | hmac | string | No | ã¬ã¹ãã³ã¹ã«å¯Ÿãã眲åã ã¢ããªã±ãŒã·ã§ã³åŽããäºåã«HMACããŒãå ±æãããŠããå Žåã¯å¿ é ã |
|
ãã¬ãã¥ãŒé ä¿¡URI | uri | string | Yes | éå§ãããã¬ãã¥ãŒã®é ä¿¡çšURIã圢åŒã¯MotionJPEGãšããã | |
ã¹ããªãŒã ã®ãªã¹ã | streams | array(object) | No | ã¹ããªãŒã æ å ±ã®é åã | |
ã¹ããªãŒã ã®MIMEType | mimeType | string | Yes | ã¹ããªãŒã ã®MIMETypeã | |
ã¹ããªãŒã ã®URI | uri | string | Yes | ã¹ããªãŒã ã®URIã | |
é³å£°é ä¿¡æ å ± | audio | object | No | é³å£°é ä¿¡ã«é¢ããæ å ±ãé³å£°ã®ã¿ã®é ä¿¡ããµããŒãããªãå Žåã¯çç¥å¯ã | |
é³å£°é ä¿¡URI | uri | string | Yes | é³å£°é ä¿¡URIã |
{ "streams" : [ { "mimeType" : "video/x-mjpeg", "uri" : "http://localhost:9000/xxxxxx" }, { "mimeType" : "video/x-rtp", "uri" : "rtsp://localhost:8086" } ], "result" : 0, "product" : "Example System", "version" : "1.0.0", "uri" : "Dummy Preview URI" }
streaming
ã¹ããŒãããã€ã¹ã§ã®åç»æ®åœ±äžã«ãåç»ã®ãã¬ãã¥ãŒç»åãåä¿¡ãåæ¢ããã
ãã®ã€ãã³ãéç¥ãè¡ãã¿ã€ãã³ã°ã«èŠå®ã¯ç¡ãã ããã€ã¹ãã©ã°ã€ã³ã®å®è£
äŸåãšããã
MotionJPEGãªã©ã§ããŒã¿ãåä¿¡ããã
ç©çå | ããŒã¿å | å¿ é | 説æ |
---|---|---|---|
serviceId | string | Yes | ãµãŒãã¹IDãååŸå¯Ÿè±¡ã¹ããŒãããã€ã¹ |
target | string | No | ã¿ãŒã²ãããã¬ã³ãŒããŒãèå¥ããIDã çç¥ãããå Žåã«ã¯ããã©ã«ãã®ã¬ã³ãŒããŒã䜿çšããã ããã€ã¹ãé³å£°ã»åç»ã®äž¡æ¹ã®ã¬ã³ãŒããŒããµããŒãããå Žåã ã©ã¡ãã®ã¬ã³ãŒããŒã䜿çšããããã©ããã¯ããã€ã¹ãã©ã°ã€ã³äŸåãšããã |
è«çå | ç©çå | ããŒã¿å | å¿ é | 説æ |
---|---|---|---|---|
åŠççµæ | result | integer | Yes | 0: æ£åžžå¿ç 0以å€: ç°åžžå¿ç |
ã·ã¹ãã å | product | string | Yes | DeviceConnectã·ã¹ãã ã®ååã |
ã·ã¹ãã ããŒãžã§ã³ | version | string | Yes | DeviceConnectã·ã¹ãã ã®ããŒãžã§ã³åã |
眲å | hmac | string | No | ã¬ã¹ãã³ã¹ã«å¯Ÿãã眲åã ã¢ããªã±ãŒã·ã§ã³åŽããäºåã«HMACããŒãå ±æãããŠããå Žåã¯å¿ é ã |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
one-shot
é³å£°ãä»å ãããŠããPreviewæ åã«å¯Ÿãã ãã®æ åã®é³å£°ããã¥ãŒãç¶æ ã«ãããªã¯ãšã¹ããéãã
äŸãã°ãPreviewæ åãRTSPã®å Žåã«ããã®APIã«ããé³å£°ããã¥ãŒãç¶æ ã«ããã
ç©çå | ããŒã¿å | å¿ é | 説æ |
---|---|---|---|
serviceId | string | Yes | ãµãŒãã¹IDãååŸå¯Ÿè±¡ã¹ããŒãããã€ã¹ |
target | string | No | ã¿ãŒã²ãããã¬ã³ãŒããŒãèå¥ããIDã çç¥ãããå Žåã«ã¯ããã©ã«ãã®ã¬ã³ãŒããŒã䜿çšããã ããã€ã¹ãé³å£°ã»åç»ã®äž¡æ¹ã®ã¬ã³ãŒããŒããµããŒãããå Žåã ã©ã¡ãã®ã¬ã³ãŒããŒã䜿çšããããã©ããã¯ããã€ã¹ãã©ã°ã€ã³äŸåãšããã |
è«çå | ç©çå | ããŒã¿å | å¿ é | 説æ |
---|---|---|---|---|
åŠççµæ | result | integer | Yes | 0: æ£åžžå¿ç 0以å€: ç°åžžå¿ç |
ã·ã¹ãã å | product | string | Yes | DeviceConnectã·ã¹ãã ã®ååã |
ã·ã¹ãã ããŒãžã§ã³ | version | string | Yes | DeviceConnectã·ã¹ãã ã®ããŒãžã§ã³åã |
眲å | hmac | string | No | ã¬ã¹ãã³ã¹ã«å¯Ÿãã眲åã ã¢ããªã±ãŒã·ã§ã³åŽããäºåã«HMACããŒãå ±æãããŠããå Žåã¯å¿ é ã |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
one-shot
é³å£°ãä»å ãããŠããPreviewæ åã«å¯Ÿãã ãã®æ åã®é³å£°ã®ãã¥ãŒãç¶æ ã解é€ãããªã¯ãšã¹ããéãã
äŸãã°ãPreviewæ åãRTSPã®å Žåã«ããã®APIã«ããé³å£°ã®ãã¥ãŒãç¶æ ã解é€ããã
ç©çå | ããŒã¿å | å¿ é | 説æ |
---|---|---|---|
serviceId | string | Yes | ãµãŒãã¹IDãååŸå¯Ÿè±¡ã¹ããŒãããã€ã¹ |
target | string | No | ã¿ãŒã²ãããã¬ã³ãŒããŒãèå¥ããIDã çç¥ãããå Žåã«ã¯ããã©ã«ãã®ã¬ã³ãŒããŒã䜿çšããã ããã€ã¹ãé³å£°ã»åç»ã®äž¡æ¹ã®ã¬ã³ãŒããŒããµããŒãããå Žåã ã©ã¡ãã®ã¬ã³ãŒããŒã䜿çšããããã©ããã¯ããã€ã¹ãã©ã°ã€ã³äŸåãšããã |
è«çå | ç©çå | ããŒã¿å | å¿ é | 説æ |
---|---|---|---|---|
åŠççµæ | result | integer | Yes | 0: æ£åžžå¿ç 0以å€: ç°åžžå¿ç |
ã·ã¹ãã å | product | string | Yes | DeviceConnectã·ã¹ãã ã®ååã |
ã·ã¹ãã ããŒãžã§ã³ | version | string | Yes | DeviceConnectã·ã¹ãã ã®ããŒãžã§ã³åã |
眲å | hmac | string | No | ã¬ã¹ãã³ã¹ã«å¯Ÿãã眲åã ã¢ããªã±ãŒã·ã§ã³åŽããäºåã«HMACããŒãå ±æãããŠããå Žåã¯å¿ é ã |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
one-shot
ã¹ããŒãããã€ã¹ã«å¯ŸããŠãåç»æ®åœ±ãé³å£°é²é³ã®éå§ãªã¯ãšã¹ããéãã
MediaStreamRecording Stopãããªãå Žåã¯åããã€ã¹ãæ®åœ±ã§ããæ倧æéãŸã§ æ®åœ±ãè¡ãã ãã®åŸæ®åœ±ãåæ¢ããã
ç©çå | ããŒã¿å | å¿ é | 説æ |
---|---|---|---|
serviceId | string | Yes | ãµãŒãã¹IDãååŸå¯Ÿè±¡ã¹ããŒãããã€ã¹ |
target | string | No | ã¿ãŒã²ãããã¬ã³ãŒããŒãèå¥ããIDã çç¥ãããå Žåã«ã¯ããã©ã«ãã®ã¬ã³ãŒããŒã䜿çšããã ããã€ã¹ãé³å£°ã»åç»ã®äž¡æ¹ã®ã¬ã³ãŒããŒããµããŒãããå Žåã ã©ã¡ãã®ã¬ã³ãŒããŒã䜿çšããããã©ããã¯ããã€ã¹ãã©ã°ã€ã³äŸåãšããã |
timeslice | long | No | ã¿ã€ã ã¹ã©ã€ã¹ã åç»ã»é³å£°å ¥åãªã©ããåŸããã1ãã¬ãŒã ãæ°ãã«åºåå ã¡ãã£ã¢ã« æžãåºããŸã§ã®åŸ ã¡æéãåäœã¯ããªç§ã 1000/timesliceãåºåã¡ãã£ã¢ã®åºå®ãã¬ãŒã ã¬ãŒãïŒãã¬ãŒã /ç§ïŒ ã«çžåœãããçç¥ãããå Žåã«ã¯ãããã€ã¹æ¯ã®æåã§ãã¬ãŒã æžãåºããè¡ãã |
è«çå | ç©çå | ããŒã¿å | å¿ é | 説æ |
---|---|---|---|---|
åŠççµæ | result | integer | Yes | 0: æ£åžžå¿ç 0以å€: ç°åžžå¿ç |
ã·ã¹ãã å | product | string | Yes | DeviceConnectã·ã¹ãã ã®ååã |
ã·ã¹ãã ããŒãžã§ã³ | version | string | Yes | DeviceConnectã·ã¹ãã ã®ããŒãžã§ã³åã |
眲å | hmac | string | No | ã¬ã¹ãã³ã¹ã«å¯Ÿãã眲åã ã¢ããªã±ãŒã·ã§ã³åŽããäºåã«HMACããŒãå ±æãããŠããå Žåã¯å¿ é ã |
URI | uri | string | No | åç»ãŸãã¯é³å£°ã®URIã |
ãã¡ã€ã«ãã¹ | path | string | No | åç»ãŸãã¯é³å£°ãžã®ãã¡ã€ã«ãã¹ãã«ãŒãã¯ããã€ã¹ãã©ã°ã€ã³ããšã«ç°ãªãã File APIã®ãã©ã¡ãŒã¿ãšããŠäœ¿çšå¯èœã |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "uri" : "Dummy URI", "path" : "Dummy Path" }
one-shot
ã¹ããŒãããã€ã¹ã«å¯ŸããŠäžæåæ¢ç¶æ ã«ããåç»æ®åœ±ãŸãã¯é³å£°é²é³ã® åéãªã¯ãšã¹ããéãã
ãã§ã«æ®åœ±ãŸãã¯é²é³ç¶æ ã«ãªã£ãŠããå Žåã¯ãšã©ãŒãè¿ãã
ç©çå | ããŒã¿å | å¿ é | 説æ |
---|---|---|---|
serviceId | string | Yes | ãµãŒãã¹IDãååŸå¯Ÿè±¡ã¹ããŒãããã€ã¹ |
target | string | No | ã¿ãŒã²ãããã¬ã³ãŒããŒãèå¥ããIDã çç¥ãããå Žåã«ã¯ããã©ã«ãã®ã¬ã³ãŒããŒã䜿çšããã ããã€ã¹ãé³å£°ã»åç»ã®äž¡æ¹ã®ã¬ã³ãŒããŒããµããŒãããå Žåã ã©ã¡ãã®ã¬ã³ãŒããŒã䜿çšããããã©ããã¯ããã€ã¹ãã©ã°ã€ã³äŸåãšããã |
è«çå | ç©çå | ããŒã¿å | å¿ é | 説æ |
---|---|---|---|---|
åŠççµæ | result | integer | Yes | 0: æ£åžžå¿ç 0以å€: ç°åžžå¿ç |
ã·ã¹ãã å | product | string | Yes | DeviceConnectã·ã¹ãã ã®ååã |
ã·ã¹ãã ããŒãžã§ã³ | version | string | Yes | DeviceConnectã·ã¹ãã ã®ããŒãžã§ã³åã |
眲å | hmac | string | No | ã¬ã¹ãã³ã¹ã«å¯Ÿãã眲åã ã¢ããªã±ãŒã·ã§ã³åŽããäºåã«HMACããŒãå ±æãããŠããå Žåã¯å¿ é ã |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
one-shot
ã¹ããŒãããã€ã¹ã«å¯ŸããŠåç»æ®åœ±ãŸãã¯é³å£°é²é³ã®çµäºãªã¯ãšã¹ããéãã
ãã§ã«æ®åœ±ãŸãã¯é²é³ãè¡ãããŠããªãå Žåã¯ãšã©ãŒãè¿ãã
ç©çå | ããŒã¿å | å¿ é | 説æ |
---|---|---|---|
serviceId | string | Yes | ãµãŒãã¹IDãååŸå¯Ÿè±¡ã¹ããŒãããã€ã¹ |
target | string | No | ã¿ãŒã²ãããã¬ã³ãŒããŒãèå¥ããIDã çç¥ãããå Žåã«ã¯ããã©ã«ãã®ã¬ã³ãŒããŒã䜿çšããã ããã€ã¹ãé³å£°ã»åç»ã®äž¡æ¹ã®ã¬ã³ãŒããŒããµããŒãããå Žåã ã©ã¡ãã®ã¬ã³ãŒããŒã䜿çšããããã©ããã¯ããã€ã¹ãã©ã°ã€ã³äŸåãšããã |
è«çå | ç©çå | ããŒã¿å | å¿ é | 説æ |
---|---|---|---|---|
åŠççµæ | result | integer | Yes | 0: æ£åžžå¿ç 0以å€: ç°åžžå¿ç |
ã·ã¹ãã å | product | string | Yes | DeviceConnectã·ã¹ãã ã®ååã |
ã·ã¹ãã ããŒãžã§ã³ | version | string | Yes | DeviceConnectã·ã¹ãã ã®ããŒãžã§ã³åã |
眲å | hmac | string | No | ã¬ã¹ãã³ã¹ã«å¯Ÿãã眲åã ã¢ããªã±ãŒã·ã§ã³åŽããäºåã«HMACããŒãå ±æãããŠããå Žåã¯å¿ é ã |
URI | uri | string | No | åç»ãŸãã¯é³å£°ã®URIã |
ãã¡ã€ã«ãã¹ | path | string | No | åç»ãŸãã¯é³å£°ãžã®ãã¡ã€ã«ãã¹ã ã«ãŒãã¯ããã€ã¹ãã©ã°ã€ã³ããšã«ç°ãªãã File APIã®ãã©ã¡ãŒã¿ãšããŠäœ¿çšå¯èœã |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
one-shot
ã¹ããŒãããã€ã¹ã«å¯ŸããŠåçæ®åœ±ãªã¯ãšã¹ããéãã
targetãæå®ãããŠããªãå Žåã¯ãGET/mediaStreamRecording/mediaRecorder㧠äžçªæåã«èŠã€ããã¬ã³ãŒããŒãæå®ãããã
ç©çå | ããŒã¿å | å¿ é | 説æ |
---|---|---|---|
serviceId | string | Yes | ãµãŒãã¹IDãååŸå¯Ÿè±¡ã¹ããŒãããã€ã¹ |
target | string | No | ã¿ãŒã²ãããã¬ã³ãŒããŒãèå¥ããIDã çç¥ãããå Žåã«ã¯ããã©ã«ãã®ã¬ã³ãŒããŒã䜿çšããã ããã€ã¹ãé³å£°ã»åç»ã®äž¡æ¹ã®ã¬ã³ãŒããŒããµããŒãããå Žåã ã©ã¡ãã®ã¬ã³ãŒããŒã䜿çšããããã©ããã¯ããã€ã¹ãã©ã°ã€ã³äŸåãšããã |
è«çå | ç©çå | ããŒã¿å | å¿ é | 説æ |
---|---|---|---|---|
åŠççµæ | result | integer | Yes | 0: æ£åžžå¿ç 0以å€: ç°åžžå¿ç |
ã·ã¹ãã å | product | string | Yes | DeviceConnectã·ã¹ãã ã®ååã |
ã·ã¹ãã ããŒãžã§ã³ | version | string | Yes | DeviceConnectã·ã¹ãã ã®ããŒãžã§ã³åã |
眲å | hmac | string | No | ã¬ã¹ãã³ã¹ã«å¯Ÿãã眲åã ã¢ããªã±ãŒã·ã§ã³åŽããäºåã«HMACããŒãå ±æãããŠããå Žåã¯å¿ é ã |
URI | uri | string | Yes | æ®åœ±ãããåçã®URIã |
ãã¡ã€ã«ãã¹ | path | string | Yes | æ®åœ±ãããåçãžã®ãã¡ã€ã«ãã¹ãã«ãŒãã¯ããã€ã¹ãã©ã°ã€ã³ããšã«ç°ãªãã File APIã®ãã©ã¡ãŒã¿ãšããŠäœ¿çšå¯èœã |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "uri" : "Dummy URI", "path" : "Dummy Path" }
one-shot
ã¹ããŒãããã€ã¹ã«å¯ŸããŠåç»æ®åœ±ãé³å£°é²é³ã®ãã¥ãŒã解é€ãªã¯ãšã¹ããéãã
ãããªãšãªãŒãã£ãªãªã©ã®è€æ°ãã©ãã¯ãå«ãŸããæ®åœ±äžã¡ãã£ã¢ã«ãããŠã¯ã ãªãŒãã£ãªãã©ãã¯ããã¥ãŒã解é€ãããã
ç©çå | ããŒã¿å | å¿ é | 説æ |
---|---|---|---|
serviceId | string | Yes | ãµãŒãã¹IDãååŸå¯Ÿè±¡ã¹ããŒãããã€ã¹ |
target | string | No | ã¿ãŒã²ãããã¬ã³ãŒããŒãèå¥ããIDã çç¥ãããå Žåã«ã¯ããã©ã«ãã®ã¬ã³ãŒããŒã䜿çšããã ããã€ã¹ãé³å£°ã»åç»ã®äž¡æ¹ã®ã¬ã³ãŒããŒããµããŒãããå Žåã ã©ã¡ãã®ã¬ã³ãŒããŒã䜿çšããããã©ããã¯ããã€ã¹ãã©ã°ã€ã³äŸåãšããã |
è«çå | ç©çå | ããŒã¿å | å¿ é | 説æ |
---|---|---|---|---|
åŠççµæ | result | integer | Yes | 0: æ£åžžå¿ç 0以å€: ç°åžžå¿ç |
ã·ã¹ãã å | product | string | Yes | DeviceConnectã·ã¹ãã ã®ååã |
ã·ã¹ãã ããŒãžã§ã³ | version | string | Yes | DeviceConnectã·ã¹ãã ã®ããŒãžã§ã³åã |
眲å | hmac | string | No | ã¬ã¹ãã³ã¹ã«å¯Ÿãã眲åã ã¢ããªã±ãŒã·ã§ã³åŽããäºåã«HMACããŒãå ±æãããŠããå Žåã¯å¿ é ã |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }