Skip to content

Commit f23a7b8

Browse files
Merge pull request #17 from TakayukiHoshi1984/modify_preview_response
Previewのレスポンス更新
2 parents 0babe31 + 52ce4c4 commit f23a7b8

1 file changed

Lines changed: 35 additions & 1 deletion

File tree

api/mediaStreamRecording.json

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -826,6 +826,16 @@
826826
},
827827
"examples": {
828828
"application/json": {
829+
"streams": [
830+
{
831+
"mimeType" : "video/x-mjpeg",
832+
"uri" : "http://localhost:9000/xxxxxx"
833+
},
834+
{
835+
"mimeType" : "video/x-rtp",
836+
"uri" : "rtsp://localhost:8086"
837+
}
838+
],
829839
"result": 0,
830840
"product": "Example System",
831841
"version": "1.0.0",
@@ -1335,6 +1345,30 @@
13351345
"title": "プレビュー配信URI",
13361346
"description": "開始したプレビューの配信用URI。形式はMotionJPEGとする。"
13371347
},
1348+
"streams": {
1349+
"type": "array",
1350+
"title": "ストリームのリスト",
1351+
"description": "ストリーム情報の配列。",
1352+
"items": {
1353+
"type": "object",
1354+
"required": [
1355+
"mimeType",
1356+
"uri"
1357+
],
1358+
"properties": {
1359+
"mimeType": {
1360+
"type": "string",
1361+
"title": "ストリームのMIMEType",
1362+
"description": "ストリームのMIMEType。"
1363+
},
1364+
"uri": {
1365+
"type": "string",
1366+
"title": "ストリームのURI",
1367+
"description": "ストリームのURI。"
1368+
}
1369+
}
1370+
}
1371+
},
13381372
"audio": {
13391373
"type": "object",
13401374
"title": "音声配信情報",
@@ -1538,4 +1572,4 @@
15381572
}
15391573
}
15401574
}
1541-
}
1575+
}

0 commit comments

Comments
 (0)