Skip to main content

GET : API to Get Currently Broadcasting Rooms


GET
    https://<appname>.metered.live/api/v1/realtimelivestreaming/rooms/broadcasting

<appname> - replace it the name of your app.

Description

This endpoint list all the rooms that are currently broadcasting.

Parameters

ParametersDescriptionRequiredOptions
Query
secretKeystringyour secret keyyes-

Request Samples

cURL
curl --request GET \
--url https://yourapp.metered.live/api/v1/realtimelivestreaming/rooms/broadcasting?secretKey={replace_this_with_your_secretKey} \
--header 'Accept: application/json'

Responses

200
[{
"_id": "6104093bb01b5311ee818280",
"app": "6071e1de0a0218674134a24e",
"room": {
"_id": "60eef8020e3b10094cf4c9de",
"privacy": "public",
"deleteOnExp": false,
"autoJoin": false,
"enableKnocking": false,
"enableChat": true,
"enableScreenSharing": true,
"joinVideoOn": true,
"joinAudioOn": true,
"ownerOnlyBroadcast": false,
"enableRecording": false,
"ejectAtRoomExp": true,
"ejectAfterElapsedTimeInSec": 0,
"lang": "en",
"archived": false,
"roomName": "eject-test",
"app": "6071e1de0a0218674134a24e",
"created": "2021-07-14T14:43:14.578Z",
"expireUnixSec": null,
"notBeforeUnixSec": null
},
"startTime": 1627654459,
"state": "active"
}]
400

{
"success": false,
"message": "Invalid request"
}