You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
131 lines
2.1 KiB
131 lines
2.1 KiB
2 years ago
|
{
|
||
|
"info": {
|
||
|
"_postman_id": "1659c579-5b94-4c85-aabe-2bce70edad8f",
|
||
|
"name": "YCMediaKit",
|
||
|
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
|
||
|
"_exporter_id": "20749978"
|
||
|
},
|
||
|
"item": [
|
||
|
{
|
||
|
"name": "startToHls",
|
||
|
"request": {
|
||
|
"method": "GET",
|
||
|
"header": [],
|
||
|
"url": {
|
||
|
"raw": "{{URL}}/ffmpeg/startToHls?target=rtsp://admin:hk123456@192.168.1.65:554/Streaming/Channels/103&streamPath=live/test",
|
||
|
"host": [
|
||
|
"{{URL}}"
|
||
|
],
|
||
|
"path": [
|
||
|
"ffmpeg",
|
||
|
"startToHls"
|
||
|
],
|
||
|
"query": [
|
||
|
{
|
||
|
"key": "target",
|
||
|
"value": "rtsp://admin:hk123456@192.168.1.65:554/Streaming/Channels/103"
|
||
|
},
|
||
|
{
|
||
|
"key": "streamPath",
|
||
|
"value": "live/test"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"response": []
|
||
|
},
|
||
|
{
|
||
|
"name": "existsToHls",
|
||
|
"request": {
|
||
|
"method": "GET",
|
||
|
"header": [],
|
||
|
"url": {
|
||
|
"raw": "{{URL}}/ffmpeg/existsToHls?streamPath=live/test",
|
||
|
"host": [
|
||
|
"{{URL}}"
|
||
|
],
|
||
|
"path": [
|
||
|
"ffmpeg",
|
||
|
"existsToHls"
|
||
|
],
|
||
|
"query": [
|
||
|
{
|
||
|
"key": "streamPath",
|
||
|
"value": "live/test"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"response": []
|
||
|
},
|
||
|
{
|
||
|
"name": "closeToHls",
|
||
|
"request": {
|
||
|
"method": "GET",
|
||
|
"header": [],
|
||
|
"url": {
|
||
|
"raw": "{{URL}}/ffmpeg/closeToHls?streamPath=live/test",
|
||
|
"host": [
|
||
|
"{{URL}}"
|
||
|
],
|
||
|
"path": [
|
||
|
"ffmpeg",
|
||
|
"closeToHls"
|
||
|
],
|
||
|
"query": [
|
||
|
{
|
||
|
"key": "streamPath",
|
||
|
"value": "live/test"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"response": []
|
||
|
},
|
||
|
{
|
||
|
"name": "getToHlsList",
|
||
|
"request": {
|
||
|
"method": "GET",
|
||
|
"header": [],
|
||
|
"url": {
|
||
|
"raw": "{{URL}}/ffmpeg/getToHlsList",
|
||
|
"host": [
|
||
|
"{{URL}}"
|
||
|
],
|
||
|
"path": [
|
||
|
"ffmpeg",
|
||
|
"getToHlsList"
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"response": []
|
||
|
}
|
||
|
],
|
||
|
"event": [
|
||
|
{
|
||
|
"listen": "prerequest",
|
||
|
"script": {
|
||
|
"type": "text/javascript",
|
||
|
"exec": [
|
||
|
""
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"listen": "test",
|
||
|
"script": {
|
||
|
"type": "text/javascript",
|
||
|
"exec": [
|
||
|
""
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"variable": [
|
||
|
{
|
||
|
"key": "URL",
|
||
|
"value": "192.168.1.119:8888",
|
||
|
"type": "string"
|
||
|
}
|
||
|
]
|
||
|
}
|