Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

proxy dockerfile #4184

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from
Open

Conversation

suzp1984
Copy link
Contributor

@suzp1984 suzp1984 commented Sep 24, 2024

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

@winlinvip winlinvip added the EnglishNative This issue is conveyed exclusively in English. label Sep 24, 2024
@suzp1984 suzp1984 force-pushed the script/add-proxy-docker branch 2 times, most recently from ae6d8fc to 71d6b73 Compare September 25, 2024 15:08
@suzp1984 suzp1984 marked this pull request as ready for review October 30, 2024 07:40
e.g. []API := { "127.0.0.1:19851" }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
EnglishNative This issue is conveyed exclusively in English.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants