Loading...
The datarhei Core includes a simple RTMP server for publishing and playing streams. Check out the RTMP configuration and the RTMP guide. This API endpoint will list the names of all currently publishing streams.
curl http://127.0.0.1:8080/api/v3/rtmp \ -H 'accept: application/json' \ -X GET
from core_client import Client client = Client( base_url="http://127.0.0.1:8080" ) client.login() core_rtmp = client.v3_rtmp_get() print(core_rtmp)
import ( "fmt" "github.com/datarhei/core-client-go/v16" ) client, _ := coreclient.New(coreclient.Config{ Address: "https://127.0.0.1:8080", }) channels, err := client.RTMPChannels() fmt.Printf("%+v\n", channels)
List all currently publishing RTMP streams.
OK
const response = await fetch('//api/v3/rtmp', { method: 'GET', headers: {}, }); const data = await response.json();
[ { "name": "text" } ]