Retrieve detailed information about a specific stream, including publisher details (audio/video codecs, bitrate, resolution) and subscriber information. You can filter the results by providing an identifier and optionally a uuid.
- If both
identifier and a subscriber's uuid are provided, only that specific subscriber's data is returned. - If both
identifier and the publisher's uuid are provided, all subscriber information is filtered out of the response.
# Query a specific stream and a specific subscriber
curl -X POST -H "Content-Type: application/json" -d '{
"identifier": {
"rtmp": {
"app_name": "live",
"stream_name": "source"
}
},
"uuid": "17105458497472"
}' http://localhost:8000/api/query_stream