{"info":{"_postman_id":"136c2d18-0a20-4b6d-baac-2a21b3198592","name":"IPCaster","description":"<html><head></head><body><p>IPCaster is a service capable of simultaneously sending several MPEG-TS files through an IP network to remotes endpoints. The IP encapsulation is based on the SMPTE2022-2 standard, the sending real-time bitrate of the stream will match the bitrate of the file so it can be received, decoded and rendered in real-time the endpoints</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"8246352","collectionId":"136c2d18-0a20-4b6d-baac-2a21b3198592","publishedId":"SVYkw1dB","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2019-07-29T07:45:21.000Z"},"item":[{"name":"List streams","id":"5d68db35-570a-4279-ba03-5a8dcd676ccf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/api/streams","description":"<p>List the streams currently running on the IPCaster service.</p>\n<p><strong>Returns</strong> A JSON object with an array of streams objects</p>\n","urlObject":{"protocol":"http","path":["api","streams"],"host":["localhost:8080"],"query":[],"variable":[]}},"response":[{"id":"4a63e279-3b96-4874-8b8a-f6532be198bd","name":"List streams","originalRequest":{"method":"GET","header":[],"url":"http://localhost:8080/api/streams"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"196"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"streams\": [\n        {\n            \"endpoint\": {\n                \"ip\": \"172.17.0.1\",\n                \"port\": 50000\n            },\n            \"id\": 0,\n            \"source\": \"ipcaster/tsfiles/ipcaster.ts\"\n        },\n        {\n            \"endpoint\": {\n                \"ip\": \"172.17.0.1\",\n                \"port\": 50001\n            },\n            \"id\": 1,\n            \"source\": \"ipcaster/tsfiles/timer.ts\"\n        }\n    ]\n}"}],"_postman_id":"5d68db35-570a-4279-ba03-5a8dcd676ccf"},{"name":"Create Stream","id":"e2c7f725-3511-43db-a16f-fbe27ee6e82b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"source\": \"ipcaster/tsfiles/test.ts\",\n    \"endpoint\": {\n        \"ip\": \"172.17.0.1\",\n        \"port\": 50000\n    }\n}"},"url":"http://localhost:8080/api/streams","description":"<p>Creates a new stream and start sending it</p>\n<p><strong>Body</strong> Stream JSON object</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"source\": FILE,\n    \"endpoint\": {\n        \"ip\": TARGET_IP,\n        \"port\": TARGET_PORT\n    }\n}\n\n</code></pre>\n<p><strong>Required fields</strong></p>\n<p>String <strong>FILE</strong> Complete path of file to stream</p>\n<p>String <strong>TARGET_IP</strong> IPv4 ip of the endpoint</p>\n<p>Uint16 <strong>TARGET_PORT</strong> UDP destination port</p>\n<p><strong>Returns</strong> The new stream JSON object with its assignated <strong>Id</strong></p>\n<h2 id=\"example\">Example</h2>\n","urlObject":{"protocol":"http","path":["api","streams"],"host":["localhost:8080"],"query":[],"variable":[]}},"response":[{"id":"00c521f8-8248-4d7c-b3cc-ce4833dc1793","name":"Create Stream","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"source\": \"ipcaster/tsfiles/test.ts\",\n    \"endpoint\": {\n        \"ip\": \"172.17.0.1\",\n        \"port\": 50000\n    }\n}"},"url":"http://localhost:8080/api/streams"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"88"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"endpoint\": {\n        \"ip\": \"172.17.0.1\",\n        \"port\": 50000\n    },\n    \"id\": 0,\n    \"source\": \"ipcaster/tsfiles/test.ts\"\n}"}],"_postman_id":"e2c7f725-3511-43db-a16f-fbe27ee6e82b"},{"name":"Stop Stream","id":"4076a912-f7b6-44ff-a400-def2dabbf3eb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"url":"http://localhost:8080/api/streams/0","description":"<p>Stops a stream currently running in the service</p>\n<p>Uint32 <strong>streamId</strong> Id of the stream to stop</p>\n<p><strong>Returns</strong> If successful, this method returns an empty response body.</p>\n","urlObject":{"protocol":"http","path":["api","streams","0"],"host":["localhost:8080"],"query":[],"variable":[]}},"response":[{"id":"c9c3e074-3c2b-40e7-afcb-d22006688a71","name":"Stop Stream","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"url":"http://localhost:8080/api/streams/0"},"status":"OK","code":200,"_postman_previewlanguage":"plain","header":[{"key":"Content-Length","value":"0"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"4076a912-f7b6-44ff-a400-def2dabbf3eb"}],"event":[{"listen":"prerequest","script":{"id":"d8f2b1b4-ca77-4ebf-9259-d40cea570f55","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"fee4c540-a41d-462c-8e87-b040ab85a9da","type":"text/javascript","exec":[""]}}],"variable":[{"key":"url","value":"localhost:8080"},{"key":"streamId","value":"0","type":"string"}]}