This section will cover additional methods for working with Callaba streaming API nodes. For production ingest and monitoring, see continuous streaming. For playback integration and analytics, use video api. Recommended product path: Ingest & route, Player & embed., and scaling guide. For implementation details, continue with Working with RTMP protocol Callaba Engine and Working with SRT protocol Callaba Engine. For implementation details, continue with Create, edit, start and delete SRT Server or Gateway using Callaba Cloud and How to set up CloudFront on AWS and optimize data transfer.
Returns a JSON object with parameters.
curl -X 'POST' \'http://1.2.3.4/api/utils/getStat' \-H 'accept: application/json' \-H 'x-access-token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjYyMGJlYjA2MTM3YmIzMDAyYzhmNjAwYSIsImlhdCI6MTY0NzM2NDM3NSwiZXhwIjoxNjQ5OTU2Mzc1fQ.gScR-FPsfmsFvFW59eCH4-jThF2qcZ-2QYKwlN_wswE' \-H 'Content-Type: application/json' \-d ''
{"cpuUsage": 11.76,"drive": {"totalGb": "88.0","usedGb": "44.6","freeGb": "43.4","usedPercentage": "50.7","freePercentage": "49.3"},"RAM": {"totalMemMb": 15904.04,"usedMemMb": 9855.47,"freeMemMb": 6048.57,"usedMemPercentage": 61.97,"freeMemPercentage": 38.03}}
Returns data on outgoing and incoming network bandwidth.
curl -X 'POST' \'http://1.2.3.4/api/utils/speedtest' \-H 'accept: application/json' \-H 'x-access-token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjYyMGJlYjA2MTM3YmIzMDAyYzhmNjAwYSIsImlhdCI6MTY0NzM2NDM3NSwiZXhwIjoxNjQ5OTU2Mzc1fQ.gScR-FPsfmsFvFW59eCH4-jThF2qcZ-2QYKwlN_wswE' \-H 'Content-Type: application/json' \-d ''
{"timestamp":"2022-03-15T17:51:30.000Z","ping": {"jitter":12.785,"latency":99.965},"download": {"bandwidth":274653,"bytes":2490572,"elapsed":9407},"upload":{"bandwidth":244916,"bytes":1465282,"elapsed":6007},"packetLoss":0,"isp":"London ISP","interface":}
Get a list of ports used by the Callaba Engine.
Returns an array of objects containing the properties:
curl -X 'POST' \'http://1.2.3.4/api/utils/getUsedPorts' \-H 'accept: application/json' \-H 'x-access-token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjYyMGJlYjA2MTM3YmIzMDAyYzhmNjAwYSIsImlhdCI6MTY0NzM2NDM3NSwiZXhwIjoxNjQ5OTU2Mzc1fQ.gScR-FPsfmsFvFW59eCH4-jThF2qcZ-2QYKwlN_wswE' \-H 'Content-Type: application/json' \-d ''
[{"port": 1935,"transport": "UDP"},{"port": 1945,"transport": "TCP"}]