NOETA: Support HTTP API to kickoff stream
You can directly call SRS HTTP API, via SRS Stack:
curl -v -X DELETE https://test.com/api/v1/clients/id
However, it can only operate based on ID. Meanwhile, SRS Stack enables operation according to stream names or room names.
For George
Support in v5.14.16, API: Support kickoff stream by name. v5.14.16
/terraform/v1/mgmt/streams/queryQuery the active streams./terraform/v1/mgmt/streams/kickoffKickoff the stream by name.
- Now
/terraform/v1/mgmt/streams/kickoffsupports name query - But
/terraform/v1/mgmt/streams/querydoes not support name query
The business side implements signaling by itself and needs to determine the existence of the stream by name
https://github.com/ossrs/oryx/blob/77e6ee8b549686640c5cc36a3e5691b470f86dbd/platform/service.go#L1562 https://github.com/ossrs/oryx/blob/77e6ee8b549686640c5cc36a3e5691b470f86dbd/platform/service.go#L1612
Make sense. Need to support /query filter by names.
Make sense. Need to support
/queryfilter by names.
I submitted a PR. You can take a look if you have time. https://github.com/ossrs/oryx/pull/210