{"id":19233762,"url":"https://github.com/ossrs/signaling","last_synced_at":"2025-04-21T04:33:27.028Z","repository":{"id":43325317,"uuid":"363542766","full_name":"ossrs/signaling","owner":"ossrs","description":"A demo WebRTC signaling for https://github.com/ossrs/srs","archived":false,"fork":false,"pushed_at":"2023-11-19T03:07:17.000Z","size":314,"stargazers_count":53,"open_issues_count":5,"forks_count":13,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-01T09:51:15.551Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ossrs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2021-05-02T01:31:25.000Z","updated_at":"2025-02-07T05:49:53.000Z","dependencies_parsed_at":"2023-11-11T05:27:31.392Z","dependency_job_id":"6415040e-d333-4509-bfe1-a4bd43c22610","html_url":"https://github.com/ossrs/signaling","commit_stats":null,"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ossrs%2Fsignaling","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ossrs%2Fsignaling/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ossrs%2Fsignaling/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ossrs%2Fsignaling/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ossrs","download_url":"https://codeload.github.com/ossrs/signaling/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249996261,"owners_count":21358098,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T16:11:45.580Z","updated_at":"2025-04-21T04:33:26.728Z","avatar_url":"https://github.com/ossrs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# signaling\n\nA demo WebRTC signaling for https://github.com/ossrs/srs\n\n## Usage\n\n[Run SRS](https://github.com/ossrs/srs/tree/4.0release#usage) in docker:\n\n```bash\ndocker run --rm --env CANDIDATE=$(ifconfig en0 inet| grep 'inet '|awk '{print $2}') \\\n  -p 1935:1935 -p 8080:8080 -p 1985:1985 -p 8000:8000/udp \\\n  registry.cn-hangzhou.aliyuncs.com/ossrs/srs:4 \\\n  objs/srs -c conf/rtc.conf\n```\n\n\u003e Note: More images and version is [here](https://cr.console.aliyun.com/repository/cn-hangzhou/ossrs/srs/images).\n\nRun signaling in docker:\n\n```bash\ndocker run --rm -p 1989:1989 registry.cn-hangzhou.aliyuncs.com/ossrs/signaling:1\n```\n\n\u003e Note: More images and version is [here](https://cr.console.aliyun.com/repository/cn-hangzhou/ossrs/signaling/images). \n\nOpen the H5 demos:\n\n* [WebRTC: One to One over SFU(SRS)](http://localhost:1989/demos/one2one.html?autostart=true)\n\n## Build from source\n\nBuild and [run SRS](https://github.com/ossrs/srs/tree/4.0release#usage):\n\n```bash\ncd ~/git \u0026\u0026 git clone -b 4.0release https://gitee.com/ossrs/srs.git srs \u0026\u0026\ncd ~/git/srs/trunk \u0026\u0026 ./configure \u0026\u0026 make \u0026\u0026 ./objs/srs -c conf/rtc.conf\n```\n\nBuild and run signaling:\n\n```bash\ncd ~/git/srs/trunk/3rdparty/signaling \u0026\u0026 make \u0026\u0026 ./objs/signaling\n```\n\nOpen demos by localhost: http://localhost:1989/demos\n\nBuild and run httpx-static for HTTPS/WSS:\n\n```bash\ncd ~/git/srs/trunk/3rdparty/httpx-static \u0026\u0026 make \u0026\u0026\n./objs/httpx-static -http 80 -https 443 -ssk server.key -ssc server.crt \\\n    -proxy http://127.0.0.1:1989/sig -proxy http://127.0.0.1:1985/rtc \\\n    -proxy http://127.0.0.1:8080/\n```\n\nOpen demos by HTTPS or IP:\n\n* http://localhost/demos/\n* https://localhost/demos/\n* https://192.168.3.6/demos/\n\nWinlin 2021.05\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fossrs%2Fsignaling","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fossrs%2Fsignaling","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fossrs%2Fsignaling/lists"}