ossrs/oryx

NOETA: Support HTTP API to kickoff stream

winlinvip opened this issue · 3 comments

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/query Query the active streams.
  • /terraform/v1/mgmt/streams/kickoff Kickoff the stream by name.
  • Now /terraform/v1/mgmt/streams/kickoff supports name query
  • But /terraform/v1/mgmt/streams/query does not support name query

The business side implements signaling by itself and needs to determine the existence of the stream by name

ep := "/terraform/v1/mgmt/streams/query"

ep := "/terraform/v1/mgmt/streams/kickoff"

Make sense. Need to support /query filter by names.

Make sense. Need to support /query filter by names.

I submitted a PR. You can take a look if you have time.
#210