srs icon indicating copy to clipboard operation
srs copied to clipboard

proxy dockerfile

Open suzp1984 opened this issue 1 year ago • 0 comments

srs-proxy Docker image

  1. How to make a srs-proxy docker image?

docker build -t srs-proxy -f Dockerfile.proxy .

  1. How to run the proxy?

docker run --rm -it -p 1935:1935 -p 8080:8080 -p 1985:1985 -p 8000:8000/udp -p 10080:10080/udp -p 12025:12025 srs-proxy

Impl part of SRS http api proxy.

  1. /api/v1/clients oryx need this one to kickoff one stream, curl -X DELETE http://srs_ip:1985/api/v1/clients/[cid]
  2. /api/v1/streams
  3. /api/v1/raw oryx need this one to reload the config, curl -X GET http://srs_ip:1985/api/v1/raw?rpc=reload

suzp1984 avatar Sep 24 '24 03:09 suzp1984