C cheinan Member Dec 5, 2017 #1 Hello By using REST methods How do i get the real-time number of connects to a specific stream? Thanks Cheinan
Hello By using REST methods How do i get the real-time number of connects to a specific stream? Thanks Cheinan
Max Administrator Staff member Dec 5, 2017 #2 You can fetch current streams using REST API See methods: Code: /rest-api/stream/find_all /rest-api/stream/find https://flashphoner.com/docs/wcs5/wcs_docs/html/en/wcs-rest-api/index.html?examples.htm In JSON object in response - for stream from publisher Code: "published": true - for subscriber stream Code: "published": false Last edited: Dec 6, 2017
You can fetch current streams using REST API See methods: Code: /rest-api/stream/find_all /rest-api/stream/find https://flashphoner.com/docs/wcs5/wcs_docs/html/en/wcs-rest-api/index.html?examples.htm In JSON object in response - for stream from publisher Code: "published": true - for subscriber stream Code: "published": false