RTMP
curl http://127.0.0.1:8080/api/v3/rtmp \
-H 'accept: application/json' \
-X GETfrom 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)Last updated
Was this helpful?
