Skip to content

Commit 75a0cd8

Browse files
Merge pull request #8 from TakayukiHoshi1984/modify_record_api
MediaStreamRecordingのRecord APIの仕様修正
2 parents b2fcbfa + abc4004 commit 75a0cd8

File tree

1 file changed

+30
-7
lines changed

1 file changed

+30
-7
lines changed

api/mediaStreamRecording.json

+30-7
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@
301301
"200": {
302302
"description": "",
303303
"schema": {
304-
"$ref": "#/definitions/RecorderControlResponse"
304+
"$ref": "#/definitions/RecorderStopResponse"
305305
},
306306
"examples": {
307307
"application/json": {
@@ -1151,10 +1151,6 @@
11511151
},
11521152
{
11531153
"type": "object",
1154-
"required": [
1155-
"uri",
1156-
"path"
1157-
],
11581154
"properties": {
11591155
"uri": {
11601156
"type": "string",
@@ -1400,7 +1396,6 @@
14001396
"description": "レコーディング情報",
14011397
"required": [
14021398
"status",
1403-
"path",
14041399
"mimeType"
14051400
],
14061401
"properties": {
@@ -1410,10 +1405,15 @@
14101405
"description": "レコーディングの状態を識別する文字列。",
14111406
"enum": ["recording", "stop", "pause", "resume", "mutetrack", "unmutetrack", "error", "warning"]
14121407
},
1408+
"uri": {
1409+
"type": "string",
1410+
"title": "URI",
1411+
"description": "動画または音声のURI。"
1412+
},
14131413
"path": {
14141414
"type": "string",
14151415
"title": "ファイルパス",
1416-
"description": "ファイルが存在するパス。ルートはデバイスプラグインごとに違う。File APIで使用可能。"
1416+
"description": "ファイルが存在するパス。ルートはデバイスプラグインごとに違う。"
14171417
},
14181418
"mimeType": {
14191419
"type": "string",
@@ -1429,6 +1429,29 @@
14291429
}
14301430
}
14311431
},
1432+
"RecorderStopResponse": {
1433+
"type": "object",
1434+
"allOf": [
1435+
{
1436+
"$ref": "#/definitions/CommonResponse"
1437+
},
1438+
{
1439+
"type": "object",
1440+
"properties": {
1441+
"uri": {
1442+
"type": "string",
1443+
"title": "URI",
1444+
"description": "動画または音声のURI。"
1445+
},
1446+
"path": {
1447+
"type": "string",
1448+
"title": "ファイルパス",
1449+
"description": "動画または音声へのファイルパス。ルートはデバイスプラグインごとに異なる。File APIのパラメータとして使用可能。"
1450+
}
1451+
}
1452+
}
1453+
]
1454+
},
14321455
"RecorderControlResponse": {
14331456
"type": "object",
14341457
"allOf": [

0 commit comments

Comments
 (0)